[En-Nut-Discussion] tcps (and others) won't compile
Christoph Eicke
christoph at geisterstunde.org
Wed Apr 19 07:52:44 CEST 2006
Hi,
I have problems compiling the tcps and other examples. Basemon works
correctly, but when it comes to examples that utilize the network stuff in
ethernut I get the following error when typing "make":
avr-gcc -c -mmcu=atmega128 -Os -fno-delete-null-pointer-checks -Wall
-Wstrict-prototypes -Wa,-ahlms=tcps.lst -D__HARVARD_ARCH__
-DNUT_CPU_FREQ=16000000 -I../../include tcps.c -o tcps.o
tcps.c: In function `NutAppMain':
tcps.c:263: error: `devEth0' undeclared (first use in this function)
tcps.c:263: error: (Each undeclared identifier is reported only once
tcps.c:263: error: for each function it appears in.)
tcps.c:278: warning: implicit declaration of function `NutNetLoadConfig'
tcps.c:280: warning: implicit declaration of function `NutNetSaveConfig'
tcps.c:295: warning: implicit declaration of function `NutNetIfConfig'
make: *** [tcps.o] Error 1
I am using the ethernub 2.1b board with AVR-GCC under Gentoo Linux.
I have checked that dev/board.h is there and also is taken into account. I
assume that's where the devEth0 is defined in. I cannot explain myself this
error so I thought I would ask other's for any hints where the problem might
be.
Thanks,
Christop
--
GPG Key ID: 33D6AA8C
AIM: zeitgeist2600
ICQ: 271512600
Jabber: zeitgeist at jabber.ccc.de
http://www.geisterstunde.org
http://www.ceicke.de
More information about the En-Nut-Discussion
mailing list