I use :
Mandriva 2009.0 (french)
kernel 2.6.27-desktop-0.rc8.2mnb
Here is my kgspca.err :
make -C /lib/modules/`uname -r`/build SUBDIRS=/usr/src/gspcav1-20071224 CC=cc modules
make[1]: entrant dans le répertoire « /usr/src/linux-2.6.27-desktop-0.rc8.2mnb »
CC [M] /usr/src/gspcav1-20071224/gspca_core.o
/usr/src/gspcav1-20071224/gspca_core.c:54:27: erreur: asm/semaphore.h : Aucun fichier ou dossier de ce type
/usr/src/gspcav1-20071224/gspca_core.c: In function ‘spca5xx_ioctl’:
/usr/src/gspcav1-20071224/gspca_core.c:2463: erreur: implicit declaration of function ‘video_usercopy’
/usr/src/gspcav1-20071224/gspca_core.c: Hors de toute fonction :
/usr/src/gspcav1-20071224/gspca_core.c:2604: erreur: ‘v4l_compat_ioctl32’ undeclared here (not in a function)
/usr/src/gspcav1-20071224/gspca_core.c:2609: erreur: unknown field ‘owner’ specified in initializer
/usr/src/gspcav1-20071224/gspca_core.c:2609: attention : initialization from incompatible pointer type
/usr/src/gspcav1-20071224/gspca_core.c:2611: erreur: unknown field ‘type’ specified in initializer
/usr/src/gspcav1-20071224/gspca_core.c: In function ‘spca50x_create_sysfs’:
/usr/src/gspcav1-20071224/gspca_core.c:2769: erreur: implicit declaration of function ‘video_device_create_file’
/usr/src/gspcav1-20071224/gspca_core.c:2780: erreur: implicit declaration of function ‘video_device_remove_file’
/usr/src/gspcav1-20071224/gspca_core.c: In function ‘spca5xx_probe’:
/usr/src/gspcav1-20071224/gspca_core.c:4301: erreur: incompatible types in assignment
make[2]: *** [/usr/src/gspcav1-20071224/gspca_core.o] Erreur 1
make[1]: *** [_module_/usr/src/gspcav1-20071224] Erreur 2
make[1]: quittant le répertoire « /usr/src/linux-2.6.27-desktop-0.rc8.2mnb »
make: *** [default] Erreur 2
What can I do now ?
I have the same error code :
make -C /lib/modules/`uname -r`/build SUBDIRS=/home/admin-eric/gspcav1-20071224 CC=cc modules
make[1]: entrant dans le répertoire « /usr/src/linux-headers-2.6.27-9-generic »
CC [M] /home/admin-eric/gspcav1-20071224/gspca_core.o
/home/admin-eric/gspcav1-20071224/gspca_core.c:54:27: error: asm/semaphore.h: Aucun fichier ou dossier de ce type
/home/admin-eric/gspcav1-20071224/gspca_core.c: In function ‘spca5xx_ioctl’:
/home/admin-eric/gspcav1-20071224/gspca_core.c:2466: erreur: implicit declaration of function ‘video_usercopy’
/home/admin-eric/gspcav1-20071224/gspca_core.c: Hors de toute fonction :
/home/admin-eric/gspcav1-20071224/gspca_core.c:2612: erreur: unknown field ‘owner’ specified in initializer
/home/admin-eric/gspcav1-20071224/gspca_core.c:2612: attention : initialization from incompatible pointer type
/home/admin-eric/gspcav1-20071224/gspca_core.c:2614: erreur: unknown field ‘type’ specified in initializer
/home/admin-eric/gspcav1-20071224/gspca_core.c: In function ‘spca50x_create_sysfs’:
/home/admin-eric/gspcav1-20071224/gspca_core.c:2772: erreur: implicit declaration of function ‘video_device_create_file’
/home/admin-eric/gspcav1-20071224/gspca_core.c:2783: erreur: implicit declaration of function ‘video_device_remove_file’
/home/admin-eric/gspcav1-20071224/gspca_core.c: In function ‘spca5xx_probe’:
/home/admin-eric/gspcav1-20071224/gspca_core.c:4314: erreur: incompatible types in assignment
make[2]: *** [/home/admin-eric/gspcav1-20071224/gspca_core.o] Erreur 1
make[1]: *** [_module_/home/admin-eric/gspcav1-20071224] Erreur 2
make[1]: quittant le répertoire « /usr/src/linux-headers-2.6.27-9-generic »
make: *** [default] Erreur 2
(Ubuntu intrepid 32)