g++ doesnt work, help?
Aristide Aragon
aristide@lionking.org
Mon Feb 14 14:45:00 GMT 2000
Hello
I have the following system:
SuSE Linux (Intel) 6.3
It includes:
gcc 2.7.2.3-63, gpp 991012-3, libcpp same version and kernel 2.2.13
My gcc (or g++) doesnt compile. The first thing I noticed weird is that if I type
cc something.C
it says it doesnt recognize the file format, my older Linuces did. Then I tried g++ in a simple file that only contained a main with no instructions but a return(0); and that included the file iostrem.h and I go errors in iostream, here they are:
g++ file.C
In file included from /usr/lib/g++-include/iostream.h:31,
from file.C:1:
/usr/lib/g++-include/streambuf.h:403: warning: invalid type `void *' for default argument to `ios *'
In file included from file.C:1:
/usr/lib/g++-include/iostream.h:50: warning: invalid type `void *' for default argument to `ostream *'
/usr/lib/g++-include/iostream.h:123: warning: invalid type `void *' for default
argument to `ostream *'
/usr/lib/g++-include/iostream.h:231: warning: invalid type `void *' for default
argument to `ostream *'
/usr/i486-linux/bin/ld: cannot open crtbegin.o: No such file or directory
I also installed KDevelop 1.0 eta 3, in the tests it makes it says the C++ compiler doesnt make executables.
Anyone can help? Please?
Thanks in advance
Aristide Aragon
PS.- I'm not sure if ths is a mailing list or something, but in case it is I'm not subscribed, I'd appreciate replies to go to my address aristide@lionking.org rather than to the list.
Thank you
More information about the Gcc-bugs
mailing list