Usbasp uses V-usb for usb communications. Usbasp includes V-usb in it's source code. The version of V-usb included in Usbasp is not the latest and would not compile with a recent avr-gcc. This issue affected er9x over a year ago.
When trying to compile the 2009 or 2011 versions of Usbasp from http://www.fischl.de/usbasp/ I got about a dozen of these errors.
Code: Select all
usbdrv/usbdrv.h:451:6: error: variable ‘usbDescriptorDevice’ must be const in order to be put into read-only section by means of ‘__attribute__((progmem))’
Not sure when avr-gcc became picky about this issue or if that is even the issue. Nor do I know why my Ubuntuish 'Linux Mint 14 Nadia' calls the package gcc-avr. Anyway this is what versions of the relevant ( I think) packages I have installed.
ii avr-libc 1:1.8.0-2 all Standard C library for Atmel AVR developm
ii binutils-avr 2.20.1-3 amd64 Binary utilities supporting Atmel's AVR t
ii gcc-avr 1:4.7.0-2 amd64 The GNU C compiler (cross compiler for av