View previous topic :: View next topic |
Author |
Message |
Pancu l33t
Joined: 16 Feb 2005 Posts: 612 Location: Cesena
|
Posted: Wed Feb 15, 2006 8:53 pm Post subject: Installazione WebCam TwinkleCam |
|
|
Ragazzi non riesco a installare questa webcam:
Code: | Divio Chicony TwinkleCam |
Questo è il modulo per farla partire.
Code: | http://nw802.sourceforge.net/news.html |
Purtroppo però quando vado a compilare il tutto:
Code: | # make
gcc -O3 -D__KERNEL__ -DMODULE -Wall -DMODVERSIONS -funroll-loops -frerun-cse-after-loop -funroll-all-loops -fomit-frame-pointer -nostdinc -I /usr/src/linux/include -I `dirname \`gcc -print-libgcc-file-name\``/include/ -include /usr/src/linux/include/linux/modversions.h -c -o usbvideo.o usbvideo.c
cc1: /usr/src/linux/include/linux/modversions.h: No such file or directory
usbvideo.c:26:27: linux/wrapper.h: No such file or directory
usbvideo.c: In function `usbvideo_rvmalloc':
usbvideo.c:88: warning: implicit declaration of function `mem_map_reserve'
usbvideo.c: In function `usbvideo_rvfree':
usbvideo.c:105: warning: implicit declaration of function `mem_map_unreserve'
usbvideo.c: In function `usbvideo_ClientIncModCount':
usbvideo.c:713: warning: implicit declaration of function `__MOD_INC_USE_COUNT'
usbvideo.c: In function `usbvideo_ClientDecModCount':
usbvideo.c:730: warning: implicit declaration of function `__MOD_DEC_USE_COUNT'
usbvideo.c: In function `usbvideo_register':
usbvideo.c:827: warning: assignment from incompatible pointer type
usbvideo.c:828: warning: assignment from incompatible pointer type
usbvideo.c: In function `usbvideo_Disconnect':
usbvideo.c:953: warning: implicit declaration of function `usb_dec_dev_use'
usbvideo.c: In function `usbvideo_AllocateDevice':
usbvideo.c:1057: error: too few arguments to function `usb_alloc_urb'
usbvideo.c:1078: error: structure has no member named `open'
usbvideo.c:1079: error: structure has no member named `close'
usbvideo.c:1080: error: structure has no member named `read'
usbvideo.c:1081: error: structure has no member named `write'
usbvideo.c:1082: error: structure has no member named `ioctl'
usbvideo.c:1083: error: structure has no member named `mmap'
usbvideo.c:1084: error: structure has no member named `initialize'
usbvideo.c: In function `usbvideo_RegisterVideoDevice':
usbvideo.c:1150: warning: implicit declaration of function `usb_inc_dev_use'
usbvideo.c: In function `usbvideo_v4l_mmap':
usbvideo.c:1182: warning: implicit declaration of function `remap_page_range'
usbvideo.c: In function `usbvideo_StartDataPump':
usbvideo.c:1885: error: `USB_ISO_ASAP' undeclared (first use in this function)
usbvideo.c:1885: error: (Each undeclared identifier is reported only once
usbvideo.c:1885: error: for each function it appears in.)
usbvideo.c:1887: warning: assignment from incompatible pointer type
usbvideo.c:1899: error: structure has no member named `next'
usbvideo.c:1901: error: structure has no member named `next'
usbvideo.c:1906: error: too few arguments to function `usb_submit_urb'
make: *** [usbvideo.o] Error 1
|
Nel kernel ho attivato l'opzione videoforlinux.
Grazie! |
|
Back to top |
|
|
Pancu l33t
Joined: 16 Feb 2005 Posts: 612 Location: Cesena
|
Posted: Fri Feb 17, 2006 5:12 pm Post subject: |
|
|
nessuno può gentilmente aiutarmi?? |
|
Back to top |
|
|
fctk Veteran
Joined: 28 Jan 2004 Posts: 1424 Location: Milan, Italy, EU
|
Posted: Sat Feb 18, 2006 8:34 am Post subject: |
|
|
nel REAME dice di usare la versione CVS... e poi mi pare che sia per il kernel 2.4, non per il 2.6... |
|
Back to top |
|
|
Pancu l33t
Joined: 16 Feb 2005 Posts: 612 Location: Cesena
|
Posted: Sat Feb 18, 2006 2:23 pm Post subject: |
|
|
Questo sembra x il kernel 2.6.
Code: | New files in the CVS.
Patch for kernel 2.6 and a Makefile for 2.6. And some small bugg fixes.
So to compile with a 2.6 kernel :
cvs -d:pserver:anonymous@cvs.nw802.sourceforge.net:/cvsroot/nw802 login
cvs -z3 -d:pserver:anonymous@cvs.nw802.sourceforge.net:/cvsroot/nw802
co nw802-2.4
cd nw802-2.4
cp Makefile.26 Makefile
patch -p0 < patch-2.6
make clean
make |
Ma come si usano questi cvs??
Se copio e incolla la prima riga mi chiedere la password. |
|
Back to top |
|
|
fctk Veteran
Joined: 28 Jan 2004 Posts: 1424 Location: Milan, Italy, EU
|
Posted: Sat Feb 18, 2006 2:43 pm Post subject: |
|
|
questo non lo so, purtroppo... |
|
Back to top |
|
|
randomaze Bodhisattva
Joined: 21 Oct 2003 Posts: 9985
|
Posted: Sat Feb 18, 2006 7:22 pm Post subject: |
|
|
Pancu wrote: | Se copio e incolla la prima riga mi chiedere la password. |
Provato a premere invio?
Provato a leggere attentamente il README? Magari é indicata la password da usare.... _________________ Ciao da me! |
|
Back to top |
|
|
|