kdelibs4_snapshot (latest) compile problem

Benjamin Schindler config at gentoo.org
Wed Jan 18 18:42:47 GMT 2006


Hi

I have an odd error, that I cannot compile latest kdelibs4_snapshot. The error 
message follows:


/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: 
warning: creating a DT_TEXT
REL in object.
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: ./kdecore/.libs/kglobal.o:
relocation R_X86_64_PC32 against `KGlobal::_locale' can not be used when 
making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: 
final link failed: Bad value
collect2: ld returned 1 exit status
Error creating ./kdecore/libkdecore.la. Exit status 1.


Now, I've checked that all the cpp files are compiled with -fPIC - and it all 
looks fine. However, I found out the following: this error does not happen, 
if I don't use --enable-debug when ./configure. I've tried to debug the 
problem but thus far failed fix this. This is on an amd64 machine running 
gentoo.

Thanks,
Benjamin Schindler

P.s. Please CC me since I'm not subscribed to this list




More information about the kde-core-devel mailing list