[MPlayer-users] Hidden Symbols

Mike Lothian mike at fireburn.co.uk
Fri Feb 19 00:21:21 CET 2010


Hi

I'm not sure which mailing list is relevent but if you compile the
latest mplayer with the latest ffmpeg, it fails

This is due to some required symbols not being exported by libswscale

libmpcodecs/vf_palette.o: In function `put_image':
vf_palette.c:(.text+0x3b6): undefined reference to `palette8topacked32'
vf_palette.c:(.text+0x3f1): undefined reference to `palette8topacked24'
vf_palette.c:(.text+0x413): undefined reference to `palette8torgb16'
vf_palette.c:(.text+0x433): undefined reference to `palette8torgb15'
vf_palette.c:(.text+0x449): undefined reference to `palette8tobgr16'
vf_palette.c:(.text+0x461): undefined reference to `palette8tobgr15'
vf_palette.c:(.text+0x4ca): undefined reference to `palette8topacked32'
vf_palette.c:(.text+0x51e): undefined reference to `palette8torgb15'
vf_palette.c:(.text+0x573): undefined reference to `palette8torgb16'
vf_palette.c:(.text+0x590): undefined reference to `palette8topacked24'
vf_palette.c:(.text+0x5ad): undefined reference to `palette8tobgr15'
vf_palette.c:(.text+0x5ca): undefined reference to `palette8tobgr16'
libmpcodecs/vf_rgb2bgr.o: In function `put_image':
vf_rgb2bgr.c:(.text+0x1e7): undefined reference to `rgb24tobgr24'
vf_rgb2bgr.c:(.text+0x21a): undefined reference to `rgb32tobgr32'
vf_rgb2bgr.c:(.text+0x284): undefined reference to `rgb24tobgr24'
vf_rgb2bgr.c:(.text+0x2a0): undefined reference to `rgb32tobgr32'
libmpcodecs/vf_yuy2.o: In function `put_image':
vf_yuy2.c:(.text+0xe7): undefined reference to `yv12toyuy2'
vf_yuy2.c:(.text+0x144): undefined reference to `yuv422ptoyuy2'
collect2: ld returned 1 exit status
make: *** [mencoder] Error 1
make: *** Waiting for unfinished jobs....
libvo/vo_yuv4mpeg.o: In function `flip_page':
vo_yuv4mpeg.c:(.text+0x614): undefined reference to `rgb24toyv12'
vo_yuv4mpeg.c:(.text+0x670): undefined reference to `rgb24toyv12'
vo_yuv4mpeg.c:(.text+0x7c0): undefined reference to `rgb24toyv12'
libmpcodecs/vf_palette.o: In function `put_image':
vf_palette.c:(.text+0x3b6): undefined reference to `palette8topacked32'
vf_palette.c:(.text+0x3f1): undefined reference to `palette8topacked24'
vf_palette.c:(.text+0x413): undefined reference to `palette8torgb16'
vf_palette.c:(.text+0x433): undefined reference to `palette8torgb15'
vf_palette.c:(.text+0x449): undefined reference to `palette8tobgr16'
vf_palette.c:(.text+0x461): undefined reference to `palette8tobgr15'
vf_palette.c:(.text+0x4ca): undefined reference to `palette8topacked32'
vf_palette.c:(.text+0x51e): undefined reference to `palette8torgb15'
vf_palette.c:(.text+0x573): undefined reference to `palette8torgb16'
vf_palette.c:(.text+0x590): undefined reference to `palette8topacked24'
vf_palette.c:(.text+0x5ad): undefined reference to `palette8tobgr15'
vf_palette.c:(.text+0x5ca): undefined reference to `palette8tobgr16'
libmpcodecs/vf_rgb2bgr.o: In function `put_image':
vf_rgb2bgr.c:(.text+0x1e7): undefined reference to `rgb24tobgr24'
vf_rgb2bgr.c:(.text+0x21a): undefined reference to `rgb32tobgr32'
vf_rgb2bgr.c:(.text+0x284): undefined reference to `rgb24tobgr24'
vf_rgb2bgr.c:(.text+0x2a0): undefined reference to `rgb32tobgr32'
libmpcodecs/vf_yuy2.o: In function `put_image':
vf_yuy2.c:(.text+0xe7): undefined reference to `yv12toyuy2'
vf_yuy2.c:(.text+0x144): undefined reference to `yuv422ptoyuy2'

This can be resolved by changing libswscale.v to have global * and
removing the local option

My question is should these symbols be exported by libswscale or
should mplayer not use them?

Cheers

Mike


More information about the MPlayer-users mailing list