link error with gold in kdebase

Tobias Koenig tokoe at kde.org
Sun May 30 15:53:38 BST 2010


Hej,

since the recent changes to nepomuk, kdebase doesn't compile any longer
with gold linker:

Linking CXX shared module ../../../../lib/nepomukfilewatch.so
/usr/bin/ld: warning: hidden symbol 'DBusConnectionPool::threadConnection()' in CMakeFiles/nepomukfilewatch.dir/__/__/common/dbusconnectionpool.o is referenced by DSO /opt/kde-trunk/lib/libnepomukquery.so
/usr/bin/ld: error: treating warnings as errors
collect2: ld returned 1 exit status
make[2]: *** [lib/nepomukfilewatch.so] Error 1
make[1]: *** [runtime/nepomuk/services/filewatch/CMakeFiles/nepomukfilewatch.dir/all] Error 2
make: *** [all] Error 2

Any idea how to fix it?

Ciao,
Tobias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20100530/a6214dc1/attachment.sig>


More information about the kde-core-devel mailing list