[En-Nut-Discussion] Problem with compile httpd

Tomi slack7 at o2.pl
Wed Nov 30 21:38:07 CET 2005


I have compiled NutOS for MMnet02, and when I try to compile examples I got:


C:\WinAVR\ethernut-3.9.9\nutapp\httpd>make
avr-gcc -c -mmcu=atmega128 -Os -fno-delete-null-pointer-checks -Wall -Wstrict-pr
ototypes -Wa,-ahlms=httpserv.lst -DMMNET02 -D__HARVARD_ARCH__ -IC:/WinAVR/ethern
ut-3.9.9/nutbld/include  -IC:/WinAVR/ethernut-3.9.9/nut/include  httpserv.c -o h
ttpserv.o
httpserv.c: In function `ShowSockets':
httpserv.c:341: warning: assignment discards qualifiers from pointer target type

httpserv.c:344: warning: assignment discards qualifiers from pointer target type

httpserv.c:347: warning: assignment discards qualifiers from pointer target type

httpserv.c:350: warning: assignment discards qualifiers from pointer target type

httpserv.c:353: warning: assignment discards qualifiers from pointer target type

httpserv.c:356: warning: assignment discards qualifiers from pointer target type

httpserv.c:359: warning: assignment discards qualifiers from pointer target type

httpserv.c:362: warning: assignment discards qualifiers from pointer target type

httpserv.c:365: warning: assignment discards qualifiers from pointer target type

httpserv.c:368: warning: assignment discards qualifiers from pointer target type

httpserv.c:371: warning: assignment discards qualifiers from pointer target type

httpserv.c:374: warning: assignment discards qualifiers from pointer target type

httpserv.c: In function `NutAppMain':
httpserv.c:554: error: `devEth0' undeclared (first use in this function)
httpserv.c:554: error: (Each undeclared identifier is reported only once
httpserv.c:554: error: for each function it appears in.)
httpserv.c:568: warning: implicit declaration of function `NutNetIfConfig'
make: *** [httpserv.o] Error 1


What is wrong ?




More information about the En-Nut-Discussion mailing list