Is this a cause for conflicts between gcc 3 and gcc 4. If so how do i rectify the same? I have compat-ltdc++ installed. Similar errors are sure to follow during the compilation process.
i have a minimal ubuntu desktop and i'm trying to install the latest nvidia driver (downloaded from their website) and i got the following error:
Quote:
/tmp/selfgz2431/NVIDIA-Linux-x86_64-256.53/kernel/nv.c: At top level: /tmp/selfgz2431/NVIDIA-Linux-x86_64-256.53/kernel/nv.c:426:5: error: unknown field �ioctl� specified in initializer /tmp/selfgz2431/NVIDIA-Linux-x86_64-256.53/kernel/nv.c:426:5: warning: initialization from incompatible pointer type
[code]....
i had to apt-get even gcc and make, so i'm probably missing some required package...
I want to use vfprintf with the char * on 64-bit. Here is the sample code:
[Code]...
In this code, I am getting warning: passing argument 3 of vfprintf from incompatible pointer type I have done sizeof(va_list) on 64-bit, and its 24 bytes. I don't know how am I suppose to use the va_list this way.
I just loaded octave. I ran through a few examples of how to implement a script file. Everything works until I get to "plot". When I run the "plot" command I get the following.
octave:2> test1.m error: can't perform indexing operations for <unknown type> type sh: gnuplot: not found Just to double check my work, I ran the following code: y=[1 2 3]; plot(y);
It is known and well described in C++ standard ('C++ Standard - ANSI ISO IEC 14882 2003.pdf') that under certain circumstances types are promoted - for example, 'int' is promoted to 'double'.My design goal is to create wrappers around standard scalar types (like 'double', 'float', 'long', etc.) that would prevent such conversions/promotions, i.e. I want to create a really strictly typed C++ environment (like, say, OCaml).
However, the promotion is caught at runtime.Is there a way in C++ to catch/block such promotions/conversion at compile time ?
I have Red Hat Enterprise 5 and am trying to resize a partition. I am using the resize command within "parted" and am getting the following error - Error: File system has an incompatible feature enabled.
I was following a simple tutorial on how to program and compile a hello world program using assembly when I got this error;Quote:ld: i386 architecture of input file `hello.o' is incompatible with i386:x86-64 output.The tutorial told me to make two files;Quote:hello.asmsection .data;section declaration
msg db "Hello, world!",0xa;our dear string len equ $ - msg ;length of our dear string section .text;section declaration
Trying to run Sauerbraten and Frozen-Bubble on Slackware 13.1 - I get sauerbraten:
Code: libpng warning: Application was compiled with png.h from libpng-1.4.2 libpng warning: Application is running with png.c from libpng-1.2.43 libpng error: Incompatible libpng version in application and library frozen-bubble:
Code: libpng warning: Application was compiled with png.h from libpng-1.4.2 libpng warning: Application is running with png.c from libpng-1.2.43 libpng error: Incompatible libpng version in application and library
I've tried recompiling the libpng 1.4.2 package with the ln -sf libpng.so.3 libpng.so.0 uncommented from the Slackbuild script, and recompiled gd, and still haven't had any success.
I'm trying to make some pages. For this I try to host them locally. However, when I have an error in my PHP code, the server shows an internal error 500 page and doesn't show on what line and what compile error it encountered. There is no such information in the error log either. What should I do about it, it's not really nice to comment all the lines and then try to uncomment them one by one. I've been googling for a while, but didn't find anything.. I forgot to mention, I;m using Fedora :P, the apache that came with it and mysql and php from the repository...
i have Ubuntu10.10 (kernel-2.6.35-22-generic) installed. struct stat StatBuff;
[Code]...
I have mounted a windows share folder on /mnt. When i gave any directory within /mnt/ to stat function it fails with errorno 75. perror shows "Value too large for defined data type". Example 1 is fail but Example 2 works fine.
I have installed both Windows Xp and Fedora 12. Last time when i was working on Fedora it didn't shut down properly. Now following error occurs and finally the system sleeps.
ata1.00 : exception Emask 0x0 Sact 0x0 SErr 0x0 action 0x0 ata1.00 : BMDMA stat 0x25 ata1.00 : cmd c8/00:00:50:5a:34/00:00:00:00:00/e4 tag 0 dma 131072 1n res 51/40:7f:d1:5a:34//00:00:00:00:00/e4 Emask 0x9 (media error) ata1.00 : status : { DRDY ERR } ata1.00 : err : { UNC } end_request: I/O error, dev sda, sector 70539985 JBD : Failed to read block at offset 5884 EXT4-fs(sda): error loading journal mount: wrong fs type, bad option, bad superblock on /dev/sda8, codepage or helper program, or other error In some case useful info is found in syslog-ty dmesg | tail or so
I am doing the DNS configuration for the first time. Error in named configuration:
zone localdomain/IN: loaded serial 42 zone localhost/IN: loaded serial 42 zone 0.0.127.in-addr.arpa/IN: loaded serial 1997022700 file1:9: unknown RR type 'example.com.' file1:11: unknown RR type 'red.exmple.com.' zone example.com/IN: loading master file file1: unknown class/type [Code]....
When I try to compile it get there errors: [URL].... compiling with: gcc -v execv.c -o hola I already installed build-essential, what could be happening with my gcc compiler? this is my code, as you can see it's not complex
A colleague had troubles with a DVD that contains valuable data, no further backup available. The DVD won't run and I am trying to fix it. Have been playing around on Mac, Windows and Linux successively.
On Mac Mac shows this message in Toast Titanium 10: but Finder keeps telling it is an empty disc, no way to get to the files.
On Windows Windows 7 in VMWare is not of any help.
On Linux Just installed Ubuntu 11.04 (in VMWare) and did some checks using info on this forum. When trying to mount the disc, this is the error message. Then I used fdisk on the volume (/dev/sr0) and tried fsck. I downloaded UDFTools but cannot find any repair option like udffsck as described in this thread by the last author.
I am running out of inspiration... there are clearly data on the disc, which can be seen by just looking at its surface, but also the info on Mac. However, there might be some bad sector size in the partition table which renders it unreadable. How to recover these data?
I'm a C / assembler programmer so am not use to C++, which I need to use. Basically I'm using my own versions of memcpy, but for long and int rather than char. It's for fast graphics. So I have a char array which I copy to another array. But I copy as either longs or ints, much faster. for example
running ubuntu 11.04 and trying to compile vlc 1.2 from git. ran apt-get build-dep vlc, git for the vlc source, bootstraped fine, the error is on configure
ran ./configure --enable-x264 and got the error
Quote:
configure: error: Package requirements (xcb-composite) were not met:
I have this below from a mesa git 20101002, and from the 7.9_rc2 tarball.
Code:
It isn't the only error. I get one about trying to make before make depend, but if I hit up arrow and return, it's gone. This one is persistent.
The issues on configure were libtalloc and libdrm. I have the libdrm .pc files copied from another box in /usr/lib/pkgconfig. talloc I just made, giving it the samba version number. configure passes with no variables passed to it. I am not passing /usr/include to this at any time. It doesn't show in the Makefile afaict.
tty-clock won't compile for me. I'm probably missing something simple, I've never really compiled anything from source that I didn't write do I'm not sure how to do this. Here's the error:
I am using an external USB keyboard to my laptop. Suddenly (after using this keyboard for 6 months), some randomly times I need to press the button 6-7 times before something appears on screen. This happens randomly, I may be able to type a whole paragraph without problem, and suddenly I can't type anymore for few seconds. My system is opensuse 11.3 and it happened last friday 9/10 ( if it is related to any update). I tested the keyboard to another pc and it is working. I tested another keyboard to my laptop and I still have the same problem.
On a fresh install of Fedora 12: I am trying to do a software update and keep getting these errors. I am new to Fedora but have used Ubuntu for some time. An Internal system error has occurred:
Under more details it states:
Error Type: <class 'yum.Errors.RepoError'> Error Value: Error getting repository data for installed, repository not found File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 3125, in <module> main() File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 3122, in main
I am building centos - debian dual boot system. Each os has separate boot partition, both ext3. Installed Centos 5.5 x86 with grub into MBR. Installed debian 5.0.4 x86 with no boot loader. Added debian to centos boot partitions grub.conf
Centos boots fine. When I tried to boot debian I got grub error: Code: Error 2: Bad file or directory type
Grub's command line auto compledion didn't work on debians boot partition - looks like it does't recognize that partition as ext3 (but when I booted centos and tried to mount debian boot partiotion - no problem it mounted ). And this is not single fs corruption - after another debian reinstallation the problem remained. Anyway recreating that fs using "mke2fs -j /dev/sdxx" solved the problem.
I'm trying to mount hg2.iso, the Heavy Gear 2 iso image that I converted from hg2.nrg using nrg2iso, and this is what I keep getting: Code: bash-3.1# mount -o loop -t iso9660 hg2.iso /mnt/iso mount: wrong fs type, bad option, bad superblock on /dev/loop0, missing codepage or helper program, or other error In some cases useful info is found in syslog - try demsg | tail or so