[En-Nut-Discussion] httpd compilation
Ernst Stippl
ernst at stippl.org
Thu Nov 1 22:42:20 CET 2007
Hi Sarunas!
I your previous email you write that you changed the line "DEFS =$(HWDEF)",
But I am not sure if this is OK to do: which LAN driver is now added?
I dont know the Propox boards and the SW which comes with it, but I would
definitely look in that area.
Regard
ernst
-----Ursprüngliche Nachricht-----
Von: en-nut-discussion-bounces at egnite.de
[mailto:en-nut-discussion-bounces at egnite.de] Im Auftrag von Sarunas Kebeikis
Gesendet: Donnerstag, 01. November 2007 18:33
An: en-nut-discussion at egnite.de
Betreff: [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
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.503 / Virus Database: 269.15.16/1102 - Release Date: 31.10.2007
16:38
More information about the En-Nut-Discussion
mailing list