Forum: Mikrocontroller und Digitale Elektronik Ethernut Fehler beim Compilieren


von Jörg S. (joergstamm)


Lesenswert?

Hallo User !

Ich habe hier ein Ethernutboard (1.3) auf dem Tisch. Nur, so ganz schlau 
werde ich daraus nicht.

Ethernut ist auf dem PC installiert, ebenso GCC AVR. Ich habe den 
Configurator wie im *pdf beschrieben konfiguriert.

Log vom Start des Configurators:
12:31:37: Nut/OS Configurator Version 2.0.8
12:31:37: Linked to wxWidgets 2.8.9
12:31:37: Running on Windows XP (build 2600, Service Pack 3, v.5755)
12:31:37: Working in c:\ethernut-4.8.3
12:31:51: Loading nut/conf/repository.nut
12:31:51: Loading C:/ethernut-4.8.3/nut/conf/stk501.conf
12:31:52: OK

Daruf habe ich Build gestartet. Das lief ohne Fehler durch.
12:32:40: Creating Makefiles for avr-gcc in nutbld_stk501
12:32:41: Creating header files in nutbld_stk501
12:32:41: OK
12:32:43: ----- Running 'make clean' -----
12:32:43: Located c:\ethernut-4.8.3\nut\tools\win32\make.exe
12:32:48: ----- 'make clean' terminated successfully -----
12:32:48: ----- Running 'make all' -----
12:32:48: Located c:\ethernut-4.8.3\nut\tools\win32\make.exe
avr-ar: creating libnutarch.a
avr-ar: creating libnutos.a
avr-ar: creating libnutdev.a
avr-ar: creating libnutc.a
avr-ar: creating libnutcrt.a
avr-ar: creating libnutgorp.a
avr-ar: creating libnutnet.a
avr-ar: creating libnutpro.a
avr-ar: creating libnutfs.a
avr-ar: creating libnutcpp.a
avr-ar: creating libnutlua.a
avr-ar: creating libnutcontrib.a
12:33:35: ----- 'make all' terminated successfully -----
12:33:35: ----- Running 'make install' -----
12:33:35: Located c:\ethernut-4.8.3\nut\tools\win32\make.exe
12:33:37: ----- 'make install' terminated successfully -----

Dann Create Sample Direcory.
12:35:06: Copying samples from nut/app to nutapp_stk501
12:35:06: Translating ICCAVR projects from nut/appicc to nutapp_stk501
12:35:06: Creating Makefiles for avr-gcc in nutapp_stk501
12:35:06: OK

Bis jetzt wurden noch keine neuen *.Hex files erzeugt. Also Manuell 
Compiliren mit make.


C:\ethernut-4.8.3>dir
 Volume in Laufwerk C: hat keine Bezeichnung.
 Volumeseriennummer: 6423-89A2

 Verzeichnis von C:\ethernut-4.8.3

04.09.2009  12:05    <DIR>          .
04.09.2009  12:05    <DIR>          ..
04.09.2009  12:26               150 compile.bat
19.03.2003  06:14           499.712 msvcp71.dll
21.02.2003  14:42           348.160 msvcr71.dll
14.08.2009  16:33    <DIR>          nut
14.08.2009  18:25           276.351 nutapp.zip
18.08.2009  14:05    <DIR>          nutapp_stk501
18.08.2009  13:58    <DIR>          nutbld_stk501
09.03.2009  10:48         2.768.896 nutconf.exe
09.03.2009  10:50           229.376 nutconfigure.exe
16.01.2009  15:51         2.064.384 nutdisc.exe
20.06.2009  18:53        11.652.500 nutoshelp.chm
14.08.2009  16:33            53.101 Uninstall.exe
               9 Datei(en)     17.892.630 Bytes
               5 Verzeichnis(se), 87.182.897.152 Bytes frei

C:\ethernut-4.8.3>compile.bat

C:\ethernut-4.8.3>set 
PATH=c:\ethernut-4.8.3\tools\win32;C:\WinAVR\bin;C:\WinAVR
\utils\bin;c:\ethernut-4.8.3\tools\win32;C:\WinAVR\bin;C:\WinAVR\utils\b 
in;c:\et
hernut-4.8.3\tools\win32;C:\WinAVR\bin;C:\WinAVR\utils\bin;c:\ethernut-4 
.8.3\too
ls\win32;C:\WinAVR\bin;C:\WinAVR\utils\bin;c:\ethernut-4.8.3\tools\win32 
;C:\WinA
VR\bin;C:\WinAVR\utils\bin;C:\WinAVR\bin;C:\WinAVR\utils\bin;C:\WinAVR-2 
0080610\
bin;C:\WinAVR-20080610\utils\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDO 
WS\Syste
m32\Wbem;c:\Programme\Microsoft SQL 
Server\90\Tools\binn\;C:\Programme\QuickTime
\QTSystem\;C:\Programme\Microsoft Visual 
Studio\Common\Tools\WinNT;C:\Programme\
Microsoft Visual Studio\Common\MSDev98\Bin;C:\Programme\Microsoft Visual 
Studio\
Common\Tools;C:\Programme\Microsoft Visual Studio\VC98\bin

C:\ethernut-4.8.3>cd c:\ethernut-4.8.3\nutapp_stk501\httpd

C:\ethernut-4.8.3\nutapp_stk501\httpd>make clean all
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
avr-gcc -c -mmcu=atmega128 -Os -fno-delete-null-pointer-checks -Wall 
-Wstrict-pr
ototypes -Wa,-ahlms=httpserv.lst -DSTK501 -D__HARVARD_ARCH__ 
-I../../nutbld_stk5
01/include  -I../../nut/include  httpserv.c -o httpserv.o
httpserv.c: In function 'NutAppMain':
httpserv.c:747: error: 'devEth0' undeclared (first use in this function)
httpserv.c:747: error: (Each undeclared identifier is reported only once
httpserv.c:747: error: for each function it appears in.)
make: *** [httpserv.o] Error 1
C:\ethernut-4.8.3\nutapp_stk501\httpd>

Was fehlt denn hier ? Habe ich irgendetwas nicht mit eingebunden ?

Jörg

von Jörg (Gast)


Lesenswert?

Weiß denn echt keiner was ?

von holger (Gast)


Lesenswert?


Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.