I've the same problem and when I want to fix it with the tip of Phil, I have :
alex@alex-desktop:~/.local/share/Trash/files/gspcav1-20071224$ sudo make config
make: *** Pas de règle pour fabriquer la cible « config ». Arrêt.
alex@alex-desktop:~/.local/share/Trash/files/gspcav1-20071224$ make
make -C /lib/modules/`uname -r`/build SUBDIRS=/home/alex/.local/share/Trash/files/gspcav1-20071224 CC=cc modules
make[1]: entrant dans le répertoire « /usr/src/linux-headers-2.6.27-7-generic »
CC [M] /home/alex/.local/share/Trash/files/gspcav1-20071224/gspca_core.o
/home/alex/.local/share/Trash/files/gspcav1-20071224/gspca_core.c:54:27: error: asm/semaphore.h: Aucun fichier ou dossier de ce type
/home/alex/.local/share/Trash/files/gspcav1-20071224/gspca_core.c: In function ‘spca5xx_ioctl’:
/home/alex/.local/share/Trash/files/gspcav1-20071224/gspca_core.c:2463: erreur: implicit declaration of function ‘video_usercopy’
/home/alex/.local/share/Trash/files/gspcav1-20071224/gspca_core.c: Hors de toute fonction :
/home/alex/.local/share/Trash/files/gspcav1-20071224/gspca_core.c:2609: erreur: unknown field ‘owner’ specified in initializer
/home/alex/.local/share/Trash/files/gspcav1-20071224/gspca_core.c:2609: attention : initialization from incompatible pointer type
/home/alex/.local/share/Trash/files/gspcav1-20071224/gspca_core.c:2611: erreur: unknown field ‘type’ specified in initializer
/home/alex/.local/share/Trash/files/gspcav1-20071224/gspca_core.c: In function ‘spca50x_create_sysfs’:
/home/alex/.local/share/Trash/files/gspcav1-20071224/gspca_core.c:2769: erreur: implicit declaration of function ‘video_device_create_file’
/home/alex/.local/share/Trash/files/gspcav1-20071224/gspca_core.c:2780: erreur: implicit declaration of function ‘video_device_remove_file’
/home/alex/.local/share/Trash/files/gspcav1-20071224/gspca_core.c: In function ‘spca5xx_probe’:
/home/alex/.local/share/Trash/files/gspcav1-20071224/gspca_core.c:4301: erreur: incompatible types in assignment
/home/alex/.local/share/Trash/files/gspcav1-20071224/gspca_core.c: Hors de toute fonction :
/home/alex/.local/share/Trash/files/gspcav1-20071224/gspca_core.c:4407: erreur fatale: ouverture du fichier de dépendances /home/alex/.local/share/Trash/files/gspcav1-20071224/.gspca_core.o.d: Permission non accordée
compilation terminée.
make[2]: *** [/home/alex/.local/share/Trash/files/gspcav1-20071224/gspca_core.o] Erreur 1
make[1]: *** [_module_/home/alex/.local/share/Trash/files/gspcav1-20071224] Erreur 2
make[1]: quittant le répertoire « /usr/src/linux-headers-2.6.27-7-generic »
make: *** [default] Erreur 2
I've the same problem and when I want to fix it with the tip of Phil, I have :
alex@alex- desktop: ~/.local/ share/Trash/ files/gspcav1- 20071224$ sudo make config desktop: ~/.local/ share/Trash/ files/gspcav1- 20071224$ make /home/alex/ .local/ share/Trash/ files/gspcav1- 20071224 CC=cc modules linux-headers- 2.6.27- 7-generic » .local/ share/Trash/ files/gspcav1- 20071224/ gspca_core. o .local/ share/Trash/ files/gspcav1- 20071224/ gspca_core. c:54:27: error: asm/semaphore.h: Aucun fichier ou dossier de ce type .local/ share/Trash/ files/gspcav1- 20071224/ gspca_core. c: In function ‘spca5xx_ioctl’: .local/ share/Trash/ files/gspcav1- 20071224/ gspca_core. c:2463: erreur: implicit declaration of function ‘video_usercopy’ .local/ share/Trash/ files/gspcav1- 20071224/ gspca_core. c: Hors de toute fonction : .local/ share/Trash/ files/gspcav1- 20071224/ gspca_core. c:2609: erreur: unknown field ‘owner’ specified in initializer .local/ share/Trash/ files/gspcav1- 20071224/ gspca_core. c:2609: attention : initialization from incompatible pointer type .local/ share/Trash/ files/gspcav1- 20071224/ gspca_core. c:2611: erreur: unknown field ‘type’ specified in initializer .local/ share/Trash/ files/gspcav1- 20071224/ gspca_core. c: In function ‘spca50x_ create_ sysfs’: .local/ share/Trash/ files/gspcav1- 20071224/ gspca_core. c:2769: erreur: implicit declaration of function ‘video_ device_ create_ file’ .local/ share/Trash/ files/gspcav1- 20071224/ gspca_core. c:2780: erreur: implicit declaration of function ‘video_ device_ remove_ file’ .local/ share/Trash/ files/gspcav1- 20071224/ gspca_core. c: In function ‘spca5xx_probe’: .local/ share/Trash/ files/gspcav1- 20071224/ gspca_core. c:4301: erreur: incompatible types in assignment .local/ share/Trash/ files/gspcav1- 20071224/ gspca_core. c: Hors de toute fonction : .local/ share/Trash/ files/gspcav1- 20071224/ gspca_core. c:4407: erreur fatale: ouverture du fichier de dépendances /home/alex/ .local/ share/Trash/ files/gspcav1- 20071224/ .gspca_ core.o. d: Permission non accordée alex/.local/ share/Trash/ files/gspcav1- 20071224/ gspca_core. o] Erreur 1 /home/alex/ .local/ share/Trash/ files/gspcav1- 20071224] Erreur 2 linux-headers- 2.6.27- 7-generic »
make: *** Pas de règle pour fabriquer la cible « config ». Arrêt.
alex@alex-
make -C /lib/modules/`uname -r`/build SUBDIRS=
make[1]: entrant dans le répertoire « /usr/src/
CC [M] /home/alex/
/home/alex/
/home/alex/
/home/alex/
/home/alex/
/home/alex/
/home/alex/
/home/alex/
/home/alex/
/home/alex/
/home/alex/
/home/alex/
/home/alex/
/home/alex/
/home/alex/
compilation terminée.
make[2]: *** [/home/
make[1]: *** [_module_
make[1]: quittant le répertoire « /usr/src/
make: *** [default] Erreur 2