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

List:       kde-buildsystem
Subject:    reduced link interface: some link breakage possible
From:       Alexander Neundorf <neundorf () kde ! org>
Date:       2008-12-15 22:20:39
Message-ID: 200812152320.40129.neundorf () kde ! org
[Download RAW message or body]

Hi,

I just committed a patch which enables the reduced link interface for shared 
libraries unconditionally for all libs created using KDE4_ADD_LIBRARY().

So if you suddenly get some undefined symbols when linking, this may very well 
be the reason.

What to do then ?
 1.) Don't panic !
 2.) You are probably using symbols from some library which you don't link to 
directly, but which was dragged in via one of the other libraries you link 
to, and these "dragged in" libraries have now been mostly removed.
In this case, add these missing libraries explicitely to the 
TARGET_LINK_LIBRARIES() command.
(because: less dependencies for packages, faster startup, some advantages in 
keeping binary compatiblity).
 3.) If that doesn't help, ask on kde-core-devel or kde-buildsystem.

I know it's late in the release cycle, but it wasn't possible earlier, and we 
can't wait any longer with this, so we have to go through this now.

Hope that not too much breaks,
Alex
_______________________________________________
Kde-buildsystem mailing list
Kde-buildsystem@kde.org
https://mail.kde.org/mailman/listinfo/kde-buildsystem
[prev in list] [next in list] [prev in thread] [next in thread] 

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