I want to upload a sketch onto the ATtiny4313 with the Arduino ISP from my Arduino UNO.
First a uploaded the ISP sketch with no ATtiny4313 connected. The works fine.
Then I uploaded the Blink sketch which works fine too.
However, when I try to upload the master_reader sketch from the examples I get the following errors:
In file included from master_reader.cpp:13:0:
/usr/share/arduino/libraries/Wire/Wire.h:55:20: error: conflicting return type specified for ‘virtual size_t TwoWire::write(uint8_t)’
/usr/share/arduino/hardware/tiny/cores/tiny/Print.h:71:18: error: overriding ‘virtual void Print::write(uint8_t)’
/usr/share/arduino/libraries/Wire/Wire.h:56:20: error: conflicting return type specified for ‘virtual size_t TwoWire::write(const uint8_t*, size_t)’
/usr/share/arduino/hardware/tiny/cores/tiny/Print.h:73:18: error: overriding ‘virtual void Print::write(const uint8_t*, size_t)’
There seems to be a return type conflict within the libraries used for my Attiny4313. I got them from http://code.google.com/p/arduino-tiny/downloads/detail?name=arduino-tiny-0100-0012.zip&can=2&q=
My setup: Ubuntu 12.04, Arduino UNO,
Are there any newer libs for the ATTiny available which do not cause any compilation problems ?