Error compiling kdelibs-2.0.*: "undefined reference to mainParse in kio/.libs/libksycoca.so"

Error compiling kdelibs-2.0.*: "undefined reference to mainParse in kio/.libs/libksycoca.so"

Post by Scott Alft » Fri, 12 Jan 2001 02:27:10



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm building up a K6-optimized LFS system and wanted to put KDE 2 on it, so
I downloaded the source and went to work.  Qt and kdesupport compiled with
no problems, but "make all" conks out while building kdelibs with this
error:

make[4]: Entering directory `/home/salfter/kde-2.0/kdelibs-2.0/kio/klauncher'
/bin/sh ../../libtool --mode=link g++  -O2 -fno-exceptions -fno-check-new -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long -fno-builtin -O2 -march=k6 -fomit-frame-pointer -frtti -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST   -o klauncher -L/usr/X11R6/lib -L/usr/local/kde2/lib  -R /usr/local/kde2/lib -R /usr/X11R6/lib dummy.o klauncher.la
g++ -O2 -fno-exceptions -fno-check-new -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long -fno-builtin -O2 -march=k6 -fomit-frame-pointer -frtti -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST -o .libs/klauncher dummy.o  -L/usr/X11R6/lib -L/usr/local/kde2/lib ./.libs/klauncher.so /home/salfter/kde-2.0/kdelibs-2.0/kio/.libs/libksycoca.so /home/salfter/kde-2.0/kdelibs-2.0/kio/.libs/libkio.so /home/salfter/kde-2.0/kdelibs-2.0/kdeui/.libs/libkdeui.so -L/usr/lib/gcc-lib/i586-pc-linux-gnu/2.95.2 /home/salfter/kde-2.0/kdelibs-2.0/kdesu/.libs/libkdesu.so /home/salfter/kde-2.0/kdelibs-2.0/kdecore/.libs/libkdecore.so -ldl /home/salfter/kde-2.0/kdelibs-2.0/dcop/.libs/libDCOP.so -lqt -ljpeg -lXext -lX11 -lSM -lICE -lutil -lz -lstdc++ -lm -lc -lgcc -Wl,--rpath -Wl,/usr/local/kde2/lib -Wl,--rpath -Wl,/usr/X11R6/lib
/home/salfter/kde-2.0/kdelibs-2.0/kio/.libs/libksycoca.so: undefined reference to `mainParse'
collect2: ld returned 1 exit status
make[4]: *** [klauncher] Error 1
make[4]: Leaving directory `/home/salfter/kde-2.0/kdelibs-2.0/kio/klauncher'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/salfter/kde-2.0/kdelibs-2.0/kio/klauncher'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/salfter/kde-2.0/kdelibs-2.0/kio'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/salfter/kde-2.0/kdelibs-2.0'
make: *** [all-recursive-am] Error 2

I'm running Linux 2.4.0-test12 (with reiserfs patched in) and XFree86 4.0.2.
gcc/g++ 2.95.2 and glibc 2.1.3 are also installed.  Nearly everything has
been compiled with -march=k6 -fomit-frame-pointer -O2, and those are the
options I'm using to try to compile KDE.  (Qt libs & includes have been
copied to /usr/lib and /usr/include, respectively.)  Both KDE 2.0 and 2.0.1
stop at the same point with the same error.  Any ideas why it might be doing
this?

(The system that's doing the compile is a P5-133 with 64 megs of RAM and 4
gigs of disk.  Once a complete system with all services is built up, it'll
replace a SuSE 6.4 installation on my server, a K6-2-300 with 64 megs of RAM
and 10 gigs of disk.  The system that will actually run X and KDE is a
K6-III-450 with 256 megs of RAM and an ATI Radeon 32MB DDR (which XF86 4.0.2
has so far handled pretty well); it netboots Linux and mounts the server's
root filesystem via ClusterNFS (this machine's hard drive has Win98 on it
for running stuff that needs Win9x to run).)

  _/_
 / v \
(IIGS(  Scott Alfter (remove Voyager's hull number for email address)
 \_^_/  http://salfter.dyndns.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.2 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE6XJtZVgTKos01OwkRAjzlAJ4+CsP6vL0fQSyCw1M6dqT8Mrl7JACg1Rmf
PDSHpQdYBDGhPRN5+Wj1lbI=
=M0DJ
-----END PGP SIGNATURE-----