[Digikam-devel] svn build fails with undefined reference to libkdecore

Martin Klapetek martin.klapetek at gmail.com
Sun Sep 26 15:42:59 BST 2010


You need to add the suggested lib (kdecore) into lensfun CMakeLists. I
think. I solved a few of these in digikam already (as I'm also on F13, I'll
update my local copy and see what I can do about it and I'll commit a fix.

By the way, this is the 1.5.0 branch or 2.0 branch?

Marty

On Sun, Sep 26, 2010 at 16:34, sean darcy <seandarcy2 at gmail.com> wrote:

> The build fails on Fedora 13. AFAICS, the problem is that Fedora now
> doesn't permit implied linking. See:
>
> http://fedoraproject.org/wiki/UnderstandingDSOLinkChange
>
> But how do I explicitly tell digikam to link with kdecore?
>
> sean
>
> Updated to revision 1179907
>
> /usr/lib64/ccache/c++   -O3  -march=native -mtune=native -fopenmp
> -msse4.1 -mfpmath=sse -ftree-vectorize  -Wnon-virtual-dtor
> -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W
> -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS
> -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics
> -fvisibility=hidden -fvisibility-inlines-hidden -O2 -DNDEBUG
> -DQT_NO_DEBUG  -Wl,--enable-new-dtags
> CMakeFiles/testlensfuniface.dir/testlensfuniface_automoc.o
> CMakeFiles/testlensfuniface.dir/testlensfuniface.o  -o testlensfuniface
> -rdynamic -L/usr/lib64/kde4/devel
> -L/home/photo/rpmbuild/BUILD/digikam/x86_64-redhat-linux-gnu/lib
> ../../../../lib/libdigikamcore.so.1.0.0 /usr/lib64/libQtCore.so
> -lpthread /usr/lib64/libQtGui.so
>
> -Wl,-rpath,/usr/lib64/kde4/devel:/home/photo/rpmbuild/BUILD/digikam/x86_64-redhat-linux-gnu/lib
>
> /usr/bin/ld: CMakeFiles/testlensfuniface.dir/testlensfuniface.o:
> undefined reference to symbol 'KDebug::hasNullOutput(QtMsgType, bool,
> int, bool)'
> /usr/bin/ld: note: 'KDebug::hasNullOutput(QtMsgType, bool, int, bool)'
> is defined in DSO /usr/lib64/libkdecore.so.5 so try adding it to the
> linker command line
> /usr/lib64/libkdecore.so.5: could not read symbols: Invalid operation
> collect2: ld returned 1 exit status
>
> _______________________________________________
> Digikam-devel mailing list
> Digikam-devel at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-devel/attachments/20100926/22533a02/attachment.html>


More information about the Digikam-devel mailing list