gcc -Wall -pipe -march=athlon-xp -m3dnow -mmmx -msse -funroll-loops -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 audio_raw.o audio_snd.o audio_wave.o audio_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 -lm resample.o(.text+0x24): In function `resample_init': : undefined reference to `mad_f_div' player.o(.text+0x1090): In function `show_id3': : undefined reference to `id3_frame_field' player.o(.text+0x12d4): In function `show_id3': : undefined reference to `id3_frame_field' player.o(.text+0x12ff): In function `show_id3': : undefined reference to `id3_frame_field' player.o(.text+0x166d): In function `process_id3': : undefined reference to `id3_frame_field' player.o(.text+0x174c): In function `process_id3': : undefined reference to `id3_frame_field' player.o(.text+0x1754): In function `process_id3': : undefined reference to `id3_field_getlatin1' player.o(.text+0x176c): In function `process_id3': : undefined reference to `id3_frame_field' /usr/lib/libid3tag.so: undefined reference to `uncompress' /usr/lib/libid3tag.so: undefined reference to `compress2' 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.15.0b' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/madplay-0.15.0b-r1/work/madplay-0.15.0b' make: *** [all] Error 2 !!! ERROR: media-sound/madplay-0.15.0b-r1 failed. !!! Function src_compile, Line 36, Exitcode 2 !!! make failed Reproducible: Always Steps to Reproduce: 1."emerge '>=madplay-0.15.0b-r1'" or just "emerge mad" 2. 3. Actual Results: see details Portage 2.0.49-r20 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.6.0-gentoo) ================================================================= System uname: 2.6.0-gentoo i686 AMD Athlon(tm) Processor Gentoo Base System version 1.4.3.10 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -funroll-loops -pipe -fomit-frame-pointer -m3dnow -mmmx -msse" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3. 1/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -funroll-loops -pipe -fomit-frame-pointer -m3dnow -mmmx -msse" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio. org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X aalib acpi acpi4linux alsa apm arts avi berkdb bonobo caps crypt cups dga directfb doc dvd encode esd faad fbcon ffmpeg foomaticdb freetype fs gdbm ggi gif glut gnome gpm gtk gtk2 gtkhtml imagemagick imap imlib innodb jabber java javascript jikes jpeg kde libg++ libwww mad maildir matroska md5sum mikmod mmx motif mozilla mozsvg mpeg msn music ncurses nls nocardbus offensive oggvorbis opengl oscar oss pam parse-clocks pdflib perl pic png ppds python qt quicktime readline samba sdl slang snmp speedo spell sse ssl svga tcpd tetex tiff transcode truetype type1 usb videos vim-with-x wmf x86 xface xml2 xmms xv xvid yahoo zlib"
try emerge mad seems you are missing some id3
# emerge -pv mad These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] media-sound/madplay-0.15.0b-r1 -debug +nls [ebuild U ] media-sound/mad-0.15.0b [0.14.2b-r2] That seems not to be the trick ;-)
I had the same problem. I found that "emerge libmad libid3tag" solved the problem for me.
madplay is only a part of the "mad" package
I also had the same problem, but as suggested in a previous comment, "emerge libmad libid3tag" solved it even though they were already installed. ;)
Re-emerge libmad and libid3tag did it. Maybe it should be taken into the deps of madplay?
I have same problem and after re-emerge libmad and libid3tag. emerge of madplay-0.15.0b-r1 work.
libid3tag is in depend seems to be releated to bug 1991
same problem :( Portage 2.0.49-r20 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.6.0-mm1) ================================================================= System uname: 2.6.0-mm1 i686 Intel(R) Celeron(TM) CPU 1300MHz Gentoo Base System version 1.4.3.10 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium3 -fomit-frame-pointer -fprefetch-loop-arrays -ffast-math -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -funroll-loops -pipe -msse -mmmx" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O3 -march=pentium3 -fomit-frame-pointer -fprefetch-loop-arrays -ffast-math -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -funroll-loops -pipe -msse -mmmx" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://gentoo.inode.at/source/ http://gentoo.inode.at/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo http://212.219.247.18/sites/www.ibiblio.org/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib acl apm arts avi berkdb bindist cdr cjk crypt cups curl dga directfb dvb encode esd fbcon flash foomaticdb gdbm ggi gif gnome gpm gtk gtk2 guile icc imlib java javascript jpeg kde libg++ libwww lirc mad maildir mikmod mmx motif mozilla mpeg nas ncurses nls nojoystick nv nvidia odbc oggvorbis opengl oss pam pdflib perl png python qt quicktime readline ruby ruby18 samba sdl slang spell sse ssl svga tcltk tcpd threads tiff truetype x86 xkb xml xml2 xmms xv zlib"
*** Bug 37283 has been marked as a duplicate of this bug. ***
emerge unmerge mad (to uninstall the stale 0.14) emerge mad (to install the 0.15 in a mad-free environment) For some reason... upgrading from 0.14 to 0.15 is finicky... This problem has been noted all over the place...
*** Bug 38423 has been marked as a duplicate of this bug. ***
*** Bug 39413 has been marked as a duplicate of this bug. ***
*** Bug 39438 has been marked as a duplicate of this bug. ***
*** Bug 40405 has been marked as a duplicate of this bug. ***
*** Bug 40843 has been marked as a duplicate of this bug. ***
*** Bug 40869 has been marked as a duplicate of this bug. ***
*** Bug 41110 has been marked as a duplicate of this bug. ***