I've tryed to compile the module........this is the log...
/usr/bin/make -C /usr/src/modules/gspca KERNEL_VERSION=2.6.27-7-generic KERNELDIR=/usr/src/linux-headers-2.6.27-7-generic make[2]: Entering directory `/usr/src/modules/gspca' /usr/bin/make -C /usr/src/linux-headers-2.6.27-7-generic SUBDIRS=/usr/src/modules/gspca CC=gcc modules make[3]: Entering directory `/usr/src/linux-headers-2.6.27-7-generic' CC [M] /usr/src/modules/gspca/gspca_core.o /usr/src/modules/gspca/gspca_core.c:54:27: error: asm/semaphore.h: Nessun file o directory /usr/src/modules/gspca/gspca_core.c: In function ‘spca5xx_ioctl’: /usr/src/modules/gspca/gspca_core.c:2463: error: implicit declaration of function ‘video_usercopy’ /usr/src/modules/gspca/gspca_core.c: At top level: /usr/src/modules/gspca/gspca_core.c:2604: error: ‘v4l_compat_ioctl32’ undeclared here (not in a function) /usr/src/modules/gspca/gspca_core.c:2609: error: unknown field ‘owner’ specified in initializer /usr/src/modules/gspca/gspca_core.c:2609: warning: initialization from incompatible pointer type /usr/src/modules/gspca/gspca_core.c:2611: error: unknown field ‘type’ specified in initializer /usr/src/modules/gspca/gspca_core.c: In function ‘spca50x_create_sysfs’: /usr/src/modules/gspca/gspca_core.c:2769: error: implicit declaration of function ‘video_device_create_file’ /usr/src/modules/gspca/gspca_core.c:2780: error: implicit declaration of function ‘video_device_remove_file’ /usr/src/modules/gspca/gspca_core.c: In function ‘spca5xx_probe’: /usr/src/modules/gspca/gspca_core.c:4301: error: incompatible types in assignment make[4]: *** [/usr/src/modules/gspca/gspca_core.o] Error 1 make[3]: *** [_module_/usr/src/modules/gspca] Error 2 make[3]: Leaving directory `/usr/src/linux-headers-2.6.27-7-generic' make[2]: *** [default] Error 2 make[2]: Leaving directory `/usr/src/modules/gspca' make[1]: *** [binary-modules] Error 2 make[1]: Leaving directory `/usr/src/modules/gspca' make: *** [kdist_build] Error 2
I hope can help to fix
I've tryed to compile the module........this is the log...
/usr/bin/make -C /usr/src/ modules/ gspca KERNEL_ VERSION= 2.6.27- 7-generic KERNELDIR= /usr/src/ linux-headers- 2.6.27- 7-generic modules/ gspca' linux-headers- 2.6.27- 7-generic SUBDIRS= /usr/src/ modules/ gspca CC=gcc modules linux-headers- 2.6.27- 7-generic' modules/ gspca/gspca_ core.o modules/ gspca/gspca_ core.c: 54:27: error: asm/semaphore.h: Nessun file o directory modules/ gspca/gspca_ core.c: In function ‘spca5xx_ioctl’: modules/ gspca/gspca_ core.c: 2463: error: implicit declaration of function ‘video_usercopy’ modules/ gspca/gspca_ core.c: At top level: modules/ gspca/gspca_ core.c: 2604: error: ‘v4l_compat_ ioctl32’ undeclared here (not in a function) modules/ gspca/gspca_ core.c: 2609: error: unknown field ‘owner’ specified in initializer modules/ gspca/gspca_ core.c: 2609: warning: initialization from incompatible pointer type modules/ gspca/gspca_ core.c: 2611: error: unknown field ‘type’ specified in initializer modules/ gspca/gspca_ core.c: In function ‘spca50x_ create_ sysfs’: modules/ gspca/gspca_ core.c: 2769: error: implicit declaration of function ‘video_ device_ create_ file’ modules/ gspca/gspca_ core.c: 2780: error: implicit declaration of function ‘video_ device_ remove_ file’ modules/ gspca/gspca_ core.c: In function ‘spca5xx_probe’: modules/ gspca/gspca_ core.c: 4301: error: incompatible types in assignment modules/ gspca/gspca_ core.o] Error 1 /usr/src/ modules/ gspca] Error 2 linux-headers- 2.6.27- 7-generic' modules/ gspca' modules/ gspca'
make[2]: Entering directory `/usr/src/
/usr/bin/make -C /usr/src/
make[3]: Entering directory `/usr/src/
CC [M] /usr/src/
/usr/src/
/usr/src/
/usr/src/
/usr/src/
/usr/src/
/usr/src/
/usr/src/
/usr/src/
/usr/src/
/usr/src/
/usr/src/
/usr/src/
/usr/src/
make[4]: *** [/usr/src/
make[3]: *** [_module_
make[3]: Leaving directory `/usr/src/
make[2]: *** [default] Error 2
make[2]: Leaving directory `/usr/src/
make[1]: *** [binary-modules] Error 2
make[1]: Leaving directory `/usr/src/
make: *** [kdist_build] Error 2
I hope can help to fix