Here s how the compiling was going: checking whether lame support is requested... yes checking for pkgconfig support for lame... no checking how to determine LAME_CFLAGS... default checking how to determine LAME_LIBS... default checking for lame_init in -lmp3lame... yes checking lame/lame.h usability... yes checking lame/lame.h presence... yes checking for lame/lame.h... yes checking lame version... configure: error: lame requested, but cannot compile and run a test program
Portage 2.0.53 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gentoo-r5 i686) ================================================================= System uname: 2.6.14-gentoo-r5 i686 AMD Athlon(tm) XP 2700+ Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -maccumulate-outgoing-args" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /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/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -maccumulate-outgoing-args -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://mirror.etf.bg.ac.yu/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gd.tuwien.ac.at/opsys/linux/gentoo/" LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage/" SYNC="rsync://titan.b44.bg.wi/gentoo-portage" USE="x86 3dnow 7zip X a52 aac alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bluetooth bzip2 bzlib cddb cdparanoia cdr crypt cups curl dga divx4linux dvd dvdr dvdread eds emboss encode exif expat fam ffmpeg font-server fortran gcj gd gdbm gif gimpprint glut gnokii gphoto2 graphviz gstreamer gtk2 httpd idn imagemagick imlib innodb jabber java javascript jbig jpeg kde kdeenablefinal lcms libg++ libwww lm_sensors lzo mad mmx mng motif mozcalendar mozilla mp3 mpeg mtqt mysql nas ncurses nls nptl nptlonly ogg oggvorbis opengl pcre pdflib perl php png python qt quicktime readline real ruby samba sdl sms snmp speex spell sql sqlite sse ssl stream subversion svg tcpd threads tiff transcode truetype truetype-fonts type1-fonts udev unicode usb videos vorbis win32codecs wmf wxwindows xine xml xml2 xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS, PORTDIR_OVERLAY
If you want to use --as-needed, you should know what you do. As you might have read on my blog, lame has to be recompiled, and ~x86 is needed.