[MPlayer-users] [BUG] mga_vid won't compile on Red Hat 9

Dominik 'Rathann' Mierzejewski dominik at rangers.eu.org
Fri Apr 30 11:32:16 CEST 2004


On Thursday, 29 April 2004 at 23:28, Ville Saari wrote:
> I get the following errors when trying to compile mga_vid.c on
> Red Hat 9 (kernel 2.4.20, gcc 3.2.2):
> 
> mga_vid.c:1469: incompatible type for argument 4 of
> `remap_page_range_R2baf18f2'
> mga_vid.c:1469: too few arguments to function `remap_page_range_R2baf18f2'
> 
> This seems to fix it for me:
[...]
> -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,3)
> +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,20)
[...]
> but I don't know if it would break it for someone else.

RedHat's kernel is patched, so it's ok for you, but it'll break for anyone
using vanilla 2.4.20+ kernel.

-- 
MPlayer RPMs maintainer: http://greysector.rangers.eu.org/mplayer.html
"I am Grey. I stand between the candle and the star. We are Grey.
 We stand between the darkness ... and the light."
        -- Delenn in Grey Council in Babylon 5:"Babylon Squared"




More information about the MPlayer-users mailing list