I recently downloaded a driver for my QuickCam Express from
http://qce-ga.sourceforge.net and uncompressed the file. Following intructions, I typed "make". The following seems to be the output:
[sumit@localhost qce-ga-0.40d]$ make
cc -I/lib/modules/2.4.20-8/build/drivers/usb -I/lib/modules/2.4.20-8/build/include -include /lib/modules/2.4.20-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-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_R2baf18f2' makes pointer from integer without a cast
quickcam.c:2099: incompatible type for argument 4 of `remap_page_range_R2baf18f2'
quickcam.c:2099: too few arguments to function `remap_page_range_R2baf18f2'
quickcam.c: At top level:
quickcam.c:2126: warning: initialization from incompatible pointer type
make: *** [quickcam.o] Error 1
I seem to fulfill all the conditions given on the web page:
* Kernel > 2.2.18, Kernel 2.4.x, or Kernel 2.5.x with USB and V4L support
* Kernel Source for the same kernel installed under /usr/src/
* A working installation of gcc > 2.95
My kernel version is 2.4.20-8 and gcc version is 3.2 . I made sure that I installed the source code for the kernel but still I seem to be getting nowhere!
I would be extremely grateful if someone could help me out of this mess.
Thanks.
Sumit.