Hello! I am trying High-Low Tech's tutorial (http://hlt.media.mit.edu/?p=1229) to program ATTiny85 using Arduino Duemilanove. I did everything very carefully and double checked also. When I try to upload a BLINK example, I get compiling error.
In file included from /usr/lib/gcc/avr/4.5.3/../../../avr/include/util/delay.h:44:0, from /usr/lib/gcc/avr/4.5.3/../../../avr/include/avr/delay.h:37, from /home/x/sketchbook/hardware/attiny45_85/cores/attiny45_85/wiring_private.h:32, from /home/x/sketchbook/hardware/attiny45_85/cores/attiny45_85/WInterrupts.c:36: /usr/lib/gcc/avr/4.5.3/../../../avr/include/math.h:426:15: error: expected identifier or ‘(’ before ‘double’ /usr/lib/gcc/avr/4.5.3/../../../avr/include/math.h:426:15: error: expected ‘)’ before ‘>=’ token
What am i doing wrong? BTW - I am using ArduinoISP-dev04b.zip that works with ATMega328P-PU. (using Linux Ubuntu)