[En-Nut-Discussion] "XRAMEND" redefined Error on EtherNUT 3.3.0 initial make
Grahame Kelly
grahame at wildpossum.com
Thu Oct 16 08:29:37 CEST 2003
Hi All
I downloaded the latest AVR rpms from
http://savannah.nongnu.org/download/avr-libc/released/
as suggested onto a SuSE 8.2 with latest glibc.
Of course the downloaded rpms where built for a RedHat system
so I have to rpm -Uvh --nodeps. I had tried to build from the sources
without much luck.
However, I have a problem with the EtherNUT 3.3.0 build as you can
see from below. Can anyone suggest what I need to do to fix
this problem, other than moving over to RedHat ;-(
gmkelly at brushtail:~/ethernut-3.3.0/nut> rpm -qa|grep avr
avr-binutils-2.14-1
avr-gcc-3.3.1-1
avr-gcc-c++-3.3.1-1
avr-gdb-6.0-1
avr-libc-1.0-1
avr-libc-docs-1.0-1
gmkelly at brushtail:~/ethernut-3.3.0/nut> ./configure
Select a target device:
1) ATmega128
2) ATmega103
Selection -> 1
Which isp programmer are you using?
1) stk200, stk300 or compatible
2) stk500 on com1
3) stk500 on com2
Selection -> 2
Your system is now configured to build for atmega128.
Type `make` to build the system.
gmkelly at brushtail:~/ethernut-3.3.0/nut> make
make -C os
make[1]: Entering directory `/home/gmkelly/ethernut-3.3.0/nut/os'
avr-gcc -c -mmcu=atmega128 -Os -Wall -Werror -Wstrict-prototypes -Wa,-ahlms=init.lst -I../mod/include -I../includ
e init.c -o init.o
avr-gcc -c -mmcu=atmega128 -Os -Wall -Werror -Wstrict-prototypes -Wa,-ahlms=nutinit.lst -I../mod/include -I../inc
lude nutinit.c -o nutinit.o
nutinit.c:60:1: "XRAMEND" redefined
In file included from /usr/avr/include/avr/io.h:163,
from ../include/compiler.h:209,
from ../include/sys/types.h:95,
from ../include/sys/heap.h:66,
from nutinit.c:54:
/usr/avr/include/avr/iom128.h:1050:1: this is the location of the previous definition
make[1]: *** [nutinit.o] Error 1
make[1]: Leaving directory `/home/gmkelly/ethernut-3.3.0/nut/os'
make: *** [all] Error 2
Any assistance appreciated.
Thanks Grahame.
More information about the En-Nut-Discussion
mailing list