[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: linking problem while porting my app
From:       Anatoli Gorchetchnikov <anatoli () cns ! bu ! edu>
Date:       2009-02-25 13:53:29
Message-ID: 200902250853.29363.anatoli () cns ! bu ! edu
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Wednesday 25 February 2009 08:14:26 am Andreas Pakulat wrote:
> On 25.02.09 07:58:41, Anatoli Gorchetchnikov wrote:
> > Hi guys,
> >
> > I finally decided to port my app to KDE4. I followed
> > http://techbase.kde.org/Development/Tutorials/KDE4_Porting_Guide
> > and after some more hand cleaning my modules started to compile. Here I
> > ran in the following problem:
> >
> > I have a shared library as one of the components, and my KPart is
> > supposed to be linked against this library. The corresponding
> > CMakeLists.txt are below. During build libkinproject does not link
> > claiming that all symbols from libkinnessbase are undefined.
> >
> > What am I missing?
>
> The CMake code looks correct, but do you also properly export the needed
> symbols from your kinnessbase library?
>
> Andreas

They were exported normally while under KDE3 with automake, although I don't 
remember doing much to make it so. I think libtool was taking care of that 
automagically...  Do I need to add something to the code for proper export 
with CMake?

-- 
Regards, 
Anatoli


["signature.asc" (application/pgp-signature)]

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic