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


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
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:
kernel-module version mismatch
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:
May 16 18:31:12 hleever insmod:
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
-O3 -Wall -Wstrict-prototypes -fomit-frame-pointer
-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
quickcam.c:2099: too few arguments to function
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???


  • Nobody/Anonymous

    Logged In: NO

    Thanks Tuukkat,
    It now works perfectly!


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks