Prev: pptp vpn issue
Next: Network problem
From: Carl Fink on 13 Feb 2005 22:40 As mentioned in a previous message, I've purchased a Sigmatel-based USB/IR dongle. Since Deys Electronics doesn't offer phone or web-based tech support and I hate e-mail tech support, I've been incredibly frustrated trying to use it. Finally, at the Sigmatel site, I found the chipset drivers for Linux (which are GPL). http://www.sigmatel.com/products/tech-support.htm#ir-support One thing they mention is that the chipset won't work in Linux without a patch they provide. Hm ... maybe this is the problem? I download their Linux driver source and patches, but when I try to compile the Linux driver software (needed to patch the EEPROM on the dongle) I get errors. Specifically, these errors: carlf(a)cfaveratec:~/downloads/Sigmatel/irda4210$ make cc -D__KERNEL__ -DMODULE -O -Wall -I/usr/src/linux-2.6/include -DIRDA4210_VERSION=0.1 -c -o irda-usb.o irda-usb.c irda-usb.c: In function `irda_usb_change_speed_xbofs': irda-usb.c:347: error: `USB_ST_NOERROR' undeclared (first use in this function) irda-usb.c:347: error: (Each undeclared identifier is reported only once irda-usb.c:347: error: for each function it appears in.) irda-usb.c:365: warning: implicit declaration of function `FILL_BULK_URB' irda-usb.c:376: error: `USB_QUEUE_BULK' undeclared (first use in this function) irda-usb.c:376: error: `USB_ASYNC_UNLINK' undeclared (first use in this function) irda-usb.c:377: warning: implicit declaration of function `MSECS_TO_JIFFIES' irda-usb.c:386: error: too few arguments to function `usb_submit_urb' irda-usb.c: In function `speed_bulk_callback': irda-usb.c:408: error: `USB_ST_NOERROR' undeclared (first use in this function) irda-usb.c: In function `irda_usb_hard_xmit': irda-usb.c:489: error: `USB_ST_NOERROR' undeclared (first use in this function) irda-usb.c:557: error: `USB_QUEUE_BULK' undeclared (first use in this function) irda-usb.c:557: error: `USB_ASYNC_UNLINK' undeclared (first use in this function) irda-usb.c:563: error: `USB_ZERO_PACKET' undeclared (first use in this function) irda-usb.c:616: error: too few arguments to function `usb_submit_urb' irda-usb.c: In function `write_bulk_callback': irda-usb.c:661: error: `USB_ST_NOERROR' undeclared (first use in this function) irda-usb.c: In function `irda_usb_net_timeout': irda-usb.c:746: error: `USB_ST_NOERROR' undeclared (first use in this function) irda-usb.c:750: error: `USB_ST_URB_PENDING' undeclared (first use in this function) irda-usb.c: In function `irda_usb_submit': irda-usb.c:906: error: `USB_QUEUE_BULK' undeclared (first use in this function) irda-usb.c:909: error: `USB_ST_NOERROR' undeclared (first use in this function) irda-usb.c:910: error: structure has no member named `next' irda-usb.c:912: error: too few arguments to function `usb_submit_urb' irda-usb.c: In function `irda_usb_receive': irda-usb.c:951: error: `USB_ST_CRC' undeclared (first use in this function) irda-usb.c:957: error: `USB_ST_NOERROR' undeclared (first use in this function) irda-usb.c: In function `irda_usb_net_init': irda-usb.c:1114: warning: implicit declaration of function `irda_device_setup' irda-usb.c: In function `irda_usb_net_open': irda-usb.c:1420: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /usr/src/linux-2.6/include/linux/module.h:529) irda-usb.c: In function `irda_usb_net_close': irda-usb.c:1463: error: `USB_ASYNC_UNLINK' undeclared (first use in this function) irda-usb.c:1473: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /usr/src/linux-2.6/include/linux/module.h:541) irda-usb.c: In function `irda_usb_open': irda-usb.c:1683: error: `HB_GLOBAL' undeclared (first use in this function) irda-usb.c:1695: warning: implicit declaration of function `dev_alloc' irda-usb.c:1695: warning: assignment makes pointer from integer without a cast irda-usb.c: In function `irda_usb_probe': irda-usb.c:1981: warning: implicit declaration of function `usb_set_configuration' irda-usb.c:1981: error: structure has no member named `bConfigurationValue' irda-usb.c:1993: error: `USB_ST_NOERROR' undeclared (first use in this function) irda-usb.c:1995: error: `USB_ST_STALL' undeclared (first use in this function) irda-usb.c:2006: error: request for member `altsetting' in something not a structure or union irda-usb.c:2007: error: structure has no member named `endpoint' xirda-usb.c: In function `irda_usb_disconnect': irda-usb.c:2080: error: `USB_ASYNC_UNLINK' undeclared (first use in this function) irda-usb.c: At top level: irda-usb.c:2099: warning: initialization from incompatible pointer type irda-usb.c:2100: warning: initialization from incompatible pointer type make: *** [irda-usb.o] Error 1 I'm no C programmer, I have no idea what's missing here to let the compilation complete. I did edit the makefile to fix the path to the Linux source and include directories. I'd be grateful for any suggestions. (What, nobody even has an opinion on my question about libxfce? Is that a bug or not?) -- Carl Fink carl(a)fink.to Jabootu's Minister of Proofreading http://www.jabootu.com -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
|
Pages: 1 Prev: pptp vpn issue Next: Network problem |