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

Re: Why does potato compiling suck?



On Thu, Dec 02, 1999 at 08:26:12AM -0800, David Benson wrote:
> > I know, I know, but every program that I try to compile has a different
> > problem.  And AFAIK, it's not because include/linux/* doesn't match the
> > kernel.  Basically, I'd just like to know if anyone knows of any big
> > problems with either the new gccs or with some standard libraries that are
> > in potato.
> > 
> > It sorta sucks when you try to live on the bleeding edge, but you can't
> > compile things properly.
> 
> But you haven't even explained at all -- are you missing
> things like header files or getting compiler errors?
> Or "Internal compiler errors?"  (usually those mean
> bad memory)?  I compile things *all* the time, but I've
> haven't tried to build KDE from the deb src, so that
> package may just have a bug or you are missing a bunch
> of dependencies...
> If you would just cut and paste error messages, we could
> actually help you...
> 
> No, potato seems great as a development environment, I use it
> nearly constantly :) --- no notable problems.
> 
> - Dave
> 
> 

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

--
"I already have all the latest software."
     -- Laura Winslow, "Family Matters"

Dwayne C. Litzenberger - dlitz@cheerful.com

Please always Cc to me when replying to me on the lists.

Advertising Policy: http://www.redrival.com/dlitz/spamoff.html
GnuPG Public Key:   http://www.redrival.com/dlitz/gpgkey.asc
     Fingerprint:   0535 F7CF FF5F 8547 E5A5 695E 4456 FB6C BC39 A4B0

Attachment: pgp8eGMijBW2N.pgp
Description: PGP signature


Reply to: