Hi, I have an error in one application that compiles perfectly with ia32 but doesn't with amd64. It's a Qt aplication and I have realized that the qmake spec has the -fPIC option activated, but when the linker has to do their job, it gives this error. Someone have some idea bout what is happening? Best regards, Leo rm -f libestadisticas.so g++ -shared -o libestadisticas.so .obj/estadisticasview.o .obj/resmensualview.o .obj/pluginestadisticas.o .obj/estadisticasdlg.o .obj/resmensualdlg.o .obj/moc_estadisticasview.o .obj/moc_resmensualview.o .obj/moc_pluginestadisticas.o .obj/moc_estadisticasdlg.o .obj/moc_resmensualdlg.o -L/usr/share/qt3/lib -lqt-mt -lpq -rdynamic estadisticas/libestadisticas.lib.a -lqt-mt /usr/bin/ld: estadisticas/libestadisticas.lib.a(tolinechart.o): relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC estadisticas/libestadisticas.lib.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[2]: *** [../../../installbulmages/plugins/libestadisticas.so] Error 1 make[2]: Leaving directory `/home/leo/linux/debian/bulmages/wrk-berlios/trunk/bulmages/fuentes/src/pluginestadisticas' make[1]: *** [sub-src-pluginestadisticas] Error 2 make[1]: Leaving directory `/home/leo/linux/debian/bulmages/wrk-berlios/trunk/bulmages/fuentes' make: *** [sub-fuentes] Error 2 -- Linux User 152692 Catalonia
Attachment:
pgpLMgLjgEQHf.pgp
Description: PGP signature