Linking error on x86_64
Andras Mantia
amantia at kde.org
Mon Jul 17 18:39:11 BST 2006
Hi,
Currently kdevelop fails to compile for me on x86_64. The error is:
Linking CXX shared module ../../../lib/kdevcmakeimporter.so
/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
/data/home/andris/development/build/kde-trunk/kdevelop/lib/libCMakeLib.a:
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?
Andras
--
Quanta Plus developer - http://quanta.kdewebdev.org
K Desktop Environment - http://www.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060717/895c6110/attachment.sig>
More information about the kde-core-devel
mailing list