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

Guillaume Poirier gpoirier at mplayerhq.hu
Wed Oct 25 16:39:45 CEST 2006


Hi,

Guillaume Poirier wrote:
> Hi,
> 
> Markus Rothe wrote:
> 
>>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.
> 
> 
> I've experienced this problem same problem too. Issue confirmed.

And I can confirm that this patch fixes the issue.



> Will apply the (trivial) patch in the next days unless someone disagrees.

It's really too trivial to delay applying it IMHO, patch applied (feel
free to flame me if you don't feel that way).

Guillaume



More information about the MPlayer-dev-eng mailing list