[MPlayer-dev-eng] [patch] compile issue on ppc64 (unresolved symbol)

Markus Rothe markus at unixforces.net
Wed Oct 25 16:11:33 CEST 2006


Hello,

if I try to compile mplayer (1.0_rc1 and previous) on Linux/PowerPC64 I am  
getting the following error while linking libvo:

libvo/libvo.a(vo_yuv4mpeg.o): In function `.flip_page':
vo_yuv4mpeg.c:(.text+0x5a4): undefined reference to `.rgb24toyv12'
vo_yuv4mpeg.c:(.text+0x5d0): undefined reference to `.rgb24toyv12'
vo_yuv4mpeg.c:(.text+0x840): undefined reference to `.rgb24toyv12'
collect2: ld returned 1 exit status

The attached patch fixes the issue, although I don't know if it is the correct  
fix.

The machine is running Gentoo Linux/PPC64 with 64bit userland and gcc-3.4.6, 
binutils-2.17. I also can reproduce the error with gcc-4.1.1.

Regards,

-markus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer-undefined-reference-fix.patch
Type: text/x-diff
Size: 316 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20061025/b170d0fa/attachment.patch>


More information about the MPlayer-dev-eng mailing list