compile error
Giuseppe Di Bona
gdbnet at tin.it
Thu Dec 4 12:06:55 UTC 2003
I'm trying to compile ov511-2.27 driver for my usb-cam but when i do
`make` i've got this errors:
gcc -c -D__KERNEL__ -DMODULE -DOUTSIDE_KERNEL -O2 -Wall
-Wstrict-prototypes -fomit-frame-pointer -I/usr/src/linux-2.4/include
-DMODVERSIONS -include /usr/src/linux-2.4/include/linux/modversions.h
-DRH9_REMAP -DCONFIG_OV511_DECOMP -DCONFIG_OV518_DECOMP -o ov511_core.o
ov511_core.c
In file included from /usr/src/linux-2.4/include/asm/semaphore.h:39,
from /usr/src/linux-2.4/include/linux/fs.h:202,
from /usr/src/linux-2.4/include/linux/capability.h:17,
from /usr/src/linux-2.4/include/linux/binfmts.h:4,
from /usr/src/linux-2.4/include/linux/sched.h:10,
from /usr/src/linux-2.4/include/linux/vmalloc.h:4,
from ov511_core.c:39:
/usr/src/linux-2.4/include/asm/system.h: In function `__set_64bit_var':
/usr/src/linux-2.4/include/asm/system.h:189: warning: dereferencing
type-punned pointer will break strict-aliasing rules
/usr/src/linux-2.4/include/asm/system.h:189: warning: dereferencing
type-punned pointer will break strict-aliasing rules
ov511_core.c: In function `ov51x_mmap':
ov511_core.c:4885: warning: passing arg 1 of
`remap_page_range_R69d01e73' makes integer from pointer without a cast
ov511_core.c:4885: error: incompatible type for argument 4 of
`remap_page_range_R69d01e73'
ov511_core.c:4885: error: too many arguments to function
`remap_page_range_R69d01e73'
make: *** [ov511_core.o] Error 1
What does it means?? How can i do??
Thanks
gdb
More information about the users
mailing list