I'm having problems building bootloadHID.2007-06-25 The avr tools are from the Ubuntu 7.10 (gutsy gibbon) repository.
Code: Select all
root@mbili:/home/uuser/avr_proj/bootload/firmware# make
avr-gcc -Wall -Os -Iusbdrv -I. -mmcu=atmega8 -c usbdrv/usbdrv.c -o usbdrv/usbdrv.o
avr-gcc -Wall -Os -Iusbdrv -I. -mmcu=atmega8 -x assembler-with-cpp -c usbdrv/usbdrvasm.S -o usbdrv/usbdrvasm.o
avr-gcc -Wall -Os -Iusbdrv -I. -mmcu=atmega8 -c usbdrv/oddebug.c -o usbdrv/oddebug.o
avr-gcc -Wall -Os -Iusbdrv -I. -mmcu=atmega8 -c main.c -o main.o
avr-gcc -Wall -Os -Iusbdrv -I. -mmcu=atmega8 -o main.bin usbdrv/usbdrv.o usbdrv/usbdrvasm.o usbdrv/oddebug.o main.o -Wl,--section-start=.text=1800
/usr/lib/gcc/avr/4.2.1/../../../../avr/bin/ld: address 0x2018 of main.bin section .text is not within region text
make: *** [main.bin] Error 1
root@mbili:/home/uuser/avr_proj/bootload/firmware# avr-gcc --version
avr-gcc (GCC) 4.2.1
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
My question:
- which is the recommended version of the avr tools and where can I get them?
- what else could have gone wrong, and what can I do?
Thanks for your help
Cheers
Gert