media-video/mplayer-1.0_pre5-r3 compile error <flags> -3dfx -3dnow -3dnowex +X +aalib +alsa (-altivec) +arts -bidi +cdparanoia -debug +directfb +divx4linux -doc -dvb +dvd +dvdread -edl +encode +esd -fbcon -ggi +gif +gtk -i8x0 +ipv6 -joystick +jpeg +libcaca +lirc +live +lzo +mad +matroska -matrox +mmx -mmx2 +mpeg -mythtv -nas +network +nls +nvidia +oggvorbis +opengl +oss +png +rtc +samba +sdl +sse -sse2 +svga -tga +theora +truetype +v4l +v4l2 +xinerama +xmms +xv +xvid -xvmc </flags> <snip> /usr/lib/gcc/i686-pc-linux-gnu/3.4.1/../../../libebml.a(EbmlMaster.o)(.gnu.linkonce.t._ZNSt6vectorIPN7libebml11EbmlElementESaIS2_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS2_S4_EERKS2_+0x10c): In function `std::vector<libebml::EbmlElement*, std::allocator<libebml::EbmlElement*> >::_M_insert_aux(__gnu_cxx::__normal_iterator<libebml::EbmlElement**, std::vector<libebml::EbmlElement*, std::allocator<libebml::EbmlElement*> > >, libebml::EbmlElement* const&)': : undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)' /usr/lib/gcc/i686-pc-linux-gnu/3.4.1/../../../libebml.a(EbmlMaster.o)(.gnu.linkonce.t._ZNSt6vectorIPN7libebml11EbmlElementESaIS2_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS2_S4_EERKS2_+0x11c): In function `std::vector<libebml::EbmlElement*, std::allocator<libebml::EbmlElement*> >::_M_insert_aux(__gnu_cxx::__normal_iterator<libebml::EbmlElement**, std::vector<libebml::EbmlElement*, std::allocator<libebml::EbmlElement*> > >, libebml::EbmlElement* const&)': : undefined reference to `std::__default_alloc_template<true, 0>::allocate(unsigned int)' /usr/lib/gcc/i686-pc-linux-gnu/3.4.1/../../../libebml.a(EbmlString.o)(.text+0x46): In function `libebml::EbmlString::EbmlString()': : undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_empty_rep_storage' /usr/lib/gcc/i686-pc-linux-gnu/3.4.1/../../../libebml.a(EbmlString.o)(.text+0xc6): In function `libebml::EbmlString::EbmlString()': : undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_empty_rep_storage' /usr/lib/gcc/i686-pc-linux-gnu/3.4.1/../../../libebml.a(EbmlUnicodeString.o)(.text+0x37): In function `libebml::UTFstring::UTFstring()': : undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_empty_rep_storage' /usr/lib/gcc/i686-pc-linux-gnu/3.4.1/../../../libebml.a(EbmlUnicodeString.o)(.text+0x87): In function `libebml::UTFstring::UTFstring()': : undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_empty_rep_storage' /usr/lib/gcc/i686-pc-linux-gnu/3.4.1/../../../libebml.a(EbmlUnicodeString.o)(.text+0xca): In function `libebml::UTFstring::UTFstring(wchar_t const*)': : undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_empty_rep_storage' /usr/lib/gcc/i686-pc-linux-gnu/3.4.1/../../../libebml.a(EbmlUnicodeString.o)(.text+0x16a): more undefined references to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_empty_rep_storage' follow collect2: ld returned 1 exit status make: *** [mencoder] Error 1 !!! ERROR: media-video/mplayer-1.0_pre5-r3 failed. !!! Function src_compile, Line 381, Exitcode 2 !!! Failed to build MPlayer! !!! If you need support, post the topmost build error, NOT this status message. </snip> <snip> Portage 2.0.51_rc1 (default-x86-2004.0, gcc-3.4.1, glibc-2.3.4.20040808-r0, 2.6.8.1 i686) ================================================================= System uname: 2.6.8.1 i686 Intel(R) Pentium(R) 4 CPU 1.60GHz Gentoo Base System version 1.6.0 distcc 2.17 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux26-headers-2.6.8.1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -fforce-mem -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -ffast-math" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/mail/dspam /etc/mail/dspam/config /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -fforce-mem -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -ffast-math" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache loadpolicy maketest prelink sandbox" GENTOO_MIRRORS="ftp://cs.ubishops.ca/pub/gentoo/ http://gentoo.tiscali.nl/gentoo/ http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.samerica.gentoo.org/gentoo-portage" USE="X X509 Xaw3d aalib acl adns aim alsa amd apache2 apm arts artswrappersuid async avi bcmath berkdb bitmap-fonts bonobo bootsplash bzlib cddb cdparanoia cdr cdrom chroot clamav clanJavaScript clanVoice client cpdflib crypt ctype cups curl curlwrappers dba dedicated dillo dio directfb disablekernelsupport distcache distribution divx4linux dnd dv dvd dvdr dvdread encode escreen esd ethereal etwin evms2 exif faac faad fam ffmpeg flac flatfile flood fmod foomaticdb ftp gb gd gdbm geoip gif gimp glut gphoto2 gpm gps gs gstreamer gtk gtk2 gtkhtml hbci iconv icq ieee1394 imagemagick imap imlib imlib2 inifile innodb ipv6 jabber java javascript jbig jp2 jpeg jython kadu-modules kadu-voice kde lcd ldap libcaca libg++ libwww lirc live lm_sensors ltsp lua lufsusermount lzo lzw lzw-tiff mad maildir mailwrapper matroska mbox md5sum memlimit mhash mikmod mime ming mmx mng motif mozctl moznocompose moznoirc moznomail mozp3p mozsvg mozxmlterm mpeg mpeg4 mplayer msn mysql ncurses net network neural nis nls nntp nowin nptl ntlm nvidia nviz oav offensive ofx oggvorbis openal opengl oscar oss pam passfile pcap pcre pdflib perl php physfs pic pie png postgres postgresql procmail python qt quicktime quotes readline rtc samba scanner sdl server session sftplogging silc silverxp skey slang smime sndfile soap sockets socks5 speex spell sqlite sse ssl stats stroke subject-rewrite svg svga szip tcltk tcpd tetex theora tidy tiff tokenizer transparent-proxy truetype unicode usb uudeview v4l v4l2 vhosts vim-with-x virus-scan wmf wsconvert x86 xchatdccserver xchattext xface xfs xgetdefault xine xinerama xml xml2 xmlrpc xmms xosd xpm xprint xsl xv xvid yahoo yv12 zlib linguas_en linguas_de linguas_es" </snip> btw: in make.conf my features are 'prelink maketest loadpolicy' - why does emerge --info say ccache enabled?
solved :) - libebml and libmatroska weren't compiled with gcc 3.4.1 ... new emerge and everything worked ...