Web lists-archives.org

[Spca50x-devs] logitech quickcam 0x046d 0x0928 make error




Hello

I've been using the spca5xx-20060501 driver on Linux 2.4.20-18.7 and 
building the spca5xx.o module fails:

Compiling drivers/usb/spca5xx.c
In file included from 
/lib/modules/2.4.20-18.7/build/include/linux/vmalloc.h:8,
                 from drivers/usb/spca5xx.c:47:
/lib/modules/2.4.20-18.7/build/include/linux/highmem.h: In function 
`bh_kmap':
/lib/modules/2.4.20-18.7/build/include/linux/highmem.h:20: warning: 
pointer of type `void *' used in arithmetic
drivers/usb/spca5xx.c: In function `spca50x_read_proc':
drivers/usb/spca5xx.c:1097: structure has no member named `seq'
drivers/usb/spca5xx.c: In function `spca5xx_mmap':
drivers/usb/spca5xx.c:3233: `vma' undeclared (first use in this function)
drivers/usb/spca5xx.c:3233: (Each undeclared identifier is reported only 
once
drivers/usb/spca5xx.c:3233: for each function it appears in.)
drivers/usb/spca5xx.c: At top level:
drivers/usb/spca5xx.c:3281: warning: initialization from incompatible 
pointer type
drivers/usb/spca5xx.c:5656: warning: initialization from incompatible 
pointer type
drivers/usb/spca5xx.c:5657: warning: initialization from incompatible 
pointer type
drivers/usb/spca5xx.c:5658: warning: initialization from incompatible 
pointer type
drivers/usb/spca5xx.c:5659: warning: braces around scalar initializer
drivers/usb/spca5xx.c:5659: warning: (near initialization for 
`spca5xx_driver.disconnect')
drivers/usb/spca5xx.c:5659: warning: excess elements in scalar initializer
drivers/usb/spca5xx.c:5659: warning: (near initialization for 
`spca5xx_driver.disconnect')
drivers/usb/spca5xx.c:151: warning: `bright' defined but not used
drivers/usb/spca5xx.c:152: warning: `contrast' defined but not used
make: *** [drivers/usb/spca5xx.o] Erreur 1

thanks,
JP



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Spca50x-devs mailing list
Spca50x-devs@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/spca50x-devs