[Install] Problema makefile

Riconoscimento, installazione e configurazione delle periferiche.
FurioCamillo
Prode Principiante
Messaggi: 11
Iscrizione: venerdì 12 gennaio 2007, 14:48

[Install] Problema makefile

Messaggio da FurioCamillo »

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...  ???

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

I sorgenti del kernel li ho installati... cos'altro mi manca?
Grazie mille a chiunque voglia aiutarmi. :)
FurioCamillo
Prode Principiante
Messaggi: 11
Iscrizione: venerdì 12 gennaio 2007, 14:48

[Risolto] Re: [Install] Problema makefile

Messaggio da FurioCamillo »

Ho trovato la risposta cercando ancora nel forum... è un problema del driver che si risolve con un altro driver.

http://forum.ubuntu-it.org/index.php/to ... cseen.html
Scrivi risposta

Ritorna a “Driver e periferiche”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 8 ospiti