[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Why does potato compiling suck?

Dwayne C . Litzenberger wrote:
> Sorry for being so vague.  Can you at least narrow things down for me?  I
> want to know whether the problem is with KDE or QT.  When I try to compile
> kdelibs, I get what I believe is a linker error (but I'm not a great
> programmer or anything, so I barely understand the error message:
> Making all in dcopidl2cpp
> make[4]: Entering directory `/home/dwon/tmp/kde/kdelibs/build/dcop/dcopidl2cpp'
> g++ -DHAVE_CONFIG_H -I. -I/home/dwon/tmp/kde/kdelibs/build/../dcop/dcopidl2cpp -I../.. -I/home/dwon/tmp/kde/kdelibs/build
> /../qk -I/home/dwon/tmp/kde/kdelibs/build/../dcop -I/home/dwon/tmp/kde/kdelibs/build/../kdecore -I/home/dwon/tmp/kde/kdel
> ibs/build/../kdeui -I/usr/lib/qt2/include -I/usr/X11R6/include -I/usr/include     -O2 -DNDEBUG -fno-exceptions -fno-rtti 
> -fno-check-new -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long -frtti  -c /home/dw
> on/tmp/kde/kdelibs/build/../dcop/dcopidl2cpp/main.cpp
> /bin/sh ../../libtool --silent --mode=link g++  -O2 -DNDEBUG -fno-exceptions -fno-rtti -fno-check-new -Wall -pedantic -W 
> -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long -frtti  -L/usr/lib  -L/usr/X11R6/lib -o dcopidl2cpp  
> main.o -lqt -lpng -lz -lm -lXext -lX11   ../../qk/libqk.la 
> /usr/lib/libqt.a(qapplication_x11.o): In function `sm_setProperty(char const *, char const *, int, SmPropValue *)':
> qapplication_x11.o(.text+0x98a9): undefined reference to `SmcSetProperties'
> qapplication_x11.o(.text+0x98c3): undefined reference to `SmcDeleteProperties'
> /usr/lib/libqt.a(qapplication_x11.o): In function `sm_performSaveYourself(QSessionManager *)':
> qapplication_x11.o(.text+0xa3ea): undefined reference to `SmcRequestSaveYourselfPhase2'
> qapplication_x11.o(.text+0xa451): undefined reference to `SmcInteractDone'
> qapplication_x11.o(.text+0xa55b): undefined reference to `SmcSaveYourselfDone'
> /usr/lib/libqt.a(qapplication_x11.o): In function `QSmSocketReceiver::socketActivated(int)':
> qapplication_x11.o(.text+0xa6c0): undefined reference to `SmcGetIceConnection'
> qapplication_x11.o(.text+0xa6c9): undefined reference to `IceProcessMessages'
> /usr/lib/libqt.a(qapplication_x11.o): In function `QSessionManager::QSessionManager(QApplication *, QString &)':
> qapplication_x11.o(.text+0xa942): undefined reference to `SmcOpenConnection'
> qapplication_x11.o(.text+0xaa0e): undefined reference to `SmcGetIceConnection'
> qapplication_x11.o(.text+0xaa14): undefined reference to `IceConnectionNumber'
> /usr/lib/libqt.a(qapplication_x11.o): In function `QSessionManager::~QSessionManager(void)':
> qapplication_x11.o(.text+0xaadc): undefined reference to `SmcCloseConnection'
> /usr/lib/libqt.a(qapplication_x11.o): In function `QSessionManager::allowsInteraction(void)':
> qapplication_x11.o(.text+0xabf4): undefined reference to `SmcInteractRequest'
> /usr/lib/libqt.a(qapplication_x11.o): In function `QSessionManager::allowsErrorInteraction(void)':
> qapplication_x11.o(.text+0xac83): undefined reference to `SmcInteractRequest'
> /usr/lib/libqt.a(qapplication_x11.o): In function `QSessionManager::release(void)':
> qapplication_x11.o(.text+0xad00): undefined reference to `SmcInteractDone'
> collect2: ld returned 1 exit status
> make[4]: *** [dcopidl2cpp] Error 1
> make[4]: Leaving directory `/home/dwon/tmp/kde/kdelibs/build/dcop/dcopidl2cpp'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/home/dwon/tmp/kde/kdelibs/build/dcop'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/dwon/tmp/kde/kdelibs/build'
> make[1]: *** [all-recursive-am] Error 2
> make[1]: Leaving directory `/home/dwon/tmp/kde/kdelibs/build'
> make: *** [build/build-stamp] Error 2

What kde version? Snapshot from .... ? What qt version?

If qt2 is deb from potato then you will need a newer version of qt2.
Qt 2.1 snapshot is required for recent KDE2 snapshots.


Hasso Tepper <hasso@ewsound.estnet.ee>

Reply to: