[Top][All Lists]

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

Re: [avr-gcc-list] Error while compiling avr uip

From: E. Weddington
Subject: Re: [avr-gcc-list] Error while compiling avr uip
Date: Mon, 23 Aug 2004 09:34:16 -0600
User-agent: Mozilla Thunderbird 0.7.3 (Windows/20040803)

address@hidden wrote:

Hi all,

i'm new using avr gcc. i'm working on my final project now.
i try to compile avr up 0.60.1 for my final project. i use the avrgcc at
Win2000 platform, but there are these errors:

avr-gcc -c -g  -Os -Wall -Wstrict-prototypes -Wa,-ahlms=main.lst
-I. main.c -o main.o
avr-gcc -c -g  -Os -Wall -Wstrict-prototypes -Wa,-ahlms=app.lst
-I. app.c -o app.o
avr-gcc -c -g  -Os -Wall -Wstrict-prototypes -Wa,-ahlms=rtl8019.lst
535 -I. rtl8019.c -o rtl8019.o
avr-gcc -c -g  -Os -Wall -Wstrict-prototypes -Wa,-ahlms=rtl8019dev.lst
0s8535 -I. rtl8019dev.c -o rtl8019dev.o
avr-gcc -c -g  -Os -Wall -Wstrict-prototypes -Wa,-ahlms=delay.lst
5 -I. delay.c -o delay.o
avr-gcc -c -g  -Os -Wall -Wstrict-prototypes -Wa,-ahlms=uip.lst
-I. uip.c -o uip.o
avr-gcc -c -g  -Os -Wall -Wstrict-prototypes -Wa,-ahlms=uip_arp.lst
535 -I. uip_arp.c -o uip_arp.o
avr-gcc -c -g  -Os -Wall -Wstrict-prototypes -Wa,-ahlms=uip_arch.lst
8535 -I. uip_arch.c -o uip_arch.o
avr-gcc  main.o app.o rtl8019.o rtl8019dev.o delay.o uip.o uip_arp.o
 -Wl,-Map=uIPexample.map,--cref -mmcu=at90s8535 -o uIPexample.elf
avr-objcopy -O avrobj -R .eeprom uIPexample.elf uIPexample.obj
avr-objcopy -O ihex      -R .eeprom uIPexample.elf uIPexample.hex
elfcoff uIPexample.elf coff uIPexample.cof uIPexample.sym
cp coff/uIPexample.cof .
cp coff/* .
cp: not found
make: *** [uIPexample.cof] Error 2
rm rtl8019dev.o delay.o uip_arp.o app.o rtl8019.o uip.o uip_arch.o main.o

i have change the elfcoff.exe with the newest version downloaded from
could anyone tell me what happened? and what should i do to fix these errors.
Your makefile could not find the cp utility, which is the Unix copy command.

Also elfcoff is deprecated and no longer used.

I would suggest that you get the latest WinAVR distribution which can be found here:
This will take care of your cp problem and if you read the installed README file, it explains how to generate an ELF file that contains DWARF debug information that can be used in Atmel's AVR Studio 4.10 software.


reply via email to

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