[En-Nut-Discussion] httpd compilation
Jean-Francois Dufour
jean-francois.dufour at polymtl.ca
Thu Nov 1 19:26:59 CET 2007
Just an idea: Are you sure that you have added the ethernut path in your
global Path variable?
For me, adding c:\ethernut-4.4.0\nut\tools\win32 to it made the referencing
work.
JF
-----Original Message-----
From: Sarunas Kebeikis [mailto:info at darmena.lt]
Sent: November 1, 2007 18:33
To: en-nut-discussion at egnite.de
Subject: [En-Nut-Discussion] httpd compilation
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
-DLAN_ADDRESS=0xff80 -DLCD -DADDRESS_LCD=0xff04 -DTERM -DFLASH -DADCDRV
-DRTC -DDS1307 -DMMNET104 -D__HARVARD_ARCH__
-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.
Sarunas
_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion
More information about the En-Nut-Discussion
mailing list