These errors appear: In file included from ../common/mp4ff/mp4ff.h:35, from main.c:42: ../common/mp4ff/mp4ff_int_types.h:23:7: warning: no newline at end of file In file included from main.c:42: ../common/mp4ff/mp4ff.h:128:7: warning: no newline at end of file main.c: In function `decodeAACfile': main.c:509: warning: passing arg 4 of `faacDecInit' from incompatible pointer type main.c: In function `decodeMP4file': main.c:775: warning: passing arg 4 of `faacDecInit2' from incompatible pointer type if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../common/faad -I../common/mp4ff -O2 -march=athlon-xp -Os -pipe -MT getopt.o -MD -MP -MF ".deps/getopt.Tpo" \ -c -o getopt.o `test -f '../common/faad/getopt.c' || echo './'`../common/faad/getopt.c; \ then mv -f ".deps/getopt.Tpo" ".deps/getopt.Po"; \ else rm -f ".deps/getopt.Tpo"; exit 1; \ fi /bin/sh ../libtool --mode=link i686-pc-linux-gnu-g++ -O2 -march=athlon-xp -Os -pipe -o faad main.o audio.o getopt.o ../libfaad/libfaad.la ../common/mp4ff/libmp4ff.la -lmp4v2 -lmp4v2 mkdir .libs libtool: link: cannot find the library `/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/libstdc++.la' make[2]: *** [faad] Error 1 make[2]: Leaving directory `/var/tmp/portage/faad2-2.0-r5/work/faad2/frontend' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/faad2-2.0-r5/work/faad2' make: *** [all] Error 2 Reproducible: Always Steps to Reproduce: 1. emerge faad2 2. 3. Actual Results: Error occurred. Expected Results: Successfuly built package Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.11-gentoo-r2 i686) ================================================================= System uname: 2.6.11-gentoo-r2 i686 AMD Athlon(tm) XP 3200+ Gentoo Base System version 1.6.10 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Feb 18 2005, 18:09:41)] 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.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -Os -pipe" 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/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -Os -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms userpriv usersandbox" GENTOO_MIRRORS="ftp://mirrors1.netvisao.pt/gentoo ftp://ftp.rnl.ist.utl.pt/gentoo/ ftp://ftp.gentoo-pt.org/pub/gentoo http://darkstar.ist.utl.pt/gentoo/ http://gentoo.felisberto.net/ http://ftp.dei.uc.pt/pub/Linux/gentoo http://darkstar.ist.utl.pt/gentoo/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://10.10.10.138/gentoo-portage" USE="x86 3dnow 3dnowx X alsa apm avi berkdb bitmap-fonts cdr crypt cups curl dga directfb divx4linux dvd dvdread emboss encode ethereal fam font-server foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imagemagick imlib ipv6 java jpeg libg++ libwww mad mikmod mmx mmx2 motif mozilla mp3 mpeg msn ncurses nls nvidia oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline samba sdl spell sse ssl svga tcltk tcpd tga tiff truetype truetype-fonts type1-fonts usb videos xml2 xmms xosd xv xvid zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
This looks like a dupe of bug 84324 Try running `fix_libtool_files.sh 3.4.3` and see if that fixes it.
Problem solved, as per your suggestion. Package now emerges without problems.
Can you mark this as "Closed" or "Duplicate" then please
Just a gcc problem