Hello
I have an old quickcam express, and tried to compile
this module, but I get errors all the time.
I have puted the files in /usr/src/qce-ga-0.40d
Output form the "make" command:
[root@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
Any suggestions?
Regards
Paal Erik
Logged In: NO
Me too :<
I have used the gce-ga-0.4d and cvs from March 2003. They can be
compiled and functioned properly.
I just reinstall the PC into Redhat 9.0 and download the current CVS. It
gives the following error. I have tried the 0.4d and the CVS from March.
It still provide the following error.
Please help *_*"
+++++++++++++++++++++++++++++++++
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
++++++++++++++++++++++++++++++++++++++++
Many Thx!!!
Takasuki
Logged In: NO
Well, I have exactly the same problem, with the same distro.
I've tried with another gcc version (2.95.3 - 3.03 and
3.2.2). ==> nothing to do, it doesn't work.
Logged In: YES
user_id=638161
http://www.ee.oulu.fi/~tuukkat/quickcam/FAQ