I get the following error when trying to compile mplayer-0.90_rc4: make[1]: Leaving directory `/tmp/portage/mplayer-0.90_rc4/work/MPlayer-0.90rc4/libmenu' ./darwinfixlib.sh mplayer.o mp_msg.o cpudetect.o codec-cfg.o cfgparser.o my_profile.o spudec.o playtree.o playtreepars er.o asxparser.o vobsub.o subreader.o sub_cc.o find_sub.o m_config.o m_option.o parser-cfg.o m_struct.o unrarlib.o mix er.o parser-mpcmd.o loader/libloader.a loader/dshow/libDS_Filter.a loader/dmo/libDMO_Filter.a libavcodec/libavcodec.a libmpdemux/libmpdemux.a libmpcodecs/libmpcodecs.a libao2/libao2.a liba52/liba52.a mp3lib/libMP3.a libmpeg2/libmpeg2.a linux/libosdep.a postproc/libswscale.a input/libinput.a libvo/libvo.a libaf/libaf.a postproc/libpostproc.a libdha/lib dha.so vidix/libvidix.a libmpdvdkit2/libmpdvdkit.a Gui/libgui.a libmenu/libmenu.a gcc -O4 -march=i586 -mcpu=i586 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_ BITS=64 -Ilibmpdemux -Iloader -Ilibvo -I/usr/include/freetype2 -I-I/usr/include -I/usr/include/dvdnav -I/usr/include/g tk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/X11R 6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/SDL -D_REENTRANT -o mplayer mplayer.o mp_msg.o cpudetect.o codec-cfg.o cfgparser.o my_profile.o spudec.o playtree.o playtreeparser.o asxparser.o vobsub.o s ubreader.o sub_cc.o find_sub.o m_config.o m_option.o parser-cfg.o m_struct.o unrarlib.o mixer.o parser-mpcmd.o libvo/l ibvo.a libao2/libao2.a libmenu/libmenu.a vidix/libvidix.a Gui/libgui.a libmpcodecs/libmpcodecs.a mp3lib/libMP3.a liba5 2/liba52.a libmpeg2/libmpeg2.a loader/libloader.a loader/dshow/libDS_Filter.a loader/dmo/libDMO_Filter.a libaf/libaf.a libmpdemux/libmpdemux.a input/libinput.a -Lpostproc -lpostproc postproc/libswscale.a linux/libosdep.a -Llibmpdvdkit2 -lmpdvdkit -L/usr/lib -ldvdnav -ldvdread -lpthread libavcodec/libavcodec.a -lvorbis -logg -ldv -ldivxdecore -lxvid core -lpng -lz -lz -ljpeg /usr/lib/libxmms.so.1 -export-dynamic -lfreetype -lcdda_interface -lcdda_paranoia -lnsl -lgif -L/usr/X11R6/lib -lXext -lX11 -lnsl -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lglib-2.0 -laa -lGL -lXxf 86dga -lXv -lXxf86vm -lXinerama -L/usr/X11R6/lib -lXext -lX11 -lnsl -lnsl -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthr ead -lggi -lpthread -ldl -rdynamic -lm libao2/libao2.a(ao_sdl.o)(.text+0x134): In function `init': : undefined reference to `SDL_OpenAudio' libao2/libao2.a(ao_sdl.o)(.text+0x1c2): In function `init': : undefined reference to `SDL_PauseAudio' libao2/libao2.a(ao_sdl.o)(.text+0x343): In function `outputaudio': : undefined reference to `SDL_MixAudio' libao2/libao2.a(ao_sdl.o)(.text+0x443): In function `uninit': : undefined reference to `SDL_CloseAudio' libao2/libao2.a(ao_sdl.o)(.text+0x5a6): In function `audio_pause': : undefined reference to `SDL_PauseAudio' libao2/libao2.a(ao_sdl.o)(.text+0x5b6): In function `audio_resume': : undefined reference to `SDL_PauseAudio' collect2: ld returned 1 exit status make: *** [mplayer] Error 1 !!! ERROR: media-video/mplayer-0.90_rc4 failed. !!! Function src_compile, Line 240, Exitcode 2 !!! (no error message) I'm sorry if I pasted too much, I just pasted one screen full. Reproducible: Always Steps to Reproduce: 1.emerge mplayer 2. 3. emerge info: Portage 2.0.46-r12 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r3) ================================================================= System uname: 2.4.20 i686 VIA Samuel 2 GENTOO_MIRRORS="ftp://ftp.ibiblio.org/pub/linux/distributions/gentoo ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://gentoo.oregonstate.edu ftp://ftp.oregonstate.edu/pub/gentoo http://distro.ibiblio.org/gentoo " CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/tmp" PORTDIR_OVERLAY="" USE="x86 3dnow avi crypt cups encode gif jpeg libg++ mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline java X sdl gpm tcpd pam libwww ssl python imlib oggvorbis gtk opengl aalib acpi apache2 -apm -arts atlas curl dga doc dvd ethereal flash freetype gd ggi -gnome gphoto2 gps gtk2 gtkhtml guile imap innodb jikes junit -kde kerberos lcms ldap leim libgda mbox -motif mozilla mule mysql odbc -oss pda perl pic plotutils -qt -qtmt samba sasl scanner slp snmp sse -svga tcltk tetex tiff usb xml" COMPILER="gcc3" CHOST="i586-pc-linux-gnu" CFLAGS="-march=i586 -m3dnow -O2 -pipe -fomit-frame-pointer" CXXFLAGS="-march=i586 -m3dnow -O2 -pipe -fomit-frame-pointer" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
can you emerge libsdl again and try mplayer again?
mplayer rc4 builds and runs flawlessly here. Can this ebuild be marked stable?
Ok, I've recompiled everything a few times and this is what I found. Because I compile sound into my kernel, I set all the sound crap off in my USE variables. That means no esd, or also or oss or any other sound thing. Well, sdl will compile just fine without any sound settings but it crashes if you try to run it I guess. So I turned on alsa and oss and recompiled sdl and now mplayer has compiled. Thanks!
The sound USE flags are just for what sound you use. In the case of 'oss', it just ENABLES oss support,, but do not pull any libs. For esound, arts, etc, it make sure that esound, etc is installed ....