- priority: 5 --> 6
My camera is a creative webcam.
This is my error file:
make -C /lib/modules/`uname -r`/build SUBDIRS=/home/jasonsilver/Desktop/gspcav1-20071224 CC=cc modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.31-14-generic'
CC [M] /home/jasonsilver/Desktop/gspcav1-20071224/gspca_core.o
/home/jasonsilver/Desktop/gspcav1-20071224/gspca_core.c:54:27: error: asm/semaphore.h: No such file or directory
In file included from /home/jasonsilver/Desktop/gspcav1-20071224/gspca_core.c:845:
/home/jasonsilver/Desktop/gspcav1-20071224/utils/spcausb.h: In function ‘spca5xxRegRead’:
/home/jasonsilver/Desktop/gspcav1-20071224/utils/spcausb.h:95: error: implicit declaration of function ‘info’
/home/jasonsilver/Desktop/gspcav1-20071224/utils/spcausb.h: In function ‘spca_set_interface’:
/home/jasonsilver/Desktop/gspcav1-20071224/utils/spcausb.h:278: error: implicit declaration of function ‘warn’
In file included from /home/jasonsilver/Desktop/gspcav1-20071224/gspca_core.c:853:
/home/jasonsilver/Desktop/gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.h: In function ‘sp5xxfw2_init’:
/home/jasonsilver/Desktop/gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.h:122: error: called object ‘info’ is not a function
/home/jasonsilver/Desktop/gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.h:136: error: called object ‘info’ is not a function
/home/jasonsilver/Desktop/gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.h:141: error: called object ‘info’ is not a function
/home/jasonsilver/Desktop/gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.h:148: error: called object ‘info’ is not a function
/home/jasonsilver/Desktop/gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.h:176: error: called object ‘info’ is not a function
/home/jasonsilver/Desktop/gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.h: In function ‘sp5xxfw2_start’:
/home/jasonsilver/Desktop/gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.h:214: error: called object ‘info’ is not a function
/home/jasonsilver/Desktop/gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.h:230: error: called object ‘info’ is not a function
/home/jasonsilver/Desktop/gspcav1-20071224/gspca_core.c: In function ‘spca5xx_ioctl’:
/home/jasonsilver/Desktop/gspcav1-20071224/gspca_core.c:2463: error: implicit declaration of function ‘video_usercopy’
/home/jasonsilver/Desktop/gspcav1-20071224/gspca_core.c: At top level:
/home/jasonsilver/Desktop/gspcav1-20071224/gspca_core.c:2604: error: ‘v4l_compat_ioctl32’ undeclared here (not in a function)
/home/jasonsilver/Desktop/gspcav1-20071224/gspca_core.c:2609: error: unknown field ‘owner’ specified in initializer
/home/jasonsilver/Desktop/gspcav1-20071224/gspca_core.c:2609: warning: initialization from incompatible pointer type
/home/jasonsilver/Desktop/gspcav1-20071224/gspca_core.c:2611: error: unknown field ‘type’ specified in initializer
/home/jasonsilver/Desktop/gspcav1-20071224/gspca_core.c:2615: warning: initialization from incompatible pointer type
/home/jasonsilver/Desktop/gspcav1-20071224/gspca_core.c: In function ‘spca50x_create_sysfs’:
/home/jasonsilver/Desktop/gspcav1-20071224/gspca_core.c:2769: error: implicit declaration of function ‘video_device_create_file’
/home/jasonsilver/Desktop/gspcav1-20071224/gspca_core.c:2780: error: implicit declaration of function ‘video_device_remove_file’
/home/jasonsilver/Desktop/gspcav1-20071224/gspca_core.c: In function ‘spca5xx_probe’:
/home/jasonsilver/Desktop/gspcav1-20071224/gspca_core.c:4301: error: incompatible types when assigning to type ‘struct device’ from type ‘struct device *’
make[2]: *** [/home/jasonsilver/Desktop/gspcav1-20071224/gspca_core.o] Error 1
make[1]: *** [_module_/home/jasonsilver/Desktop/gspcav1-20071224] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.31-14-generic'
make: *** [default] Error 2
Thanks,
Jason Silver