[En-Nut-Discussion] warning/error when compiling eboot.c in eboot v1.00
Jean Marc LACROIX
jeanmarc.lacroix at free.fr
Sun Jun 12 12:22:42 CEST 2005
jeanmarc.lacroix at free.frHi Harald,
I have some pb when compiling eboot V1.00, it seems that internal
macro '_ELPM' `outp' and `BV' no more exists .
Have you a workaround ?
I would like run this boot on ethernut V2 hardware
rm -f eboot.o tftp.o dhcp.o udp.o ip.o arp.o ether.o util.o flash.o
rm -f eboot.rom
rm -f eboot.obj
rm -f eboot.sym
rm -f eboot.map
rm -f eboot.lst tftp.lst dhcp.lst udp.lst ip.lst arp.lst ether.lst util.lst
rm -f eboot.bak tftp.bak dhcp.bak udp.bak ip.bak arp.bak ether.bak util.bak
avr-gcc -c -mmcu=atmega128 -Os -Wall -Wstrict-prototypes
-Wa,-ahlms=eboot.lst -I. eboot.c -o eboot.o
eboot.c: In function `main':
eboot.c:97: warning: implicit declaration of function `_ELPM'
avr-gcc -c -mmcu=atmega128 -Os -Wall -Wstrict-prototypes
-Wa,-ahlms=tftp.lst -I. tftp.c -o tftp.o
tftp.c: In function `FlashPage':
tftp.c:78: warning: implicit declaration of function `outp'
avr-gcc -c -mmcu=atmega128 -Os -Wall -Wstrict-prototypes
-Wa,-ahlms=dhcp.lst -I. dhcp.c -o dhcp.o
avr-gcc -c -mmcu=atmega128 -Os -Wall -Wstrict-prototypes
-Wa,-ahlms=udp.lst -I. udp.c -o udp.o
avr-gcc -c -mmcu=atmega128 -Os -Wall -Wstrict-prototypes
-Wa,-ahlms=ip.lst -I. ip.c -o ip.o
avr-gcc -c -mmcu=atmega128 -Os -Wall -Wstrict-prototypes
-Wa,-ahlms=arp.lst -I. arp.c -o arp.o
avr-gcc -c -mmcu=atmega128 -Os -Wall -Wstrict-prototypes
-Wa,-ahlms=ether.lst -I. ether.c -o ether.o
ether.c: In function `NicInit':
ether.c:138: warning: implicit declaration of function `outp'
ether.c:138: warning: implicit declaration of function `BV'
avr-gcc -c -mmcu=atmega128 -Os -Wall -Wstrict-prototypes
-Wa,-ahlms=util.lst -I. util.c -o util.o
avr-gcc -Wa,-gstabs,-ahlms=flash.lst -mmcu=atmega128 -c -o flash.o flash.S
avr-gcc eboot.o tftp.o dhcp.o udp.o ip.o arp.o ether.o util.o flash.o
-mmcu=atmega128 -Wl,-Map=eboot.map,--cref,--defsym,__stack=0x10FF
-nostartfiles -nodefaultlibs -Ttext=0x1E000 -o eboot.elf
eboot.o(.text+0x3a): In function `main':
: undefined reference to `_ELPM'
tftp.o(.text+0x48): In function `FlashPage':
: undefined reference to `outp'
ether.o(.text+0x12): In function `NicInit':
: undefined reference to `BV'
ether.o(.text+0x1c): In function `NicInit':
: undefined reference to `BV'
ether.o(.text+0x26): In function `NicInit':
: undefined reference to `outp'
--
--------------------------------------
-- Jean-Marc LACROIX --
-- mailto : jeanmarc.lacroix at free.fr --
---------------------------------------
More information about the En-Nut-Discussion
mailing list