kdevplatform tries to link a static lib into a shared lib...
David Faure
faure at kde.org
Mon Aug 13 14:29:47 UTC 2007
... and that doesn't work, in particular on x86_64.
Linking CXX shared module ../../lib/kdevteamwork.so
/usr/bin/ld: /d/kde/build/4/kdevplatform/lib/libnetwork.a(message.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/d/kde/build/4/kdevplatform/lib/libnetwork.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [lib/kdevteamwork.so] Error 1
make[1]: *** [plugins/teamwork/CMakeFiles/kdevteamwork.dir/all] Error 2
make: *** [all] Error 2
makeobj[0]: Leaving directory `/d/kde/build/4/kdevplatform'
libnetwork.a seems to be used only from plugins/teamwork/CMakeLists.txt, how about
referencing the libnetwork files from there? Possibly using a var that is set by plugins/teamwork/CMakeLists.txt
like we do in koffice/kdgantt/CMakeLists.txt.
Or using a real shared library.
--
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
More information about the KDevelop-devel
mailing list