kdebase compile error

David Faure faure at kde.org
Wed Jun 20 09:48:03 BST 2007


On Wednesday 20 June 2007, Thiago Macieira wrote:
> Sebastian Sauer wrote:
> >Since this week (?) I keep to get;
> >
> >Linking CXX shared library ../../lib/libkdeinit4_konqueror.so
> >/usr/bin/ld:
> > /home/kde4/svn/_build/kdebase/lib/libkonquerorprivate.a(konq_applicatio
> >n.o): relocation R_X86_64_32 against
> > `KonquerorApplication::staticMetaObject' can not be used when making a
> > shared object; recompile with -fPIC
> >/home/kde4/svn/_build/kdebase/lib/libkonquerorprivate.a: could not read
> >symbols: Bad value
> >collect2: ld returned 1 exit status
> >make[2]: *** [lib/libkdeinit4_konqueror.so] Error 1
> >make[1]: *** [apps/konqueror/CMakeFiles/kdeinit_konqueror.dir/all] Error
> > 2 make: *** [all] Error 2
> >
> >Following does fix it for me, anyone an idea how the real fix needs to
> > look like?
> 
> The reason is the creation of the library libkonquerorprivate here:
> http://websvn.kde.org/trunk/KDE/kdebase/apps/konqueror/CMakeLists.txt?r1=661013&r2=677505
> 
> kdeinit_konqueror is linking to a static library that isn't being 
> installed. I don't think we can have that: static libraries are NOT 
> convenience libraries!

I didn't really intend on making it static, I'll make it shared and installed.
(Reason for that lib: unit tests)

-- 
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-core-devel mailing list