When I try to emerge madplay (as part of the gnome install or on it's own), I get errors. Reproducible: Always Steps to Reproduce: 1. emerge madplay Actual Results: config.status: creating po/Makefile.in config.status: creating m4/Makefile config.status: creating madplay.list config.status: creating config.h config.status: executing depfiles commands config.status: executing default-1 commands config.status: creating po/POTFILES config.status: creating po/Makefile Making all in intl Making all in po resample.c: In function `resample_init': resample.c:46: warning: implicit declaration of function `mad_f_div' player.c: In function `show_id3': player.c:630: warning: implicit declaration of function `id3_frame_field' player.c:630: warning: assignment makes pointer from integer without a cast player.c:674: warning: passing arg 1 of `id3_field_getstring' makes pointer from integer without a cast player.c:680: warning: passing arg 1 of `id3_field_getfullstring' makes pointer from integer without a cast player.c: In function `process_id3': player.c:801: warning: assignment makes pointer from integer without a cast player.c:846: warning: implicit declaration of function `id3_field_getlatin1' player.c:846: warning: assignment makes pointer from integer without a cast player.c:847: warning: passing arg 1 of `id3_field_getbinarydata' makes pointer from integer without a cast mkdir .libs gcc -Wall -pipe -march=pentium3 -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 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/libmad.so /usr/lib/libid3tag.so -lm resample.o(.text+0x1c4): In function `resample_init': : undefined reference to `mad_f_div' player.o(.text+0x2574): In function `process_id3': : undefined reference to `id3_frame_field' player.o(.text+0x25be): In function `process_id3': : undefined reference to `id3_frame_field' player.o(.text+0x25c6): In function `process_id3': : undefined reference to `id3_field_getlatin1' player.o(.text+0x25d9): In function `process_id3': : undefined reference to `id3_frame_field' player.o(.text+0x30db): In function `show_id3': : undefined reference to `id3_frame_field' player.o(.text+0x3247): In function `show_id3': : undefined reference to `id3_frame_field' player.o(.text+0x3266): In function `show_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[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 !!! ERROR: media-sound/madplay-0.15.0b-r1 failed. !!! Function src_compile, Line 35, Exitcode 2 !!! make failed Expected Results: installed system root@aziraphale nicholas # emerge info Portage 2.0.49-r13-2 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r6, 2.4.20-gaming-r3) ================================================================= System uname: 2.4.20-gaming-r3 i686 Intel(R) Pentium(R) 4 CPU 1.70GHz Gentoo Base System version 1.4.3.11 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O3 -pipe" 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/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2 -s" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg kde libg++ libwww mad mikmod motif mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline arts svga tcltk java X sdl gpm tcpd pam ssl perl python esd imlib oggvorbis gnome gtk qt opengl amd autofs cdr curl doc dvd evo freetype-version-1 gd gphoto2 gtk2 imagemagick imap javascript ldap mbox mng mozaccess mozilla moznocompose moznoirc mozsvg mysql offensive php samba usb videos vim-with-x"
emerge unmerge mad libmad libid3tag madplay emerge mad This uninstalls all the mad-related stuff (0.14 and 0.15) Installing mad will automatically pull in libmad libid3tag and madplay Other people have had this same problem and it's been related to having 0.14 library versions hanging around on the system.