frameworks build issues

PERIER Romain bambi at ubuntu.com
Wed Nov 23 09:00:11 UTC 2011


2011/11/23 Stephen Kelly <steveire at gmail.com>

> Jeremy Whiting wrote:
>
> > Besides the cmake
> > issues I also get link errors in tier1/kauth like this:
> >
> > Linking CXX shared library ../../lib/libkauth.so
> > /usr/bin/ld: warning: cannot find entry symbol rrors; defaulting to
> > 00000000000067e0
> > collect2: ld returned 1 exit status
> > make[2]: *** [lib/libkauth.so.5.0.0] Error 1
> > make[1]: *** [tier1/libkauth/CMakeFiles/kauth.dir/all] Error 2
> >
>

hi,

I found why kauth does not build. Try to build it with "make VERBOSE=1" ,
during the linking phase there is a "-errors" options => in other words,
you ask ld to start the execution of the program at symbol "rrors" which
does not exist. Also that does not make sense for a shared object.  Then
take a look at tier1/kauth/CMakeLists.txt
"string(REPLACE "-pedantic" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")"  <---
this line

which means : "-pedantic-errors" is replaced by "-errors" ...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20111123/1a89db50/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list