KDE ICE problem: undefined reference to _kde_IceTransXXX() ?

Alexander Neundorf neundorf at kde.org
Fri Jul 1 22:39:22 BST 2005


On Friday 01 July 2005 23:12, Thiago Macieira wrote:
> Alexander Neundorf wrote:
> >Hi,
> >
> >while trying to build libDCOP.so (with cmake), I get a bunch of
> > undefined references to _kde_IceTransAccept() and other
> > _kde_IceTransXXX() functions. What's going wrong there ? Where should
> > they come from or are there some macros which should turn them into
> > something else ?
> >Any hints ?
>
> They are in dcop/KDE-ICE/libkICE:
>
> [thiago at prometheus ~/programs/obj/kde/KDE/kdelibs/dcop/KDE-ICE]$
> nm .libs/libkICE.a | grep -c T\ _kde_IceTrans
> 28
>
> [thiago at prometheus ~/programs/obj/kde/KDE/kdelibs/dcop/KDE-ICE]$
> nm .libs/libkICE.a | grep T\ _kde_IceTransAccept
> 00000c14 T _kde_IceTransAccept
>
> That's a convenience library. Maybe cmake doesn't build with convenience
> libraries correctly yet.

I found it in the meantime: -DTRANS_SERVER -DTRANS_CLIENT was missing.

Now I'm wondering why kdecore/kapplication.cpp includes 
kio/kio/kprotocolinfo.h ...

Alex
-- 
Work: alexander.neundorf at jenoptik.com - http://www.jenoptik-los.de
Home: neundorf at kde.org                - http://www.kde.org
      alex at neundorf.net               - http://www.neundorf.net




More information about the kde-core-devel mailing list