#38 Compile has errors in kernel 2.4.20-13.8.i386

open
nobody
None
5
2003-05-16
2003-05-16
Anonymous
No

Cant compile anymore under the previous it worked fine
but not with the new kernal in RH8

May 16 18:31:02 hleever kernel: usb.c: USB disconnect
on device 00:04.2-2 address 2
May 16 18:31:08 hleever kernel: hub.c: new USB device
00:04.2-2, assigned address 3
May 16 18:31:08 hleever kernel: usb.c: USB device 3
(vend/prod 0x46d/0x840) is not claimed by any active
driver.
May 16 18:31:11 hleever /etc/hotplug/usb.agent: Setup
mod_quickcam for USB product 46d/840/100
May 16 18:31:12 hleever insmod:
/lib/modules/2.4.20-13.8/kernel/drivers/usb/mod_quickcam.o:
kernel-module version mismatch
^I/lib/modules/2.4.20-13.8/kernel/drivers/usb/mod_quickcam.o
was compiled for kernel version 2.4.18-27.8.0 ^Iwhile
this kernel is version 2.4.20-13.8.
May 16 18:31:12 hleever insmod:
/lib/modules/2.4.20-13.8/kernel/drivers/usb/mod_quickcam.o:
insmod
/lib/modules/2.4.20-13.8/kernel/drivers/usb/mod_quickcam.o
failed
May 16 18:31:12 hleever insmod:
/lib/modules/2.4.20-13.8/kernel/drivers/usb/mod_quickcam.o:
insmod mod_quickcam failed
May 16 18:31:12 hleever /etc/hotplug/usb.agent: ...
can't load module mod_quickcam
May 16 18:31:12 hleever /etc/hotplug/usb.agent: missing
kernel or user mode driver mod_quickcam

This are the messages which i get when i insert the camera
Now the compile messages:

[root@hleever qce-ga-0.40d]# make
cc -I/lib/modules/2.4.20-13.8/build/drivers/usb
-I/lib/modules/2.4.20-13.8/build/include -include
/lib/modules/2.4.20-13.8/build/include/linux/config.h
-O3 -Wall -Wstrict-prototypes -fomit-frame-pointer
-pipe -DMODULE -D__KERNEL__ -DEXPORT_SYMTAB
-DMODVERSIONS -include
/lib/modules/2.4.20-13.8/build/include/linux/modversions.h
-c quickcam.c
quickcam.c: In function `quickcam_mmap':
quickcam.c:2099: warning: passing arg 1 of
`remap_page_range_R323728a8' makes pointer from integer
without a cast
quickcam.c:2099: incompatible type for argument 4 of
`remap_page_range_R323728a8'
quickcam.c:2099: too few arguments to function
`remap_page_range_R323728a8'
quickcam.c: At top level:
quickcam.c:2126: warning: initialization from
incompatible pointer type
make: *** [quickcam.o] Error 1
[root@hleever qce-ga-0.40d]#

Can anyonw tell what to doo???

Discussion