Again: 'C compiler cannot create executables'
Felix Leditzky
felix.l@gmx.net
Mon Apr 14 15:52:00 GMT 2003
This problem is encountered very often I think, but I didn't find a
solution to my case.
I was trying to compile wxPython-2.4.0.7, but during the ./configure
step the program stopped saying that the C compiler (gcc) doesn't work
and that it cant create executables.
Running the command gcc -v [file] with a little 'hello-world' program
gives the following lines:
'Reading specs from /usr/lib/gcc-lib/i386-linux/3.2.3/specs
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f77,proto,pascal,objc,ada --prefix=/usr
--mandir=/usr/share/man --infodir=/usr/share/info
--with-gxx-include-dir=/usr/include/c++/3.2 --enable-shared
--with-system-zlib --enable-nls --without-included-gettext
--enable-__cxa_atexit --enable-clocale=gnu --enable-java-gc=boehm
--enable-objc-gc i386-linux
Thread model: posix
gcc version 3.2.3 20030309 (Debian prerelease)
/usr/lib/gcc-lib/i386-linux/3.2.3/collect2 --eh-frame-hdr -m elf_i386
-dynamic-linker /lib/ld-linux.so.2
/usr/lib/gcc-lib/i386-linux/3.2.3/../../../crt1.o
/usr/lib/gcc-lib/i386-linux/3.2.3/../../../crti.o
/usr/lib/gcc-lib/i386-linux/3.2.3/crtbegin.o
-L/usr/lib/gcc-lib/i386-linux/3.2.3
-L/usr/lib/gcc-lib/i386-linux/3.2.3/../../.. hello -lgcc -lgcc_eh -lc
-lgcc -lgcc_eh /usr/lib/gcc-lib/i386-linux/3.2.3/crtend.o
/usr/lib/gcc-lib/i386-linux/3.2.3/../../../crtn.o
collect2: ld terminated with signal 11 [Segmentation fault], core dumped'
well, that's a bunch of messages and it's kinda hard for me to look through.
Any idea what gcc is trying to tell me, and how it can be solved so that
I'm able to compile source code?
thanks, Felix
More information about the Gcc-help
mailing list