Hi, emerge madplay fails with the following output: Wall -pipe -march=pentium4 -O3 -fomit-frame-pointer -MT audio_esd.o -MD -MP -MF ".deps/audio_esd.Tpo" \ -c -o audio_esd.o `test -f 'audio_esd.c' || echo './'`audio_esd.c; \ then mv -f ".deps/audio_esd.Tpo" ".deps/audio_esd.Po"; \ else rm -f ".deps/audio_esd.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I. -Iintl -DLOCALEDIR=\"/usr/share/locale\" - Wall -pipe -march=pentium4 -O3 -fomit-frame-pointer -MT audio_oss.o -MD -MP -MF ".deps/audio_oss.Tpo" \ -c -o audio_oss.o `test -f 'audio_oss.c' || echo './'`audio_oss.c; \ then mv -f ".deps/audio_oss.Tpo" ".deps/audio_oss.Po"; \ else rm -f ".deps/audio_oss.Tpo"; exit 1; \ fi /bin/sh ./libtool --mode=link gcc -Wall -pipe -march=pentium4 -O3 -fomit-frame -pointer -o madplay madplay.o getopt.o getopt1.o version.o resample.o filter. o xing.o player.o audio.o audio_aiff.o audio_cdda.o audio_hex.o audio_null.o aud io_raw.o audio_snd.o audio_wave.o audio_esd.o audio_oss.o -lesd -lmad -lid3tag -lm mkdir .libs gcc -Wall -pipe -march=pentium4 -O3 -fomit-frame-pointer -o madplay madplay.o ge topt.o getopt1.o version.o resample.o filter.o xing.o player.o audio.o audio_aif f.o audio_cdda.o audio_hex.o audio_null.o audio_raw.o audio_snd.o audio_wave.o a udio_esd.o audio_oss.o /usr/lib/libesd.so -L/usr/lib /usr/lib/libaudiofile.so / usr/lib/libasound.so -ldl -lpthread /usr/lib/libmad.so /usr/lib/libid3tag.so -lz -lm resample.o(.text+0x19f): In function `resample_init': : undefined reference to `mad_f_div' collect2: ld returned 1 exit status make[2]: *** [madplay] Error 1 make[2]: Leaving directory `/var/tmp/portage/madplay-0.15.0b-r1/work/madplay-0.1 5.0b' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/madplay-0.15.0b-r1/work/madplay-0.1 5.0b' make: *** [all] Error 2 !!! ERROR: media-sound/madplay-0.15.0b-r1 failed. !!! Function src_compile, Line 35, Exitcode 2 !!! make failed I tried both versions available in portage but both won't compile. In the forums I found a thread where someone said that you have to recompile libid3tag. So I did, but I doesn't work either. Then I tried it with lower CFLAGS but this also didn't help. I tried it with gcc-3.3.1, yesterday with gcc-3.3.2-r1 and today with gcc-3.3.2-r2. Thanks, Tassilo Reproducible: Always Steps to Reproduce: 1. 2. 3. emerge --info tells this: Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r8, 2.6.0-test9) ================================================================= System uname: 2.6.0-test9 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.40GHz Gentoo Base System version 1.4.3.11 ccache version 2.3 [enabled] ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/ config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/ config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs sandbox ccache" GENTOO_MIRRORS="ftp://ibiblio.org/pub/Linux/distributions/gentoo/ http:// www.gtlib.cc.gatech.edu/pub/gentoo ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http:// csociety-ftp.ecn.purdue.edu/pub/gentoo/ ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo/ ftp://mirror.iawnet.sandia.gov/pub/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp:// ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.mirrors.pair.com/ ftp:// gentoo.mirrors.pair.com/ http://gentoo.seren.com/gentoo http://gentoo.noved.org/ ftp:// gentoo.noved.org/ http://gentoo.chem.wisc.edu/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="x86 avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib alsa gdbm berkdb slang readline arts tetex aalib svga tcltk ruby X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gtk qt kde opengl cdr acpi apache2 dvd emacs emacs-w3 gtk2 imagemagick imap jack java jikes maildir mbox mmx pcmcia pnp sse tiff usb wmf wxwindows -oss -apm -gnome -motif linguas_de"
have you tried adding -mno-sse2 to CFLAGS? HTH
I've tried it now with -mno-sse2, but get exactly the same error.
Now I tried it with commenting the CFLAGS in the make.conf, so it compiled with the dafault settings "-pipe -mcpu=i686 -O2 -fomit-frame-pointer" but the error remains.
emerge unmerge libmad mad libid3tag madplay emerge mad
Thanks, this worked for me.