[En-Nut-Discussion] httpd compilation

Sarunas Kebeikis info at darmena.lt
Thu Nov 1 18:32:37 CET 2007

Hello again,

Now I am trying to compile httpserv.c sample but with no success. All
configuration was done as I write in previous message and now I am getting
the following error:

> "make.exe" clean

rm -f httpserv.o urom.o

rm -f httpserv.hex httpserv.bin httpserv.elf

rm -f httpserv.eep

rm -f httpserv.obj

rm -f httpserv.map

rm -f httpserv.lst urom.lst

rm -f httpserv.bak urom.bak

rm -f httpserv.i urom.i

rm -f urom.c


> Process Exit Code: 0

> Time Taken: 00:00


> "make.exe" all

avr-gcc -c -mmcu=atmega128 -Os -fno-delete-null-pointer-checks -Wall
-Wstrict-prototypes -Wa,-ahlms=httpserv.lst -DMMNET104 -DLAN -DC111
-IC:/ethernut-4.4.0/nutbld/include  -IC:/ethernut-4.4.0/nut/include
httpserv.c -o httpserv.o

httpserv.c: In function 'NutAppMain':

httpserv.c:655: error: 'devEth0' undeclared (first use in this function)

httpserv.c:655: error: (Each undeclared identifier is reported only once

httpserv.c:655: error: for each function it appears in.)

httpserv.c:790: warning: no return statement in function returning non-void

make.exe: *** [httpserv.o] Error 1


> Process Exit Code: 2

> Time Taken: 00:00


 I think that compiler did not recognized that I am using LAN91C111 and
trying to compile with RTL8019 LAN controller. Where I made a mistake with
hardware configuration? Thanks.




More information about the En-Nut-Discussion mailing list