(~/slop2/avrusb-20080418/usbdrv)-(root@asterisk)--> gcc -D LINUX -o usbdrv usbdrv.c
usbdrv.c:13:23: error: avr/io.h: No such file or directory
usbdrv.c:14:29: error: avr/pgmspace.h: No such file or directory
In file included from usbdrv.c:16:
usbdrv.h:13:23: error: usbconfig.h: No such file or directory
In file included from usbdrv.c:16:
usbdrv.h:432: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before âcharâ
usbdrv.h:438: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before âcharâ
usbdrv.h:444: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before âcharâ
usbdrv.h:450: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before âcharâ
usbdrv.h:456: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before âintâ
usbdrv.h:462: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before âintâ
usbdrv.h:468: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before âintâ
usbdrv.h:491:2: warning: #warning "You should define USB_CFG_VENDOR_ID and USB_CFG_DEVICE_ID in usbconfig.h"
usbdrv.h:514:2: error: #error "You must define USB_CFG_IOPORTNAME in usbconfig.h, see usbconfig-prototype.h"
usbdrv.c:75: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before âcharâ
usbdrv.c:114: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before âcharâ
usbdrv.c:143: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before âcharâ
usbdrv.c: In function âusbProcessRxâ:
usbdrv.c:378: error: âusbDescriptorDeviceâ undeclared (first use in this function)
usbdrv.c:378: error: (Each undeclared identifier is reported only once
usbdrv.c:378: error: for each function it appears in.)
usbdrv.c:380: error: âusbDescriptorConfigurationâ undeclared (first use in this function)
usbdrv.c:388: error: âusbDescriptorString0â undeclared (first use in this function)
usbdrv.c:390: error: âusbDescriptorStringVendorâ undeclared (first use in this function)
usbdrv.c:392: error: âusbDescriptorStringDeviceâ undeclared (first use in this function)
usbdrv.c:394: error: âusbDescriptorStringSerialNumberâ undeclared (first use in this function)
usbdrv.c: In function âisNotSE0â:
usbdrv.c:507: error: âPINUSB_CFG_IOPORTNAMEâ undeclared (first use in this function)
usbdrv.c:507: error: âUSB_CFG_DPLUS_BITâ undeclared (first use in this function)
usbdrv.c:507: error: âUSB_CFG_DMINUS_BITâ undeclared (first use in this function)
usbdrv.c: In function âusbInitâ:
usbdrv.c:569: error: âMCUCRâ undeclared (first use in this function)
usbdrv.c:569: error: âISC00â undeclared (first use in this function)
usbdrv.c:569: error: âISC01â undeclared (first use in this function)
usbdrv.c:574: error: âGICRâ undeclared (first use in this function)
usbdrv.c:574: error: âINT0â undeclared (first use in this function)