[Install] Problema makefile
Inviato: venerdì 8 maggio 2009, 18:18
Vorrei installare una vecchia webcam trust sul mio notebook con xubuntu 8.10
Cercando in giro ho visto che è compatibile con il driver spca5xx. Non riesco però a compilarlo perchè pare che mi manchino dei file header... ???
I sorgenti del kernel li ho installati... cos'altro mi manca?
Grazie mille a chiunque voglia aiutarmi.
Cercando in giro ho visto che è compatibile con il driver spca5xx. Non riesco però a compilarlo perchè pare che mi manchino dei file header... ???
Codice: Seleziona tutto
angelo@ubuntu:~/gspcav1-20071224$ sudo make
make -C /lib/modules/`uname -r`/build SUBDIRS=/home/angelo/gspcav1-20071224 CC=cc modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-11-generic'
CC [M] /home/angelo/gspcav1-20071224/gspca_core.o
/home/angelo/gspcav1-20071224/gspca_core.c:54:27: error: asm/semaphore.h: Nessun file o directory
/home/angelo/gspcav1-20071224/gspca_core.c: In function ‘spca5xx_ioctl’:
/home/angelo/gspcav1-20071224/gspca_core.c:2463: error: implicit declaration of function ‘video_usercopy’
/home/angelo/gspcav1-20071224/gspca_core.c: At top level:
/home/angelo/gspcav1-20071224/gspca_core.c:2609: error: unknown field ‘owner’ specified in initializer
/home/angelo/gspcav1-20071224/gspca_core.c:2609: warning: initialization from incompatible pointer type
/home/angelo/gspcav1-20071224/gspca_core.c:2611: error: unknown field ‘type’ specified in initializer
/home/angelo/gspcav1-20071224/gspca_core.c: In function ‘spca50x_create_sysfs’:
/home/angelo/gspcav1-20071224/gspca_core.c:2769: error: implicit declaration of function ‘video_device_create_file’
/home/angelo/gspcav1-20071224/gspca_core.c:2780: error: implicit declaration of function ‘video_device_remove_file’
/home/angelo/gspcav1-20071224/gspca_core.c: In function ‘spca5xx_probe’:
/home/angelo/gspcav1-20071224/gspca_core.c:4301: error: incompatible types in assignment
make[2]: *** [/home/angelo/gspcav1-20071224/gspca_core.o] Error 1
make[1]: *** [_module_/home/angelo/gspcav1-20071224] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-11-generic'
make: *** [default] Error 2
Grazie mille a chiunque voglia aiutarmi.