I can't get gspca to compile in ubuntu jaunty 9.04 2.6.28-11-generic there are all sorts of errors
/home/mkeith/gspcav1-20071224/gspca_core.c:54:27: error: asm/semaphore.h: No such file or directory
/home/mkeith/gspcav1-20071224/gspca_core.c: In function ‘spca5xx_ioctl’:
/home/mkeith/gspcav1-20071224/gspca_core.c:2463: error: implicit declaration of function ‘video_usercopy’
/home/mkeith/gspcav1-20071224/gspca_core.c: At top level:
/home/mkeith/gspcav1-20071224/gspca_core.c:2604: error: ‘v4l_compat_ioctl32’ undeclared here (not in a function)
/home/mkeith/gspcav1-20071224/gspca_core.c:2609: error: unknown field ‘owner’ specified in initializer
/home/mkeith/gspcav1-20071224/gspca_core.c:2609: warning: initialization from incompatible pointer type
/home/mkeith/gspcav1-20071224/gspca_core.c:2611: error: unknown field ‘type’ specified in initializer
/home/mkeith/gspcav1-20071224/gspca_core.c: In function ‘spca50x_create_sysfs’:
/home/mkeith/gspcav1-20071224/gspca_core.c:2769: error: implicit declaration of function ‘video_device_create_file’
/home/mkeith/gspcav1-20071224/gspca_core.c:2780: error: implicit declaration of function ‘video_device_remove_file’
/home/mkeith/gspcav1-20071224/gspca_core.c: In function ‘spca5xx_probe’:
/home/mkeith/gspcav1-20071224/gspca_core.c:4301: error: incompatible types in assignment
make[2]: *** [/home/mkeith/gspcav1-20071224/gspca_core.o] Error 1
make[1]: *** [_module_/home/mkeith/gspcav1-20071224] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.28-11-generic'
make: *** [default] Error 2