Re: problem with linking in Solaris

Cyrille Berger Skott <[email protected]> Mon, 22 Nov 2010 13:01:57 +0100
Newsgroups gmane.comp.kde.devel.koffice
Message-ID <[email protected]>
On Monday 22 November 2010, Dag Andersen wrote:
> I'm clueless so help would be very much apreciated.
> 
> "koffice 2.2.84 fails to build with the below error.
> This is on Solaris 11 Express with the Sun Studio 12.1 compiler."
> See:
> https://bugs.kde.org/show_bug.cgi?id=257359
I think I have found the problem.

in kplato/main.cpp you include kptschedule.h, but kplato_init is not linked 
against kplatokernel.

The quickest solution is probably to replace
target_link_libraries(kdeinit_kplato komain)

by
target_link_libraries(kdeinit_kplato komain kplatokernel)

in kplato/CMakeLists.txt

It should not have much of an influence, since sooner or later kplatokernel 
will be loaded.

-- 
Cyrille Berger Skott