The version is MPlayer-0.90
As I have a Matrox G450 card, I am trying to build the mga_vid driver for Red Hat 9 with gcc-3.2.2-5.
In the directory MPlayer-0.90/drivers, I do a make and get
-----------------------------------------------------------------------------------
cc -O2 -D__KERNEL__ -DMODULE -include /usr/src/linux/include/linux/modversions.h -I/usr/src/linux/include -c mga_vid.c
In file included from /usr/src/linux/include/linux/prefetch.h:13,
from /usr/src/linux/include/linux/list.h:6,
from /usr/src/linux/include/linux/module.h:12,
from mga_vid.c:36:
/usr/src/linux/include/asm/processor.h:268:1: warning: "EISA_bus" redefined
In file included from /usr/src/linux/include/linux/modversions.h:1038,
from <command line>:1:
/usr/src/linux/include/linux/modules/i386_ksyms.ver:101:1: warning: this is the location of the previous definition
mga_vid.c: In function `mga_vid_mmap':
mga_vid.c:1506: warning: passing arg 1 of `remap_page_range_R492427ce' makes pointer from integer without a cast
mga_vid.c:1506: incompatible type for argument 4 of `remap_page_range_R492427ce'
mga_vid.c:1506: too few arguments to function `remap_page_range_R492427ce'
make: *** [mga_vid.o] Error 1
----------------------------------------------------------------------------------
Has anybody overcome this problem and built the drived under RedHat 9?
|