[MPlayer-users] mga_vid driver: compilation error with remap_page_range

Dominik 'Rathann' Mierzejewski dominik at rangers.eu.org
Sat Oct 4 14:27:25 CEST 2003


On Friday, 03 October 2003, Derek wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> Hi,
> 
> It appears that there is an error in drivers/mga_vid.c.
> The compiler complains that the function remap_page_range() need more 
> than 4 arguments.
> 
> In the code, the function is given 5 arguments if the kernel is >= 
> 2.5.3. It seems to apply to my 2.4.20 kernel source too.
[...] 
> I am using a RedHat 9 kernel (2.4.20-20.9smp) and gcc-3.2.2

No. It applies only to RedHat's patched 2.4.20 kernel. Either use vanilla
kernel.org kernel or change the appropriate line to read >= 2.4.20.

-- 
MPlayer RPMs maintainer: http://www.piorunek.pl/~dominik/linux/pkgs/mplayer/
"The Universe doesn't give you any points for doing things that are easy."
        -- Sheridan to Garibaldi in Babylon 5:"The Geometry of Shadows"



More information about the MPlayer-users mailing list