Pessoal, estou tentando de todas as formas fazer funcionar esse maldito hubzinho USB bagaceiro que captura audio e video. Estou tentando compilar o usbvision, mas está dando o seguinte erro: gcc -D__KERNEL__ -I/usr/src/kernel-source-2.4.20/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon -DMODULE -DMODVERSIONS -include /usr/src/kernel-source-2.4.20/include/linux/modversions.h -nostdinc -iwithprefix include -DKBUILD_BASENAME=usbvision -c -o usbvision.o usbvision.c In file included from usbvision.c:143: usbvision.h:233: syntax error before "urb_t" usbvision.h:233: warning: no semicolon at end of struct or union usbvision.h:397: field `sbuf' has incomplete type usbvision.c: In function `usbvision_parse_lines_422': usbvision.c:1068: warning: deprecated use of label at end of compound statement usbvision.c:1104: warning: deprecated use of label at end of compound statement usbvision.c: In function `usbvision_parse_compress': usbvision.c:1225: warning: deprecated use of label at end of compound statement usbvision.c: In function `usbvision_parse_lines_420': usbvision.c:1373: warning: deprecated use of label at end of compound statement usbvision.c:1412: warning: deprecated use of label at end of compound statement usbvision.c:1453: warning: deprecated use of label at end of compound statement usbvision.c:1492: warning: deprecated use of label at end of compound statement usbvision.c: At top level: usbvision.c:1613: syntax error before "urb_t" usbvision.c:1614: warning: function declaration isn't a prototype usbvision.c: In function `usbvision_compress_isochronous': usbvision.c:1618: `urb' undeclared (first use in this function) usbvision.c:1618: (Each undeclared identifier is reported only once usbvision.c:1618: for each function it appears in.) usbvision.c:1632: `usbvision' undeclared (first use in this function) usbvision.c: At top level: usbvision.c:1710: syntax error before '*' token usbvision.c:1711: warning: function declaration isn't a prototype usbvision.c: In function `usbvision_isoc_irq': usbvision.c:1714: `urb' undeclared (first use in this function) usbvision.c:1748: dereferencing pointer to incomplete type usbvision.c:1749: dereferencing pointer to incomplete type usbvision.c: In function `usbvision_init_isoc': usbvision.c:2654: `urb_t' undeclared (first use in this function) usbvision.c:2654: `urb' undeclared (first use in this function) usbvision.c: In function `usbvision_ioctl': usbvision.c:3065: warning: deprecated use of label at end of compound statement make[3]: *** [usbvision.o] Error 1 make[3]: Leaving directory `/usr/src/kernel-source-2.4.20/drivers/usb' make[2]: *** [_modsubdir_usb] Error 2 make[2]: Leaving directory `/usr/src/kernel-source-2.4.20/drivers' make[1]: *** [_mod_drivers] Error 2 make[1]: Leaving directory `/usr/src/kernel-source-2.4.20' make: *** [stamp-build] Error 2 Alguém sabe por que? -- B08C 6AF4 6ACB 7493 DC81 1231 9A5B 3EB5 D1B0 4A1D
Attachment:
pgpXCdcDLjOMJ.pgp
Description: PGP signature