The kdelibs build fails for me on gentoo 1.2. I've done 'emerge gcc glibc', 'emerge --emptytree arts', and 'emerge --emptytree qt' successfully, but no luck with kdelibs-3.0.4-r1. kdebase-3.0.4-r3 also fails. Error messages: .libs/dcopclient.o(.QPtrList<DCOPObjectProxy>::gnu.linkonce.t.replace(unsigned int, DCOPObjectProxy const *)+0x26): undefined reference to `QGList::replaceAt(unsigned int, void *)' .libs/dcopclient.o: In function `QPtrList<DCOPClientTransaction>::replace(unsigned int, DCOPClientTransaction const *)': .libs/dcopclient.o(.QPtrList<DCOPClientTransaction>::gnu.linkonce.t.replace(unsigned int, DCOPClientTransaction const *)+0x26): undefined reference to `QGList::replaceAt(unsigned int, void *)' .libs/dcopclient.o: In function `QPtrList<_IceConn>::replace(unsigned int, _IceConn const *)': .libs/dcopclient.o(.QPtrList<_IceConn>::gnu.linkonce.t.replace(unsigned int, _IceConn const *)+0x26): undefined reference to `QGList::replaceAt(unsigned int, void *)' collect2: ld returned 1 exit status make[3]: *** [libDCOP.la.closure] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdelibs-3.0.4-r1/work/kdelibs-3.0.4/dcop' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.0.4-r1/work/kdelibs-3.0.4/dcop' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.0.4-r1/work/kdelibs-3.0.4' make: *** [all] Error 2 !!! ERROR: kde-base/kdelibs-3.0.4-r1 failed. !!! Function kde_src_compile, Line -8427, Exitcode 2 !!! died running emake, kde_src_compile:make
please commit more output from the failing emerge (attach foo from 'emerge kdebase &> foo') please also commit the output of 'emerge info'
Created attachment 6597 [details] Output of emerge kdelibs &> foo Here's the output of 'emerge info': Portage 2.0.45-r5 (unavailable, gcc-2.95.3, glibc-2.2.5-r7) ================================================================= System uname: 2.4.19-gentoo-r10 i686 Pentium III (Coppermine) USE="x86 oss 3dnow alsa bonobo cdr esd gnome-libs guile mysql perl scanner tcltk tetex tiff acl -apm arts avi -berkdb crypt cups encode gdbm gif -gnome gpm gtk imlib ipv6 java jpeg kde libg++ libwww mikmod mmx mozilla -motif mpeg ncurses nls oggvorbis -opengl pam pdflib png python qt qtmt quicktime readline sdl slang spell ssl svga tcpd truetype X xml2 xmms xv" ARCH="x86" COMPILER="" CHOST="i686-pc-linux-gnu" CFLAGS="-march=i686 -O3 -pipe" CXXFLAGS="-march=i686 -O3 -pipe" ACCEPT_KEYWORDS="x86" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" MAKEOPTS="-j2" JDK_HOME="/opt/blackdown-jdk-1.3.1" JAVA_HOME="/opt/blackdown-jdk-1.3.1" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo"
which qt versions are merged?
x11-libs/qt-3.1.0-r1
you tried kdelibs-3.0.5a, does it solve your problem? is there anything left in /var/tmp/portage/qt-3.1.0-r1/work?
I think we can close this. It was due to my error (I had CFLAGS="-march=pentium -O3 -pipe" instead of CFLAGS="-mcpu=pentium -O3 -pipe" in make.conf). Things seem to work fine now that I made the change. Thanks for the help.