When emerging kdemultimedia-3.4.0, the emerge dies due to undefined references to `__gnu_cxx::__.: /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld: warning: libstdc++.so.5, needed by /usr/lib/libfam.so, may conflict with libstdc++.so.6 /usr/kde/3.4/lib/libqtmcop.so: undefined reference to `__gnu_cxx::__pool<true>::_M_reclaim_block(char*, unsigned int)@GLIBCXX_3.4.4' /usr/kde/3.4/lib/libqtmcop.so: undefined reference to `__gnu_cxx::__pool<true>::_M_initialize(void (*)(void*))@GLIBCXX_3.4.4' /usr/kde/3.4/lib/libqtmcop.so: undefined reference to `__gnu_cxx::__pool<true>::_M_destroy_thread_key(void*)@GLIBCXX_3.4.4' /usr/kde/3.4/lib/libqtmcop.so: undefined reference to `__gnu_cxx::__pool<true>::_M_get_thread_id()@GLIBCXX_3.4.4' /usr/kde/3.4/lib/libqtmcop.so: undefined reference to `__gnu_cxx::__pool<true>::_M_reserve_block(unsigned int, unsigned int)@GLIBCXX_3.4.4' collect2: ld returned 1 exit status make[4]: *** [artscontrol] Fout 1 make[4]: *** Wachten op onafgeronde taken... make[4]: Leaving directory `/var/tmp/portage/kdemultimedia-3.4.0/work/kdemultimedia-3.4.0/arts/tools' make[3]: *** [all-recursive] Fout 1 make[3]: Leaving directory `/var/tmp/portage/kdemultimedia-3.4.0/work/kdemultimedia-3.4.0/arts/tools' make[2]: *** [all-recursive] Fout 1 make[2]: Leaving directory `/var/tmp/portage/kdemultimedia-3.4.0/work/kdemultimedia-3.4.0/arts' make[1]: *** [all-recursive] Fout 1 make[1]: Leaving directory `/var/tmp/portage/kdemultimedia-3.4.0/work/kdemultimedia-3.4.0' make: *** [all] Fout 2 What I've tried: re-emerging libtool, as recommended by a few other bugreports. tried different compiler: tried 3.4.3 and 4.0.0 tried remerging -eD kdemultimedia with gcc-3.4.3 Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20050125-r0, 2.6.11-love1 i686) ================================================================= System uname: 2.6.11-love1 i686 AMD Athlon(tm) XP 2500+ Gentoo Base System version 1.6.10 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Feb 18 2005, 00:46:55)] distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.5 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.7.9-r1, 1.8.5-r3, 1.6.3, 1.5, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r6 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -mmmx -msse -m3dnow -mfpmath=sse,387 -ffast-math" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/fax /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/alias /var/qmail/control /var/spool/fax/etc" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -mmmx -msse -m3dnow -mfpmath=sse,387 -ffast-math" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks parallel-fetch sandbox sfperms"GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo" LANG="nl_NL@euro" LC_ALL="nl_NL@euro" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 3dnow X aalib alsa apache2 apm arts audiofile avi bash-completion bitmap-fonts bzlib calender cdparanoia cdr chroot crypt cups curl dba divx4linux dvd dvdr dvdread emboss encode esd fam filepro flac font-server foomaticdb fortran gd gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 guile hal imagemagick imlib insecure-drivers java jpeg jpeg2k junit kde ldap libg++ libwww live mad mikmod mime mmx mono motif mozdevelop mozilla moznomail moznoxft mp3 mpeg mplayer msn mysql ncurses network nls nptl nvidia odbc offensive oggvorbis ooo-kde opengl pam pdflib perl php pic png postgres python qmail qt quicktime readline real rplay samba scanner sdk sdl session sftplogging slang softmmu speex spell sqlite sse ssl stroke svga tcltk tcpd threads tiff truetype truetype-fonts type1-fonts usb userlocales v4l wmf xine xinerama xml xml2 xmms xprint xscreensaver xv xvid zlib video_cards_nvidia linguas_nl" Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS
Created attachment 53590 [details] Full build log
Looks like you've got libraries laying around (libfam.so) that are built against gcc-3.3.x. A revdep-rebuild is probably going to fix this.
thank you for your quick response. I ran revdep-rebuild, but the error remains the same. also running revdep-rebuild --soname libfam.so did not fix it. Also re-emerging fam did not help (this is the package libfam belongs to, isn;t it? according to qpkg, it is)
please try with a rm ~/.revdep-rebuild* revdep-rebuild --soname libstdc++.so.5
thanks for your advice, but after revdep-rebuild rebuild half my system, (about 80 packages, most of which are binairy), I still get the same error when emerging kde-multimedia... I'll play around a bit more with revdep-rebuild, but if I can't get this fixed, a emerge -eDv world might be the only solution...
sorry about that, I was so busy occupied about the error, I didn;t even notice it changed to /usr/kde/3.4/lib/libqtmcop.so: undefined reference to `__gnu_cxx::__pool<true>::_M_reclaim_block(char*, unsigned int)@GLIBCXX_3.4.4' after that revdep-rebuild. Re-emerged arts (owner of libqtmcop.so), after that kdemultimedia compiled fine. Thank you both!