[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-gcc-list] make: *** [test_uart.cof] Error 255
From: |
Stefan Goerres |
Subject: |
[avr-gcc-list] make: *** [test_uart.cof] Error 255 |
Date: |
Thu, 15 May 2003 16:57:43 +0200 |
Hi!
Can one sahde some light in this error messages? I have got this UART
sample code from http://www.mysunrise.ch/users/pfleury/ it it does not
compile. Hence I struggling with the AVR makefiles I was not able to fix
it. Any ideas what is going wrong?
avr-gcc -c -g -Os -Wall -Wstrict-prototypes -Wa,-adhlmsn=test_uart.lst
-mmcu=at90s8515 -I. test_uart.c -o test_uart.o
avr-gcc -c -g -Os -Wall -Wstrict-prototypes -Wa,-adhlmsn=uart.lst
-mmcu=at90s8515 -I. uart.c -o uart.o
avr-gcc test_uart.o uart.o -Wl,-Map=test_uart.map,--cref
-mmcu=at90s8515 -o test_uart.elf
objtool loadelf test_uart.elf mapfile test_uart.map writecof
test_uart.cof
ERROR: Unable to load .ELF file.
OBJTOOL v0.05 beta
help - Displays this screen.
loadelf <filename> - Loads a .ELF file into memory.
loadcof <filename> - Loads a .COF file into memory.
writecof <filename> - Writes memory contents into a .COF file.
mapfile <filename> - Sets the name of the mapfile for global symbol
addresses.
dumpelf - Dumps memory contents to screen in .ELF format.
dumpcof - Dumps memory contents to screen in .COF format.
copyright - Displays copyright information.
invent <name> <type> <A1> <A2> <A3> <A4> - Invents a symbol information
type of
<name> with a type of <type>
and
with the array attributes of
<Ax>
make: *** [test_uart.cof] Error 255
Thanks!
Stefan
- [avr-gcc-list] make: *** [test_uart.cof] Error 255,
Stefan Goerres <=