Amarok-1.1.1 fails to compile. Reproducible: Always Steps to Reproduce: 1. emerge amarok 2. 3. Actual Results: : undefined reference to `std::__default_alloc_template<true, 0>::_S_force_new' .libs/amarokarts.o(.gnu.linkonce.t._ZNSt6vectorISsSaISsEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPSsS1_EERKSs+0x223): In function `std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_insert_aux(__gnu_cxx::__normal_iterator<std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)': : undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)' .libs/amarokarts.o(.gnu.linkonce.t._ZNSt6vectorISsSaISsEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPSsS1_EERKSs+0x253): In function `std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_insert_aux(__gnu_cxx::__normal_iterator<std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)': : undefined reference to `std::__default_alloc_template<true, 0>::_S_free_list' .libs/amarokarts.o(.gnu.linkonce.t._ZNSt6vectorISsSaISsEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPSsS1_EERKSs+0x296): In function `std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_insert_aux(__gnu_cxx::__normal_iterator<std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)': : undefined reference to `std::__default_alloc_template<true, 0>::_S_node_allocator_lock' .libs/amarokarts.o(.gnu.linkonce.t._ZNSt6vectorISsSaISsEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPSsS1_EERKSs+0x2b5): In function `std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_insert_aux(__gnu_cxx::__normal_iterator<std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)': : undefined reference to `std::__default_alloc_template<true, 0>::_S_refill(unsigned int)' .libs/amarokarts.o(.gnu.linkonce.t._ZNSt6vectorISsSaISsEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPSsS1_EERKSs+0x2bf): In function `std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_insert_aux(__gnu_cxx::__normal_iterator<std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)': : undefined reference to `std::__default_alloc_template<true, 0>::_S_node_allocator_lock' .libs/rawscope_impl.o(.gnu.linkonce.t._ZNSt6vectorIfSaIfEE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPfS1_EEjRKf+0x1f5): Infunction `std::vector<float, std::allocator<float> >::_M_fill_insert(__gnu_cxx::__normal_iterator<float*, std::vector<float, std::allocator<float> > >, unsigned int, float const&)': : undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)' .libs/rawscope_impl.o(.gnu.linkonce.t._ZNSt6vectorIfSaIfEE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPfS1_EEjRKf+0x202): Infunction `std::vector<float, std::allocator<float> >::_M_fill_insert(__gnu_cxx::__normal_iterator<float*, std::vector<float, std::allocator<float> > >, unsigned int, float const&)': : undefined reference to `std::__default_alloc_template<true, 0>::allocate(unsigned int)' collect2: ld returned 1 exit status make[6]: *** [libamarokarts.la] Error 1 make[6]: Leaving directory `/var/tmp/portage/amarok-1.1.1/work/amarok-1.1.1/amarok/src/engine/arts/amarokarts' make[5]: *** [all-recursive] Error 1 make[5]: Leaving directory `/var/tmp/portage/amarok-1.1.1/work/amarok-1.1.1/amarok/src/engine/arts' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/var/tmp/portage/amarok-1.1.1/work/amarok-1.1.1/amarok/src/engine' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/amarok-1.1.1/work/amarok-1.1.1/amarok/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/amarok-1.1.1/work/amarok-1.1.1/amarok' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/amarok-1.1.1/work/amarok-1.1.1' make: *** [all] Error 2 !!! ERROR: media-sound/amarok-1.1.1 failed. !!! Function kde_src_compile, Line 142, Exitcode 2 !!! died running emake, kde_src_compile:make !!! If you need support, post the topmost build error, NOT this status message. Expected Results: Amarok compiles. Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.3.4, glibc-2.3.4.20041102-r0, 2.6.9-mm1 i686) ================================================================= System uname: 2.6.9-mm1 i686 AMD Athlon(tm) processor Gentoo Base System version 1.6.6 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon -Os -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config/var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks sandbox sfperms" GENTOO_MIRRORS="ftp://mirror.pacific.net.au/linux/Gentoo ftp://gentoo.ccccom.com http://gentoo.mirrors.pair.com/ ftp://mirrors.tds.net/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://mirror.pacific.net.au/gentoo-portage" USE="3dnow X aalib adns alsa apache2 apm arts avi berkdb bitmap-fonts bonobo cdr crypt cups curl dba directfb dvd encode esd f77fam ffmpeg flac flash foomaticdb fortran gd gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imap imlib innodb jabber java jpeg junit kde ldap libg++ libwww lirc mad maildir mikmod mmx motif mozilla mpeg mpeg4 mysql nas ncurses nls nptl nvidia offensive oggvorbis openal opengl openssh pam pdflib perl png postgres python qt quicktime readline samba sdl session slang sml2 speex spell sqlite ssl svga tcltk tcpd tiff truetype usb v4l wmf x86 xine xinerama xml xml2 xmms xv xvid yahoo zlib zvbi"
It compiles and works here perfectly: Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r1 i686) i686 Intel(R) Pentium(R) III Mobile CPU 1200MHz GenuineIntel GNU/Linux Qt: 3.3.3 KDE: 3.3.1 amaroK: 1.1.1
Well, looks like it now compiles. I suspect it was something to do with my system being half compiled with gcc 3.3.4 and 3.4.3. I set it back to 3.3.4 and emerge -e world.