perl-Qt a -fPIC
Andrzej Krzysztofowicz
ankry w green.mif.pg.gda.pl
Pią, 19 Lut 2010, 13:24:13 CET
Sytuacja wyglada tak:
...
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... no
...
Writing smokedata.cpp...
...
if /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++
-DHAVE_CONFIG_H -I. -I. -I../.. -I./.. -I/usr/local/kde/include
-I/usr/include/qt -I. -DQT_THREAD_SUPPORT -D_REENTRANT
-Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith
-Wmissing-prototypes -Wwrite-strings -O2 -fno-exceptions
-fno-check-new -fno-common -MT smokedata.lo -MD -MP -MF
".deps/smokedata.Tpo" \ -c -o smokedata.lo `test -f 'smokedata.cpp'
|| echo './'`smokedata.cpp; \
then mv ".deps/smokedata.Tpo" ".deps/smokedata.Plo"; \
else rm -f ".deps/smokedata.Tpo"; exit 1; \
fi
...
/usr/bin/ld: .libs/smokedata.o: relocation R_X86_64_32S against .rodata' can
not be used when making a shared object; recompile with -fPIC
.libs/smokedata.o: could not read symbols: Bad value
Any hints jak to ugryzc?
--
=======================================================================
Andrzej M. Krzysztofowicz ankry w mif.pg.gda.pl
Więcej informacji o liście dyskusyjnej pld-devel-pl