[MPlayer-matrox] Building mga_vid on Fedora Core 3
Ian Pilcher
i.pilcher at comcast.net
Sat Feb 5 01:13:33 CET 2005
Does anyone know how to do it? I get the errors below:
[pilcher at home mga-vid-2.6.10]$ make
make mga_vid.ko mga_vid_test
make[1]: Entering directory `/home/pilcher/temp/mga-vid-2.6.10'
make -C /lib/modules/`uname -r`/build
SUBDIRS=/home/pilcher/temp/mga-vid-2.6.10 modules
make[2]: Entering directory `/lib/modules/2.6.10-1.760_FC3smp/build'
CC [M] /home/pilcher/temp/mga-vid-2.6.10/mga_vid.o
In file included from include/asm/processor.h:18,
from include/asm/thread_info.h:17,
from include/linux/thread_info.h:21,
from include/linux/spinlock.h:12,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from /home/pilcher/temp/mga-vid-2.6.10/mga_vid.c:48:
include/asm/system.h: In function `__set_64bit_var':
include/asm/system.h:193: warning: dereferencing type-punned pointer
will break strict-aliasing rule
s
include/asm/system.h:193: warning: dereferencing type-punned pointer
will break strict-aliasing rule
s
In file included from include/asm/smp.h:18,
from include/linux/smp.h:17,
from include/linux/sched.h:23,
from include/linux/module.h:10,
from /home/pilcher/temp/mga-vid-2.6.10/mga_vid.c:48:
include/asm/mpspec.h:6:25: mach_mpspec.h: No such file or directory
In file included from include/asm/smp.h:18,
from include/linux/smp.h:17,
from include/linux/sched.h:23,
from include/linux/module.h:10,
from /home/pilcher/temp/mga-vid-2.6.10/mga_vid.c:48:
include/asm/mpspec.h: At top level:
include/asm/mpspec.h:8: error: `MAX_MP_BUSSES' undeclared here (not in a
function)
include/asm/mpspec.h:22: error: `MAX_IRQ_SOURCES' undeclared here (not
in a function)
In file included from include/linux/smp.h:17,
from include/linux/sched.h:23,
from include/linux/module.h:10,
from /home/pilcher/temp/mga-vid-2.6.10/mga_vid.c:48:
include/asm/smp.h:72:26: mach_apicdef.h: No such file or directory
In file included from include/linux/smp.h:17,
from include/linux/sched.h:23,
from include/linux/module.h:10,
from /home/pilcher/temp/mga-vid-2.6.10/mga_vid.c:48:
include/asm/smp.h: In function `hard_smp_processor_id':
include/asm/smp.h:76: warning: implicit declaration of function
`GET_APIC_ID'
In file included from /home/pilcher/temp/mga-vid-2.6.10/mga_vid.c:52:
include/linux/cdev.h: At top level:
include/linux/cdev.h:24: warning: "struct inode" declared inside
parameter list
include/linux/cdev.h:24: warning: its scope is only this definition or
declaration, which is probably not what you want
/home/pilcher/temp/mga-vid-2.6.10/mga_vid.c: In function `mga_vid_mmap':
/home/pilcher/temp/mga-vid-2.6.10/mga_vid.c:952: warning:
`remap_page_range' is deprecated (declared at include/linux/mm.h:778)
make[3]: *** [/home/pilcher/temp/mga-vid-2.6.10/mga_vid.o] Error 1
make[2]: *** [_module_/home/pilcher/temp/mga-vid-2.6.10] Error 2
make[2]: Leaving directory `/lib/modules/2.6.10-1.760_FC3smp/build'
make[1]: *** [mga_vid.ko] Error 2
make[1]: Leaving directory `/home/pilcher/temp/mga-vid-2.6.10'
make: *** [all] Error 2
Thanks!
--
========================================================================
Ian Pilcher i.pilcher at comcast.net
========================================================================
More information about the MPlayer-matrox
mailing list