|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
Error Compiling Ethernut SourcesHello !
I'm using Ehternut 1.3 and i do get an error Compiling the source codes. I installed GCC AVR and Ethernut-Configurator on my PC like discrebed in the *.pdf from the ethernut website. Please can someone look on the log files an can tell me what to do or what iam doing wrong. I was able to compile other projects than httpd. But this is special important to me. Thanks for your attention Joern The Configurator works... *********************Log from start of configurator: 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.312:31:51: Loading nut/conf/repository.nut 12:31:51: Loading C:/ethernut-4.8.3/nut/conf/stk501.conf12:31:52: OK *********************then i start build, that worked without errors: 12:32:40: Creating Makefiles for avr-gcc in nutbld_stk501 12:32:41: Creating header files in nutbld_stk50112: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.aavr-ar: creating libnutos.a avr-ar: creating libnutdev.aavr-ar: creating libnutc.a avr-ar: creating libnutcrt.aavr-ar: creating libnutgorp.a avr-ar: creating libnutnet.aavr-ar: creating libnutpro.a avr-ar: creating libnutfs.aavr-ar: creating libnutcpp.a avr-ar: creating libnutlua.aavr-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 ----- *********************after that i created the 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_stk50112:35:06: OK *********************til now no *.hex files are made, meens that i have to compile with make C:\ethernut-4.8.3>dir Volume in Laufwerk C: hat keine Bezeichnung. Volumeseriennummer: 6423-89A2 Verzeichnis von C:\ethernut-4.8.304.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.batC:\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\bin;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-20080610\ bin;C:\WinAVR-20080610\utils\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\Syste m32\Wbem;c:\Programme\Microsoft SQLServer\90\Tools\binn\;C:\Programme\QuickTime \QTSystem\;C:\Programme\Microsoft VisualStudio\Common\Tools\WinNT;C:\Programme\ Microsoft Visual Studio\Common\MSDev98\Bin;C:\Programme\Microsoft VisualStudio\ 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 allrm -f httpserv.o urom.o rm -f httpserv.hex httpserv.bin httpserv.elfrm -f httpserv.eeprm -f httpserv.obj rm -f httpserv.maprm -f httpserv.lst urom.lstrm -f httpserv.bak urom.bak rm -f httpserv.i urom.irm -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 1C:\ethernut-4.8.3\nutapp_stk501\httpd> ********************* _______________________________________________ http://lists.egnite.de/mailman/listinfo/en-nut-discussion |
|
|
Re: Error Compiling Ethernut SourcesJörn Stobernack wrote:
> I'm using Ehternut 1.3 and i do get an error Compiling the source codes. > I installed GCC AVR and Ethernut-Configurator on my PC like discrebed in the > *.pdf from the ethernut website. but > 12:31:51: Loading C:/ethernut-4.8.3/nut/conf/stk501.conf12:31:52: OK shows, that you selected the STK501. This board doesn't provide an Ethernet interface, so compiling httpd fails due to the missing Ethernet driver. Not, that we recently updated the software manual. Here is the latest version: http://www.ethernut.de/pdf/enswm28e.pdf Harald _______________________________________________ http://lists.egnite.de/mailman/listinfo/en-nut-discussion |
| Free embeddable forum powered by Nabble | Forum Help |