Oh du hast recht! Jetzt scheint es auch zu funktionieren, es wird eine .hex erstellt aber es kommt trotzdem noch eine Fehlermeldung:
make
avr-gcc -g -I/usr/local/avr/include -B/usr/local/avr/lib -mmcu=atmega16 -Wall -Wstrict-prototypes -Os -mcall-prologues -Os -c test.c
test.c: In function 'main':
test.c:5: warning: control reaches end of non-void function
avr-gcc -g -I/usr/local/avr/include -B/usr/local/avr/lib -mmcu=atmega16 -Wall -Wstrict-prototypes -Os -mcall-prologues -o test.out -Wl,-Map,test.map test.o
avr-objcopy -R .eeprom -O ihex test.out test.hex
Und wenn ich als Rückgabewert von main void angebe bekomme ich immer eine Fehlermeldung, jedoch steht in meinem "C für Mikrocontroller" Buch void als Rückgabewert von main.