mcl i problem z linkerem na amd64

Maciej 'Agaran' Pijanka agaran w pld-linux.org
Czw, 16 Cze 2005, 11:25:05 CEST


gcc -s -shared o/plugins/PerlEmbeddedInterpreter.o -o o/plugins/perl.so
-rdynamic
-Wl,-rpath,/usr/lib64/perl5/5.8.6/amd64-pld-linux-thread-multi/CORE
/usr/lib64/perl5/5.8.6/amd64-pld-linux-thread-multi/auto/DynaLoader/DynaLoader.a
-L/usr/lib64/perl5/5.8.6/amd64-pld-linux-thread-multi/CORE -lperl -ldl
-lm -lpthread -lc -lcrypt -lpthread
/usr/bin/ld: o/plugins/PerlEmbeddedInterpreter.o: relocation R_X86_64_32
against `a local symbol' can not be used when making a shared object;
recompile with -fPIC
o/plugins/PerlEmbeddedInterpreter.o: could not read symbols: Bad value
collect2: ld returned 1 exit status


ktoś ma pomysł z czym jest problem?
albo raczej jak naprawic.



-- 
agaran at pld dash linux dot org :: PLD Linux Developer [#13316]
I do not fear computers. I fear the lack of them. [Isaac Asimov]



Więcej informacji o liście dyskusyjnej pld-devel-pl