avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [avr-gcc-list] make: *** [test_uart.cof] Error 255


From: Linden,Hans van der
Subject: RE: [avr-gcc-list] make: *** [test_uart.cof] Error 255
Date: Fri, 16 May 2003 13:52:35 +0200

Hi Stefan,

Try making your file name "test_uart" shorter. Objtool v0.05 doesn't handle
long file names, hence the "ERROR: Unable to load .ELF file." error message.

(I also struggled with this for many hours. Changing the file name to 8.3
format eventually solved the problem.)

Hope this helps.

Hans

-----Original Message-----
From: Stefan Goerres [mailto:address@hidden
Sent: donderdag 15 mei 2003 16:58
To: address@hidden
Subject: [avr-gcc-list] make: *** [test_uart.cof] Error 255


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 mailing list
address@hidden
http://www.avr1.org/mailman/listinfo/avr-gcc-list

Attachment: InterScan_Disclaimer.txt
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]