[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [.driver.usb] configurar webcam usb



Dices que usas la Guadalinex 2004 c6 imagino que te refieres a la candidata 6, por ser una versión de pruebas los desarrolladores decían que no daban las cabeceras ni las fuentes (ya parcheadas), te aconsejo que empieces por instalarte un núcleo "normal" de debian con sus cabeceras, con apt-cache search kernel-image y apt-cache search kernel-headers podrás saber los disponibles y con
apt-get install kernel-imagen-elquesea kernel-headers-elmismo
quizás necesites algo mas como el mkinitrd, paciencia.
Tras reiniciar exitosamente con el nuevo núcleo estarás en condiciones de compilar módulos nuevos
perico_rota$telefonica.net escribió:

Tengo una webcam usb D-Link DRU350C, mi SO es Guadalinex C6 basado en
Debian. Durante la instalación no me configura este dispositivo. En esta
dirección: http://nw802.sourceforge.net/ encontre información que he
seguido y utilizado pero necesito ayuda porque no se instala.
El proceso que he seguido es el siguiente:

Now the v4l driver. This is available from
http://nw802.sourceforge.net/. Use CVS and not the tar ball!

# cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/nw802 login

Press enter for the password

# cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/nw802 co
nw802-2.4

	Descarga los ficheros bien:


pedro@mikely:~/temp/nw802-2.4$ ls
Changelog kritter.init nw801.init nw8xx_jpgl.h SpaceCam.init cvideopro.init LICENSE nw802.c nw8xx_regedit.c Twinkle.init CVS Makefile nw802.init patch-2.6 usbvideo.c d-link-350c.init Makefile.26 nw802.init.old proscope.init usbvideo.h
DS3303u.init      nw800.init    nw8xx_jpgl.c    README

pedro@mikely:~/temp/nw802-2.4$ su
Password:
# mv nw802.init nw802.init.old
# cp d-link-350c.init nw802.init
	Aqui empiezan los problemas:
root@mikely:/home/pedro/temp/nw802-2.4# 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
<línea de orden>:138473787:61824:
/usr/src/linux/include/linux/modversions.h: No existe el fichero o el
directorio
usbvideo.c:17:26: linux/kernel.h: No existe el fichero o el directorio
usbvideo.c:18:25: linux/sched.h: No existe el fichero o el directorio
usbvideo.c:19:24: linux/list.h: No existe el fichero o el directorio
usbvideo.c:20:24: linux/slab.h: No existe el fichero o el directorio
usbvideo.c:22:26: linux/module.h: No existe el fichero o el directorio
usbvideo.c:23:22: linux/mm.h: No existe el fichero o el directorio
usbvideo.c:24:28: linux/smp_lock.h: No existe el fichero o el directorio
usbvideo.c:25:27: linux/vmalloc.h: No existe el fichero o el directorio
usbvideo.c:26:27: linux/wrapper.h: No existe el fichero o el directorio
usbvideo.c:27:24: linux/init.h: No existe el fichero o el directorio
usbvideo.c:28:28: linux/spinlock.h: No existe el fichero o el directorio
usbvideo.c:30:20: asm/io.h: No existe el fichero o el directorio
En el fichero incluído de usbvideo.c:32:
usbvideo.h:19:26: linux/config.h: No existe el fichero o el directorio
usbvideo.h:20:27: linux/proc_fs.h: No existe el fichero o el directorio
usbvideo.h:21:28: linux/videodev.h: No existe el fichero o el directorio
usbvideo.h:22:23: linux/usb.h: No existe el fichero o el directorio
In file included from usbvideo.c:32:
usbvideo.h:126: error: error de decodificación before
"wait_queue_head_t"
usbvideo.h:126: aviso: no hay punto y coma al final del struct o union
usbvideo.h:205: error: field `vdev' has incomplete type
usbvideo.h:218: error: field `lock' has incomplete type
usbvideo.h:237: error: field `dp' has incomplete type
usbvideo.h:243: error: field `vpic' has incomplete type
usbvideo.h:243: error: field `vpic_old' has incomplete type
usbvideo.h:244: error: field `vcap' has incomplete type
usbvideo.h:245: error: field `vchan' has incomplete type
usbvideo.h:257: aviso: `struct usb_device_id' declared inside parameter
list
usbvideo.h:257: aviso: its scope is only this definition or declaration,
which is probably not what you want
usbvideo.h:269: error: error de decodificación before "off_t"
usbvideo.h:270: aviso: `struct file' declared inside parameter list
usbvideo.h:273: aviso: `struct video_window' declared inside parameter
list
usbvideo.h:278: error: field `usbdrv' has incomplete type
usbvideo.h:280: error: field `lock' has incomplete type
usbvideo.h:282: error: field `vdt' has incomplete type
usbvideo.h: En la función `RingQueue_GetLength':
usbvideo.h:314: error: dereferencing pointer to incomplete type
usbvideo.h:314: error: dereferencing pointer to incomplete type
usbvideo.h:314: error: dereferencing pointer to incomplete type
usbvideo.h:314: error: dereferencing pointer to incomplete type
usbvideo.h: En la función `RingQueue_GetFreeSpace':
usbvideo.h:319: error: dereferencing pointer to incomplete type
usbvideo.h: En el nivel principal:
usbvideo.h:338: error: error de decodificación before '*' token
usbvideo.h:350: aviso: `struct usb_device_id' declared inside parameter
list
usbvideo.c:39: error: error de decodificación before string constant
usbvideo.c:39: aviso: type defaults to `int' in declaration of
`MODULE_PARM'
usbvideo.c:39: aviso: data definition has no type or storage class
usbvideo.c: En la función `usbvideo_kvirt_to_pa':
usbvideo.c:69: aviso: implicit declaration of function `page_address'
usbvideo.c:69: aviso: implicit declaration of function `vmalloc_to_page'
usbvideo.c:70: error: `PAGE_SIZE' undeclared (first use in this
function)
usbvideo.c:70: error: (Each undeclared identifier is reported only once
usbvideo.c:70: error: for each function it appears in.)
usbvideo.c:71: aviso: implicit declaration of function `__pa'
usbvideo.c: En la función `usbvideo_rvmalloc':
usbvideo.c:80: aviso: implicit declaration of function `PAGE_ALIGN'
usbvideo.c:81: aviso: implicit declaration of function `vmalloc_32'
usbvideo.c:81: aviso: asignación se crea un puntero desde un entero sin
una conversión
usbvideo.c:83: error: `NULL' undeclared (first use in this function)
usbvideo.c:85: aviso: implicit declaration of function `memset'
usbvideo.c:88: aviso: implicit declaration of function `mem_map_reserve'
usbvideo.c:89: error: `PAGE_SIZE' undeclared (first use in this
function)
usbvideo.c: En la función `usbvideo_rvfree':
usbvideo.c:105: aviso: implicit declaration of function
`mem_map_unreserve'
usbvideo.c:106: error: `PAGE_SIZE' undeclared (first use in this
function)
usbvideo.c:109: aviso: implicit declaration of function `vfree'
usbvideo.c: En la función `RingQueue_Initialize':
usbvideo.c:114: error: `NULL' undeclared (first use in this function)
usbvideo.c:114: aviso: implicit declaration of function `err'
usbvideo.c:115: aviso: implicit declaration of function
`init_waitqueue_head'
usbvideo.c:115: error: dereferencing pointer to incomplete type
usbvideo.c: En la función `RingQueue_Allocate':
usbvideo.c:125: error: `NULL' undeclared (first use in this function)
usbvideo.c:133: error: dereferencing pointer to incomplete type
usbvideo.c:134: error: dereferencing pointer to incomplete type
usbvideo.c:134: error: dereferencing pointer to incomplete type
usbvideo.c:135: error: dereferencing pointer to incomplete type
usbvideo.c:135: error: dereferencing pointer to incomplete type
usbvideo.c:136: error: dereferencing pointer to incomplete type
usbvideo.c: En la función `RingQueue_IsAllocated':
usbvideo.c:141: error: `NULL' undeclared (first use in this function)
usbvideo.c:143: error: dereferencing pointer to incomplete type
usbvideo.c:143: error: dereferencing pointer to incomplete type
usbvideo.c: En la función `RingQueue_Free':
usbvideo.c:148: error: `NULL' undeclared (first use in this function)
usbvideo.c:150: error: dereferencing pointer to incomplete type
usbvideo.c:150: error: dereferencing pointer to incomplete type
usbvideo.c:151: error: dereferencing pointer to incomplete type
usbvideo.c:152: error: dereferencing pointer to incomplete type
usbvideo.c: En la función `RingQueue_Dequeue':
usbvideo.c:160: error: `NULL' undeclared (first use in this function)
usbvideo.c:172: error: dereferencing pointer to incomplete type
usbvideo.c:172: error: dereferencing pointer to incomplete type
usbvideo.c:174: error: dereferencing pointer to incomplete type
usbvideo.c:174: error: dereferencing pointer to incomplete type
usbvideo.c:174: error: dereferencing pointer to incomplete type
usbvideo.c:174: error: dereferencing pointer to incomplete type
usbvideo.c:175: aviso: implicit declaration of function `memcpy'
usbvideo.c:175: error: dereferencing pointer to incomplete type
usbvideo.c:175: error: dereferencing pointer to incomplete type
usbvideo.c:178: error: dereferencing pointer to incomplete type
usbvideo.c:178: error: dereferencing pointer to incomplete type
usbvideo.c:178: error: dereferencing pointer to incomplete type
usbvideo.c:182: error: dereferencing pointer to incomplete type
usbvideo.c:182: error: dereferencing pointer to incomplete type
usbvideo.c:183: error: dereferencing pointer to incomplete type
usbvideo.c:183: error: dereferencing pointer to incomplete type
usbvideo.c:183: error: dereferencing pointer to incomplete type
usbvideo.c: En la función `RingQueue_Enqueue':
usbvideo.c:192: error: `NULL' undeclared (first use in this function)
usbvideo.c:194: error: dereferencing pointer to incomplete type
usbvideo.c:199: error: dereferencing pointer to incomplete type
usbvideo.c:199: error: dereferencing pointer to incomplete type
usbvideo.c:201: error: dereferencing pointer to incomplete type
usbvideo.c:202: error: dereferencing pointer to incomplete type
usbvideo.c:209: error: dereferencing pointer to incomplete type
usbvideo.c:209: error: dereferencing pointer to incomplete type
usbvideo.c:210: error: dereferencing pointer to incomplete type
usbvideo.c:210: error: dereferencing pointer to incomplete type
usbvideo.c:210: error: dereferencing pointer to incomplete type
usbvideo.c: En la función `RingQueue_InterruptibleSleepOn':
usbvideo.c:220: error: `NULL' undeclared (first use in this function)
usbvideo.c:221: aviso: implicit declaration of function
`interruptible_sleep_on'usbvideo.c:221: error: dereferencing pointer to
incomplete type
usbvideo.c: En la función `RingQueue_WakeUpInterruptible':
usbvideo.c:226: error: `NULL' undeclared (first use in this function)
usbvideo.c:227: aviso: implicit declaration of function
`waitqueue_active'
usbvideo.c:227: error: dereferencing pointer to incomplete type
usbvideo.c:228: aviso: implicit declaration of function
`wake_up_interruptible'
usbvideo.c:228: error: dereferencing pointer to incomplete type
usbvideo.c: En la función `RingQueue_Flush':
usbvideo.c:233: error: `NULL' undeclared (first use in this function)
usbvideo.c:234: error: dereferencing pointer to incomplete type
usbvideo.c:235: error: dereferencing pointer to incomplete type
usbvideo.c: En la función `usbvideo_VideosizeToString':
usbvideo.c:253: aviso: implicit declaration of function `sprintf'
usbvideo.c:255: error: `NULL' undeclared (first use in this function)
usbvideo.c:258: aviso: implicit declaration of function `memmove'
usbvideo.c: En la función `usbvideo_OverlayChar':
usbvideo.c:291: error: `NULL' undeclared (first use in this function)
usbvideo.c:307: error: `VIDEO_PALETTE_RGB24' undeclared (first use in
this function)
usbvideo.c: En la función `usbvideo_OverlayStats':
usbvideo.c:350: error: `NULL' undeclared (first use in this function)
usbvideo.c:361: error: `VIDEO_PALETTE_RGB24' undeclared (first use in
this function)
usbvideo.c: En la función `usbvideo_ReportStatistics':
usbvideo.c:465: error: `NULL' undeclared (first use in this function)
usbvideo.c:476: aviso: implicit declaration of function `info'
usbvideo.c: En la función `usbvideo_DrawLine':
usbvideo.c:560: error: `VIDEO_PALETTE_RGB24' undeclared (first use in
this function)
usbvideo.c: En la función `usbvideo_TestPattern':
usbvideo.c:596: error: `NULL' undeclared (first use in this function)
usbvideo.c: En la función `usbvideo_HexDump':
usbvideo.c:677: aviso: implicit declaration of function `printk'
usbvideo.c: En la función `usbvideo_SayAndWait':
usbvideo.c:691: error: `wait_queue_head_t' undeclared (first use in this
function)
usbvideo.c:691: error: error de decodificación before "wq"
usbvideo.c:692: error: `wq' undeclared (first use in this function)
usbvideo.c:694: aviso: implicit declaration of function
`interruptible_sleep_on_timeout'
usbvideo.c:694: error: `HZ' undeclared (first use in this function)
usbvideo.c: En la función `usbvideo_ClientIncModCount':
usbvideo.c:701: error: `NULL' undeclared (first use in this function)
usbvideo.c:713: aviso: implicit declaration of function
`__MOD_INC_USE_COUNT'
usbvideo.c: En la función `usbvideo_ClientDecModCount':
usbvideo.c:718: error: `NULL' undeclared (first use in this function)
usbvideo.c:730: aviso: implicit declaration of function
`__MOD_DEC_USE_COUNT'
usbvideo.c: En el nivel principal:
usbvideo.c:740: aviso: `struct usb_device_id' declared inside parameter
list
usbvideo.c:741: error: conflicting types for `usbvideo_register'
usbvideo.h:350: error: previous declaration of `usbvideo_register'
usbvideo.c: En la función `usbvideo_register':
usbvideo.c:746: error: `NULL' undeclared (first use in this function)
usbvideo.c:748: error: `EINVAL' undeclared (first use in this function)
usbvideo.c:758: aviso: implicit declaration of function `kmalloc'
usbvideo.c:758: error: `GFP_KERNEL' undeclared (first use in this
function)
usbvideo.c:761: error: `ENOMEM' undeclared (first use in this function)
usbvideo.c:763: aviso: implicit declaration of function `dbg'
usbvideo.c:799: aviso: implicit declaration of function `warn'
usbvideo.c:800: aviso: implicit declaration of function `init_MUTEX'
usbvideo.c:825: aviso: implicit declaration of function `strcpy'
usbvideo.c:844: aviso: implicit declaration of function `usb_register'
usbvideo.c: En la función `usbvideo_Deregister':
usbvideo.c:861: error: `NULL' undeclared (first use in this function)
usbvideo.c:879: aviso: implicit declaration of function `usb_deregister'
usbvideo.c:899: aviso: implicit declaration of function `kfree'
usbvideo.c: En la función `usbvideo_Disconnect':
usbvideo.c:936: error: `NULL' undeclared (first use in this function)
usbvideo.c:944: aviso: implicit declaration of function `down'
usbvideo.c:951: aviso: implicit declaration of function `usb_free_urb'
usbvideo.c:953: aviso: implicit declaration of function
`usb_dec_dev_use'
usbvideo.c:960: aviso: implicit declaration of function `up'
usbvideo.c: En la función `usbvideo_CameraRelease':
usbvideo.c:978: error: `NULL' undeclared (first use in this function)
usbvideo.c:982: aviso: implicit declaration of function
`video_unregister_device'
usbvideo.c: En la función `usbvideo_find_struct':
usbvideo.c:1014: error: `NULL' undeclared (first use in this function)
usbvideo.c: En la función `usbvideo_AllocateDevice':
usbvideo.c:1037: error: `NULL' undeclared (first use in this function)
usbvideo.c:1057: aviso: implicit declaration of function `usb_alloc_urb'
usbvideo.c:1057: aviso: asignación se crea un puntero desde un entero
sin una conversión
usbvideo.c:1076: error: `VID_TYPE_CAPTURE' undeclared (first use in this
function)
usbvideo.c:1077: error: `VID_HARDWARE_CPIA' undeclared (first use in
this function)
usbvideo.c: En la función `usbvideo_RegisterVideoDevice':
usbvideo.c:1099: error: `NULL' undeclared (first use in this function)
usbvideo.c:1101: error: `EINVAL' undeclared (first use in this function)
usbvideo.c:1123: aviso: implicit declaration of function
`video_register_device'usbvideo.c:1123: error: `VFL_TYPE_GRABBER'
undeclared (first use in this function)
usbvideo.c:1125: error: `EPIPE' undeclared (first use in this function)
usbvideo.c:1150: aviso: implicit declaration of function
`usb_inc_dev_use'
usbvideo.c: En la función `usbvideo_v4l_write':
usbvideo.c:1164: error: `EINVAL' undeclared (first use in this function)
usbvideo.c: En la función `usbvideo_v4l_mmap':
usbvideo.c:1173: error: `NULL' undeclared (first use in this function)
usbvideo.c:1174: error: `EFAULT' undeclared (first use in this function)
usbvideo.c:1176: error: `PAGE_SIZE' undeclared (first use in this
function)
usbvideo.c:1177: error: `EINVAL' undeclared (first use in this function)
usbvideo.c:1182: aviso: implicit declaration of function
`remap_page_range'
usbvideo.c:1182: error: `PAGE_SHARED' undeclared (first use in this
function)
usbvideo.c:1183: error: `EAGAIN' undeclared (first use in this function)
usbvideo.c: En la función `usbvideo_v4l_open':
usbvideo.c:1224: error: `EBUSY' undeclared (first use in this function)
usbvideo.c:1231: error: `NULL' undeclared (first use in this function)
usbvideo.c:1240: error: `ENOMEM' undeclared (first use in this function)
usbvideo.c:1254: error: `GFP_KERNEL' undeclared (first use in this
function)
usbvideo.c:1254: aviso: asignación se crea un puntero desde un entero
sin una conversión
usbvideo.c: En la función `usbvideo_v4l_close':
usbvideo.c:1333: error: `NULL' undeclared (first use in this function)
usbvideo.c: En la función `usbvideo_v4l_ioctl':
usbvideo.c:1370: error: `NULL' undeclared (first use in this function)
usbvideo.c:1371: error: `EFAULT' undeclared (first use in this function)
usbvideo.c:1374: error: `VIDIOCGCAP' undeclared (first use in this
function)
usbvideo.c:1376: aviso: implicit declaration of function `copy_to_user'
usbvideo.c:1380: error: `VIDIOCGCHAN' undeclared (first use in this
function)
usbvideo.c:1386: error: `VIDIOCSCHAN' undeclared (first use in this
function)
usbvideo.c:1389: aviso: implicit declaration of function
`copy_from_user'
usbvideo.c:1393: error: `VIDIOCGPICT' undeclared (first use in this
function)
usbvideo.c:1399: error: `VIDIOCSPICT' undeclared (first use in this
function)
usbvideo.c:1401: error: storage size of `tmp' isn't known
usbvideo.c:1401: aviso: unused variable `tmp'
usbvideo.c:1416: error: `VIDIOCSWIN' undeclared (first use in this
function)
usbvideo.c:1418: error: storage size of `vw' isn't known
usbvideo.c:1426: error: `EINVAL' undeclared (first use in this function)
usbvideo.c:1418: aviso: unused variable `vw'
usbvideo.c:1436: error: `VIDIOCGWIN' undeclared (first use in this
function)
usbvideo.c:1438: error: storage size of `vw' isn't known
usbvideo.c:1438: aviso: unused variable `vw'
usbvideo.c:1455: error: `VIDIOCGMBUF' undeclared (first use in this
function)
usbvideo.c:1457: error: storage size of `vm' isn't known
usbvideo.c:1457: aviso: unused variable `vm'
usbvideo.c:1471: error: `VIDIOCMCAPTURE' undeclared (first use in this
function)usbvideo.c:1473: error: storage size of `vm' isn't known
usbvideo.c:1473: aviso: unused variable `vm'
usbvideo.c:1529: error: `VIDIOCSYNC' undeclared (first use in this
function)
usbvideo.c:1563: error: `VIDIOCGFBUF' undeclared (first use in this
function)
usbvideo.c:1565: error: storage size of `vb' isn't known
usbvideo.c:1565: aviso: unused variable `vb'
usbvideo.c:1575: error: `VIDIOCKEY' undeclared (first use in this
function)
usbvideo.c:1578: error: `VIDIOCCAPTURE' undeclared (first use in this
function)
usbvideo.c:1581: error: `VIDIOCSFBUF' undeclared (first use in this
function)
usbvideo.c:1583: error: `VIDIOCGTUNER' undeclared (first use in this
function)
usbvideo.c:1584: error: `VIDIOCSTUNER' undeclared (first use in this
function)
usbvideo.c:1586: error: `VIDIOCGFREQ' undeclared (first use in this
function)
usbvideo.c:1587: error: `VIDIOCSFREQ' undeclared (first use in this
function)
usbvideo.c:1589: error: `VIDIOCGAUDIO' undeclared (first use in this
function)
usbvideo.c:1590: error: `VIDIOCSAUDIO' undeclared (first use in this
function)
usbvideo.c:1594: error: `ENOIOCTLCMD' undeclared (first use in this
function)
usbvideo.c: En la función `usbvideo_v4l_read':
usbvideo.c:1616: error: `NULL' undeclared (first use in this function)
usbvideo.c:1617: error: `EFAULT' undeclared (first use in this function)
usbvideo.c:1636: error: `EAGAIN' undeclared (first use in this function)
usbvideo.c:1725: error: `EINVAL' undeclared (first use in this function)
usbvideo.c: En la función `usbvideo_CompressIsochronous':
usbvideo.c:1772: error: dereferencing pointer to incomplete type
usbvideo.c:1773: error: dereferencing pointer to incomplete type
usbvideo.c:1774: error: dereferencing pointer to incomplete type
usbvideo.c:1776: error: dereferencing pointer to incomplete type
usbvideo.c:1776: error: dereferencing pointer to incomplete type
usbvideo.c: En la función `usbvideo_IsocIrq':
usbvideo.c:1800: error: dereferencing pointer to incomplete type
usbvideo.c:1803: error: `NULL' undeclared (first use in this function)
usbvideo.c:1823: error: dereferencing pointer to incomplete type
usbvideo.c:1838: error: dereferencing pointer to incomplete type
usbvideo.c:1839: error: dereferencing pointer to incomplete type
usbvideo.c: En la función `usbvideo_StartDataPump':
usbvideo.c:1860: error: `NULL' undeclared (first use in this function)
usbvideo.c:1862: error: `EFAULT' undeclared (first use in this function)
usbvideo.c:1867: aviso: implicit declaration of function
`usb_set_interface'
usbvideo.c:1871: error: `EBUSY' undeclared (first use in this function)
usbvideo.c:1882: error: dereferencing pointer to incomplete type
usbvideo.c:1883: error: dereferencing pointer to incomplete type
usbvideo.c:1884: error: dereferencing pointer to incomplete type
usbvideo.c:1884: aviso: implicit declaration of function
`usb_rcvisocpipe'
usbvideo.c:1885: error: dereferencing pointer to incomplete type
usbvideo.c:1885: error: `USB_ISO_ASAP' undeclared (first use in this
function)
usbvideo.c:1886: error: dereferencing pointer to incomplete type
usbvideo.c:1887: error: dereferencing pointer to incomplete type
usbvideo.c:1888: error: dereferencing pointer to incomplete type
usbvideo.c:1889: error: dereferencing pointer to incomplete type
usbvideo.c:1891: error: dereferencing pointer to incomplete type
usbvideo.c:1892: error: dereferencing pointer to incomplete type
usbvideo.c:1899: error: dereferencing pointer to incomplete type
usbvideo.c:1901: error: dereferencing pointer to incomplete type
usbvideo.c:1906: aviso: implicit declaration of function
`usb_submit_urb'
usbvideo.c: En la función `usbvideo_StopDataPump':
usbvideo.c:1934: error: `NULL' undeclared (first use in this function)
usbvideo.c:1939: aviso: implicit declaration of function
`usb_unlink_urb'
usbvideo.c: En la función `usbvideo_NewFrame':
usbvideo.c:1985: error: `NULL' undeclared (first use in this function)
usbvideo.c: En la función `usbvideo_CollectRawData':
usbvideo.c:2050: error: `NULL' undeclared (first use in this function)
usbvideo.c: En la función `usbvideo_GetFrame':
usbvideo.c:2087: error: `EINVAL' undeclared (first use in this function)
usbvideo.c:2094: error: `NULL' undeclared (first use in this function)
usbvideo.c:2097: error: `EIO' undeclared (first use in this function)
usbvideo.c:2102: aviso: implicit declaration of function
`signal_pending'
usbvideo.c:2102: error: `current' undeclared (first use in this
function)
usbvideo.c:2123: error: `EINTR' undeclared (first use in this function)
usbvideo.c: En la función `usbvideo_DeinterlaceFrame':
usbvideo.c:2210: error: `NULL' undeclared (first use in this function)
usbvideo.c: En la función `usbvideo_SoftwareContrastAdjustment':
usbvideo.c:2282: error: `NULL' undeclared (first use in this function)
usbvideo.c: En el nivel principal:
usbvideo.c:2431: error: error de decodificación before string constant
usbvideo.c:2431: aviso: type defaults to `int' in declaration of
`MODULE_LICENSE'
usbvideo.c:2431: aviso: data definition has no type or storage class
make: *** [usbvideo.o] Error 1
root@mikely:/home/pedro/temp/nw802-2.4#

	Lo he intentado tambien como creo que lo explica el README del archivo
CVS


root@mikely:/home/pedro/temp/nw802-2.4# cp Makefile.26 Makefile
root@mikely:/home/pedro/temp/nw802-2.4# patch -p0 < patch-2.6
patching file nw802.c
Hunk #10 succeeded at 770 with fuzz 2.
root@mikely:/home/pedro/temp/nw802-2.4# make clean
rm -f usbvideo.h usbvideo.c *.o *.ko *~ *.mod.c
root@mikely:/home/pedro/temp/nw802-2.4# make
ln -sf /lib/modules/`uname -r`/build/drivers/usb/media/usbvideo.h .
ln -sf /lib/modules/`uname -r`/build/drivers/usb/media/usbvideo.c .
make -C /lib/modules/`uname -r`/build SUBDIRS=`pwd` modules
make: *** /lib/modules/2.6.5/build: No existe el fichero o el
directorio.  Alto.make: *** [default] Error 2
root@mikely:/home/pedro/temp/nw802-2.4# modprobe videodev
root@mikely:/home/pedro/temp/nw802-2.4# insmod usbvideo
insmod: can't read 'usbvideo': No such file or directory
root@mikely:/home/pedro/temp/nw802-2.4#

Agradeceria cualquier ayuda
Gracias









Reply to: