Summary: | media-video/mplayer-9999 fail to compile due to missing ffmpeg file(s) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Dominique Michel <dominique.c.michel> |
Component: | New packages | Assignee: | Gentoo Media-video project <media-video> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | wbrana |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge --info =media-video/mplayer-9999
complete build log ebuild environment |
Description
Dominique Michel
2011-08-17 21:43:03 UTC
Created attachment 283693 [details]
emerge --info =media-video/mplayer-9999
# emerge -pqv =media-video/mplayer-9999 [ebuild R ] media-video/mplayer-9999 USE="3dnow 3dnowext X a52 alsa ass bidi cddb cdio cdparanoia dga directfb dts dv dvb dvd dvdnav enca encode faad fbcon ftp gif gsm iconv ipv6 jack jpeg jpeg2k ladspa libmpeg2 lirc live lzo mad mmx mmxext mng mp3 mpg123 nas network nut openal opengl osdmenu oss png pnm pulseaudio pvr quicktime radio rar real rtc rtmp samba sdl shm speex sse sse2 ssse3 theora toolame tremor truetype twolame unicode v4l v4l2 vdpau vorbis x264 xanim xscreensaver xv xvid xvmc -aalib (-altivec) (-aqua) -bindist -bl -bluray -bs2b -cpudetection -custom-cpuopts -debug -doc -dxr3 -esd -faac -ggi -joystick -libcaca -md5sum -tga (-vidix) (-win32codecs) -xinerama -zoran" VIDEO_CARDS="vesa -mga -s3virge -tdfx" Created attachment 283695 [details]
complete build log
Created attachment 283697 [details]
ebuild environment
Also, for the codecs to work well with my workaround, it is necessary to remove the folloing line at the end of src_configure() --disable-ffmpeg_a \ After I commented out those 3 lines, compilation fails at link time libmpcodecs/ae_lavc.o: In function `mpae_init_lavc': ae_lavc.c:(.text+0x217): undefined reference to `avcodec_open2' libmpcodecs/ve_lavc.o: In function `config': ve_lavc.c:(.text+0x15a1): undefined reference to `avcodec_open2' libmpcodecs/ad_ffmpeg.o: In function `init': ad_ffmpeg.c:(.text+0x637): undefined reference to `avcodec_open2' libmpcodecs/vd_ffmpeg.o: In function `init': vd_ffmpeg.c:(.text+0x9b5): undefined reference to `avcodec_open2' libmpdemux/demux_lavf.o: In function `demux_open_lavf': demux_lavf.c:(.text+0x22af): undefined reference to `avformat_find_stream_info' collect2: ld returned 1 exit status make: *** [mencoder] Error 1 make: *** Waiting for unfinished jobs.... libmpcodecs/ad_ffmpeg.o: In function `init': ad_ffmpeg.c:(.text+0x637): undefined reference to `avcodec_open2' libmpcodecs/vd_ffmpeg.o: In function `init': vd_ffmpeg.c:(.text+0x9b5): undefined reference to `avcodec_open2' libmpdemux/demux_lavf.o: In function `demux_open_lavf': demux_lavf.c:(.text+0x22af): undefined reference to `avformat_find_stream_info' collect2: ld returned 1 exit status make: *** [mplayer] Error 1 After removing --disable-ffmpeg_a \ compilation was successful. After removing --disable-ffmpeg_a \ compilation was successful. This was fixed today. --disable-ffmpeg_a works again. (In reply to comment #8) > After removing > --disable-ffmpeg_a \ > compilation was successful. > > > This was fixed today. --disable-ffmpeg_a works again. -> fixed ? otherwise, please give the exact ffmpeg version which is installed on your system |