[csw-users] GCC 4.3.3 problems

Jens Langner J.Langner at fzd.de
Fri May 15 15:57:16 CEST 2009


Hi,

after having updated to the latest GCC 4.3.3 packages which are now in
unstable I found my applications not to link properly anymore. See the
output of the linker:

-- cut here --
g++ -s -Wl,-R,/usr/local/Trolltech/Qt-4.5.0/lib -o ../bin/lmSorter
.obj/main.o .obj/CSorterApplication.o .obj/moc_CSorterApplication.o
-L/usr/sfw/lib -L/usr/local/Trolltech/Qt-4.5.0/lib ../lib/libmedlm.a
-L/usr/sfw/lib -L/usr/local/Trolltech/Qt-4.5.0/lib
/usr/local/petlib/lib/libmedio.so.2 -L/usr/local/petlib/lib
-L/usr/local/lib -L/opt/csw/lib -lmtrack -lgsl -lgslcblas -lncurses
-lQtXml -lQtCore -lz -lm -liconv -lpthread -lrt -ldl
Undefined                       first referenced
 symbol                             in file
_ZNSo9_M_insertIdEERSoT_            .obj/CSorterApplication.o
_ZNSo9_M_insertImEERSoT_            .obj/CSorterApplication.o
_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_i
.obj/CSorterApplication.o
ld: fatal: Symbol referencing errors. No output written to ../bin/lmSorter
make[1]: *** [../bin/lmSorter] Error 1
-- cut here --

By downgrading to the old 4.0.2 packages everything works as expected
and the linker is able to pack the application together properly. Please
note that this is an C++ application and that it compiles fine with GCC
4.3.3 versions under Linux/x64_64 while it the link doesn't work here on
the Solaris10/SPARC machine. Here is the uname output:

SunOS ulla 5.10 Generic_138888-08 sun4u sparc SUNW,Sun-Fire-480R Solaris

regards,
jens
-- 
Jens Langner                                         Ph: +49-351-2602757
Forschungszentrum Dresden-Rossendorf e.V.
Institute of Radiopharmacy - PET Center                 J.Langner at fzd.de
Germany                                               http://www.fzd.de/



More information about the users mailing list