I used the instructions from: http://www.chipkin.com/articles/using-e ... uemilanove which seem to be straightforward, however I am getting the following error when building a sample application:
Code: Select all
Building target: Blinky.elf
Invoking: AVR C++ Linker
avr-gcc --cref -s -Os -o"Blinky.elf" ./main.o -lArduinoCore -lm -Wl,-Map,Blinky.map,--cref -L"/home/nwild/workspace/ArduinoCore/Release" -mmcu=atmega328p
/usr/lib/gcc/avr/4.3.4/../../../avr/lib/avr5/crtm328p.o: In function `__bad_interrupt':
../../../../crt1/gcrt1.S:193: undefined reference to `main'
make: *** [Blinky.elf] Error 1
Code: Select all
Building target: Blinky.elf
Invoking: AVR C++ Linker
avr-gcc –cref -s -Os -o”Blinky.elf” ./Main.o -lArduinoCore -lm -Wl,-Map,Blinky.map,–cref -L”X:\ArduinoCore\Release” -mmcu=atmega328p
c:/winavr-20100110/bin/../lib/gcc/avr/4.3.3/../../../../avr/lib/avr5/crtm328p.o:(.init9+0×0): undefined reference to `main’
make: *** [Blinky.elf] Error 1
Any help would be appreciated...