[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: kdebase compile error
From: Thiago Macieira <thiago () kde ! org>
Date: 2007-06-20 4:56:34
Message-ID: 200706200656.55971.thiago () kde ! org
[Download RAW message or body]
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!
Does it help to make it shared and installed? Or to revert the revision
above?
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
["signature.asc" (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic