http://robertorizzo1986.wordpress.com/tag/webcam/
ma giunto a dare make
Codice: Seleziona tutto
make -f Makefile-syntekdriverCodice: Seleziona tutto
fiore@fiore-laptop:~/syntec/driver$ make -f Makefile-syntekdriver
make -C /lib/modules/2.6.28-13-generic/build SUBDIRS=/home/fiore/syntec/driver modules
make[1]: ingresso nella directory «/usr/src/linux-headers-2.6.28-13-generic»
CC [M] /home/fiore/syntec/driver/stk11xx-usb.o
CC [M] /home/fiore/syntec/driver/stk11xx-v4l.o
/home/fiore/syntec/driver/stk11xx-v4l.c: In function ‘v4l_stk11xx_ioctl’:
/home/fiore/syntec/driver/stk11xx-v4l.c:1739: warning: passing argument 1 of ‘video_usercopy’ from incompatible pointer type
/home/fiore/syntec/driver/stk11xx-v4l.c:1739: warning: passing argument 2 of ‘video_usercopy’ makes pointer from integer without a cast
/home/fiore/syntec/driver/stk11xx-v4l.c:1739: warning: passing argument 4 of ‘video_usercopy’ makes integer from pointer without a cast
/home/fiore/syntec/driver/stk11xx-v4l.c:1739: error: too few arguments to function ‘video_usercopy’
/home/fiore/syntec/driver/stk11xx-v4l.c: In function ‘v4l_stk11xx_register_video_device’:
/home/fiore/syntec/driver/stk11xx-v4l.c:1763: warning: assignment from incompatible pointer type
/home/fiore/syntec/driver/stk11xx-v4l.c: At top level:
/home/fiore/syntec/driver/stk11xx-v4l.c:1805: error: variable ‘v4l_stk11xx_fops’ has initializer but incomplete type
/home/fiore/syntec/driver/stk11xx-v4l.c:1806: error: unknown field ‘owner’ specified in initializer
/home/fiore/syntec/driver/stk11xx-v4l.c:1806: warning: excess elements in struct initializer
/home/fiore/syntec/driver/stk11xx-v4l.c:1806: warning: (near initialization for ‘v4l_stk11xx_fops’)
/home/fiore/syntec/driver/stk11xx-v4l.c:1807: error: unknown field ‘open’ specified in initializer
/home/fiore/syntec/driver/stk11xx-v4l.c:1807: warning: excess elements in struct initializer
/home/fiore/syntec/driver/stk11xx-v4l.c:1807: warning: (near initialization for ‘v4l_stk11xx_fops’)
/home/fiore/syntec/driver/stk11xx-v4l.c:1808: error: unknown field ‘release’ specified in initializer
/home/fiore/syntec/driver/stk11xx-v4l.c:1808: warning: excess elements in struct initializer
/home/fiore/syntec/driver/stk11xx-v4l.c:1808: warning: (near initialization for ‘v4l_stk11xx_fops’)
/home/fiore/syntec/driver/stk11xx-v4l.c:1809: error: unknown field ‘read’ specified in initializer
/home/fiore/syntec/driver/stk11xx-v4l.c:1809: warning: excess elements in struct initializer
/home/fiore/syntec/driver/stk11xx-v4l.c:1809: warning: (near initialization for ‘v4l_stk11xx_fops’)
/home/fiore/syntec/driver/stk11xx-v4l.c:1810: error: unknown field ‘poll’ specified in initializer
/home/fiore/syntec/driver/stk11xx-v4l.c:1810: warning: excess elements in struct initializer
/home/fiore/syntec/driver/stk11xx-v4l.c:1810: warning: (near initialization for ‘v4l_stk11xx_fops’)
/home/fiore/syntec/driver/stk11xx-v4l.c:1811: error: unknown field ‘mmap’ specified in initializer
/home/fiore/syntec/driver/stk11xx-v4l.c:1811: warning: excess elements in struct initializer
/home/fiore/syntec/driver/stk11xx-v4l.c:1811: warning: (near initialization for ‘v4l_stk11xx_fops’)
/home/fiore/syntec/driver/stk11xx-v4l.c:1812: error: unknown field ‘ioctl’ specified in initializer
/home/fiore/syntec/driver/stk11xx-v4l.c:1812: warning: excess elements in struct initializer
/home/fiore/syntec/driver/stk11xx-v4l.c:1812: warning: (near initialization for ‘v4l_stk11xx_fops’)
/home/fiore/syntec/driver/stk11xx-v4l.c:1814: error: unknown field ‘compat_ioctl’ specified in initializer
/home/fiore/syntec/driver/stk11xx-v4l.c:1814: warning: excess elements in struct initializer
/home/fiore/syntec/driver/stk11xx-v4l.c:1814: warning: (near initialization for ‘v4l_stk11xx_fops’)
make[2]: *** [/home/fiore/syntec/driver/stk11xx-v4l.o] Errore 1
make[1]: *** [_module_/home/fiore/syntec/driver] Errore 2
make[1]: uscita dalla directory «/usr/src/linux-headers-2.6.28-13-generic»
make: *** [all] Errore 2avevo scritto un altro post all'uscita della 9.04 ma pensavo che qualcosa si fosse risolto.. :-\
qualcuno sa aiutarmi..?
grazie in anticipo

