Linking error on x86_64

Andras Mantia amantia at
Mon Jul 17 18:39:11 BST 2006


 Currently kdevelop fails to compile for me on x86_64. The error is:
Linking CXX shared module ../../../lib/
/usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld: /data/home/andris/development/build/kde-trunk/kdevelop/lib/libCMakeLib.a(cmCustomCommand.o): 
relocation R_X86_64_32 against `a local symbol' can not be used when 
making a shared object; recompile with -fPIC
could not read symbols: Bad value
collect2: ld returned 1 exit status

Is this a visibility related bug of compiler I remember of (g++ (GCC)
4.1.0 (SUSE Linux)), or related to static libraries linked with shared 
ones?? In either way, what is the correct fix for such an error?


Quanta Plus developer -
K Desktop Environment -
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <>

More information about the kde-core-devel mailing list