gcc 3.2 64 bit compiler error

Ziying Sherwin sherwin@lhc.nlm.nih.gov
Wed Oct 23 12:35:00 GMT 2002


We recently built and installed gcc 3.2 64bit compiler. It works fine with any
programs that requires 64 bits compiler. However, we kept getting the following
error messages when we tried to build normal applications:

gcc -pipe   -o expect exp_main_exp.o libexpect5.38.a -L/depot/package/tcl_8.3.1/lib -ltcl8.3  -ldl  -lsocket -lnsl -lpthread -lm -Wl,-R,/depot/package/expect_5.38/vendor/lib:/depot/package/tk_8.3.1/lib:/depot/package/tcl_8.3.1/lib:/usr/openwin/lib
ld: fatal: file /depot/package/tcl_8.3.1/lib/libtcl8.3.so: wrong ELF class: ELFCLASS32
ld: fatal: File processing errors. No output written to expect
collect2: ld returned 1 exit status

Any suggestions? Thanks.  I am not on the gcc mailing list, please send your response to sherwin@nlm.nih.gov.

Ziying Sherwin



More information about the Gcc-help mailing list