ho riprovato a seguire tt la guida altre 2 volte, ha provato a fare il tt anche senza modificare il file "pac207.h", ma il risultato è sempre lo stesso! il comando sudo ./gspca_build
mi da una serie di errori tra cui
"install: cannot stat `gspca.ko': No such file or directory"
dal comando uname -r ottengo la risposta "2.6.32-24-generic"
provando ad andare avanti mettendo"2.6.32-24-generic" invece di "2.6.22-14-generic" mi trova la directory, ma il comando segunete mi da cm risposta
username-laptop:/lib/modules/2.6.32-24-generic/kernel/drivers/usb/media$ sudo mv gspca.ko gspca.ko.old
mv: cannot stat `gspca.ko': No such file or directory
e cmq nn riesco ad ottenere una compilazione corretta gspca, la risposta del terminale è
username-laptop:/usr/src/modules/gspca$ sudo ./gspca_build
REMOVE the old module if present
ERROR: Module gspca does not exist in /proc/modules
CLEAN gspca source tree
rm -r -f *.o decoder/.gspcadecoder.o.cmd decoder/*.o \
.gspca.o.cmd *.o *.ko *.mod.* .[a-z]* core *.i \
*.symvers *.err
COMPILE gspca Please Wait ....!!
INSTALL gspca in the kernel binary tree
mkdir -p /lib/modules/`uname -r`/kernel/drivers/usb/media/
rm -f /lib/modules/`uname -r`/kernel/drivers/usb/media/spca5xx.ko
rm -f /lib/modules/`uname -r`/kernel/drivers/media/video/gspca.ko
install -c -m 0644 gspca.ko /lib/modules/`uname -r`/kernel/drivers/usb/media/
install: cannot stat `gspca.ko': No such file or directory
make: *** [install] Error 1
LOAD gspca in memory
FATAL: Module gspca not found.
PRINT COMPILATION MESSAGES if ERRORS look kgspca.err
make -C /lib/modules/`uname -r`/build SUBDIRS=/usr/src/modules/gspca CC=cc modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.32-24-generic'
CC [M] /usr/src/modules/gspca/gspca_core.o
/usr/src/modules/gspca/gspca_core.c:54:27: error: asm/semaphore.h: No such file or directory
In file included from /usr/src/modules/gspca/gspca_core.c:845:
/usr/src/modules/gspca/utils/spcausb.h: In function ‘spca5xxRegRead’:
/usr/src/modules/gspca/utils/spcausb.h:95: error: implicit declaration of function ‘info’
/usr/src/modules/gspca/utils/spcausb.h: In function ‘spca_set_interface’:
/usr/src/modules/gspca/utils/spcausb.h:278: error: implicit declaration of function ‘warn’
In file included from /usr/src/modules/gspca/gspca_core.c:853:
/usr/src/modules/gspca/Sunplus-jpeg/sp5xxfw2.h: In function ‘sp5xxfw2_init’:
/usr/src/modules/gspca/Sunplus-jpeg/sp5xxfw2.h:122: error: called object ‘info’ is not a function
/usr/src/modules/gspca/Sunplus-jpeg/sp5xxfw2.h:136: error: called object ‘info’ is not a function
/usr/src/modules/gspca/Sunplus-jpeg/sp5xxfw2.h:141: error: called object ‘info’ is not a function
/usr/src/modules/gspca/Sunplus-jpeg/sp5xxfw2.h:148: error: called object ‘info’ is not a function
/usr/src/modules/gspca/Sunplus-jpeg/sp5xxfw2.h:176: error: called object ‘info’ is not a function
/usr/src/modules/gspca/Sunplus-jpeg/sp5xxfw2.h: In function ‘sp5xxfw2_start’:
/usr/src/modules/gspca/Sunplus-jpeg/sp5xxfw2.h:214: error: called object ‘info’ is not a function
/usr/src/modules/gspca/Sunplus-jpeg/sp5xxfw2.h:230: error: called object ‘info’ is not a function
/usr/src/modules/gspca/gspca_core.c: In function ‘spca5xx_ioctl’:
/usr/src/modules/gspca/gspca_core.c

error: implicit declaration of function ‘video_usercopy’
/usr/src/modules/gspca/gspca_core.c: At top level:
/usr/src/modules/gspca/gspca_core.c

error: unknown field ‘owner’ specified in initializer
/usr/src/modules/gspca/gspca_core.c

warning: initialization from incompatible pointer type
/usr/src/modules/gspca/gspca_core.c

error: unknown field ‘type’ specified in initializer
/usr/src/modules/gspca/gspca_core.c

warning: initialization from incompatible pointer type
/usr/src/modules/gspca/gspca_core.c: In function ‘spca50x_create_sysfs’:
/usr/src/modules/gspca/gspca_core.c

error: implicit declaration of function ‘video_device_create_file’
/usr/src/modules/gspca/gspca_core.c

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 when assigning to type ‘struct device’ from type ‘struct device *’
make[2]: *** [/usr/src/modules/gspca/gspca_core.o] Error 1
make[1]: *** [_module_/usr/src/modules/gspca] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-24-generic'
make: *** [default] Error 2
???