Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 120439

Summary: media-plugins/gst-plugins-ffmpeg 0.8.7-r1 fails if libsdl has +noaudio
Product: Gentoo Linux Reporter: Rob Terhaar <rterhaar>
Component: Current packagesAssignee: GStreamer package maintainers <gstreamer>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: 2005.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Rob Terhaar 2006-01-26 09:22:12 UTC
media-plugins/gst-plugins-ffmpeg-0.8.7-r1 dies if my libsdl (media-libs/libsdl-1.2.8-r1) is compiled with the potentially dangerious noaudio useflag turned on. Everything worked once I recompiled libsdl with the noaudio flag turned off (double negitives, ouch) 

i686-pc-linux-gnu-gcc -O2 -march=pentium4 -fomit-frame-pointer -pipe -Wall -Wno-switch -o ffplay ffplay-cmdutils.o ffplay-ffplay.o  /usr/lib/libSDL.so -lX11 -lXext -lpthread libavutil/.libs/libavutil.a libavformat/.libs/libavformat.a -ldl /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libstdc++.so -L/usr/i686-pc-linux-gnu/bin -L/usr/i686-pc-linux-gnu/lib -L/usr/lib/gcc/i686-pc-linux-gnu/3.4.4 -L/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/lib -lgcc_s -lc libavcodec/.libs/libavcodec.a -lz -lm
ffplay-ffplay.o: In function `stream_component_open':
ffplay.c:(.text+0x24a5): undefined reference to `SDL_OpenAudio'
ffplay.c:(.text+0x26c0): undefined reference to `SDL_PauseAudio'
ffplay-ffplay.o: In function `stream_component_close':
ffplay.c:(.text+0x2821): undefined reference to `SDL_CloseAudio'
collect2: ld returned 1 exit status
make[7]: *** [ffplay] Error 1
make[7]: Leaving directory `/var/tmp/portage/gst-plugins-ffmpeg-0.8.7-r1/work/gst-ffmpeg-0.8.7/gst-libs/ext/ffmpeg'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory `/var/tmp/portage/gst-plugins-ffmpeg-0.8.7-r1/work/gst-ffmpeg-0.8.7/gst-libs/ext/ffmpeg'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/var/tmp/portage/gst-plugins-ffmpeg-0.8.7-r1/work/gst-ffmpeg-0.8.7/gst-libs/ext/ffmpeg'
make[4]: *** [all-local] Error 2
make[4]: Leaving directory `/var/tmp/portage/gst-plugins-ffmpeg-0.8.7-r1/work/gst-ffmpeg-0.8.7/gst-libs/ext'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/gst-plugins-ffmpeg-0.8.7-r1/work/gst-ffmpeg-0.8.7/gst-libs/ext'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gst-plugins-ffmpeg-0.8.7-r1/work/gst-ffmpeg-0.8.7/gst-libs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gst-plugins-ffmpeg-0.8.7-r1/work/gst-ffmpeg-0.8.7'
make: *** [all] Error 2
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-01-27 15:25:44 UTC
<snip>
ewarn "Since you've chosen to turn off some of libsdl's functionality,"
ewarn "don't bother filing libsdl-related bugs until trying to remerge"
ewarn "libsdl without the no* flags in USE.  You need to know what"
ewarn "you're doing to selectively turn off parts of libsdl."
</snip>