link error in some kioslaves in kdebase

David Faure faure at kde.org
Wed Aug 22 11:36:11 CEST 2007


On Tuesday 21 August 2007, Bernhard Breinbauer wrote:
> -target_link_libraries(kcm_media    ${KDE4_KDE3SUPPORT_LIBS})
> +target_link_libraries(kcm_media ${KDE4_KDE3SUPPORT_LIBS} ${KDE4_KDECORE_LIBS})

This shouldn't be necessary. kde3support depends on kdecore, so kdecore is supposed to be mentionned in KDE4_KDE3SUPPORT_LIBS.
If it's not, then it's a bug in kdelibs/cmake/modules/, please investigate there.

Plus I'm quite surprised because the first link error is 
undefined reference to `KCModule::qt_metacast(char const*)'
which comes from kdeui, not from kdecore...

-- 
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 Kde-buildsystem mailing list