[MPlayer-users] build error with mplayer-export-2010-01-23

Sebastien Fievet sebastien.fievet at free.fr
Sat Jan 23 23:06:17 CET 2010


Hi,

I am trying to compile mplayer with external shared ffmpeg  libraries.
I fetched and compile ffmpeg the same day as mplayer (ffmpeg-export-2010-01-23)

mplayer's configure script is happy, despite it says it doesn't like my idea of compiling mplayer against dynamic versions of ffmpeg libs.
[snip]
Checking for FFmpeg libavutil ... yes 
Checking for FFmpeg libavcodec ... yes (libavcodec.so is discouraged over static libavcodec)
Checking for FFmpeg libavformat ... yes 
Checking for FFmpeg libpostproc ... yes (using libpostproc.so, but static libpostproc is recommended)
Checking for FFmpeg libswscale ... yes (using libswscale.so, but static libswscale is recommended)
[snip]

The compilation runsfine until the final linking stage, where i have the following error :

libmpcodecs/vf_halfpack.o: In function `put_image':
vf_halfpack.c:(.text+0x420): undefined reference to `yuv422ptoyuy2'
libmpcodecs/vf_palette.o: In function `put_image':
vf_palette.c:(.text+0x409): undefined reference to `palette8topacked32'
vf_palette.c:(.text+0x456): undefined reference to `palette8topacked24'
vf_palette.c:(.text+0x482): undefined reference to `palette8torgb16'
vf_palette.c:(.text+0x4b2): undefined reference to `palette8torgb15'
vf_palette.c:(.text+0x4d6): undefined reference to `palette8tobgr16'
vf_palette.c:(.text+0x4f6): undefined reference to `palette8tobgr15'
vf_palette.c:(.text+0x55b): undefined reference to `palette8topacked32'
vf_palette.c:(.text+0x5b8): undefined reference to `palette8torgb15'
vf_palette.c:(.text+0x61f): undefined reference to `palette8torgb16'
vf_palette.c:(.text+0x645): undefined reference to `palette8topacked24'
vf_palette.c:(.text+0x66b): undefined reference to `palette8tobgr15'
vf_palette.c:(.text+0x691): undefined reference to `palette8tobgr16'
libmpcodecs/vf_rgb2bgr.o: In function `put_image':
vf_rgb2bgr.c:(.text+0x203): undefined reference to `rgb24tobgr24'
vf_rgb2bgr.c:(.text+0x23c): undefined reference to `rgb32tobgr32'
vf_rgb2bgr.c:(.text+0x284): undefined reference to `rgb24tobgr24'
vf_rgb2bgr.c:(.text+0x2c5): undefined reference to `rgb32tobgr32'
libmpcodecs/vf_yuy2.o: In function `put_image':
vf_yuy2.c:(.text+0x114): undefined reference to `yv12toyuy2'
vf_yuy2.c:(.text+0x180): undefined reference to `yuv422ptoyuy2'
collect2: ld returned 1 exit status

I believe the correct linking information doesn't pass along the make process, but i
failed to find where to feed it in.... My software skills being a little basic, a little help
in debugging this would be much appreciated!

kind regards,
Seb.

BTW : it's not my first  ffmpeg/mplayer upgrade ever. I am doing this quiet often...
But it's the first time since a long time that compilation breaks. :-(



More information about the MPlayer-users mailing list