[En-Nut-Discussion] web interface compile problem

jilu at student.uni-kassel.de jilu at student.uni-kassel.de
Mon Feb 27 13:51:10 CET 2006


Many thanks, Harald:
I set the path as you told but got a new error:-(
(I havn't changed any code of the example)

C:\ethernut-4.0.2\nutapp\webport>make
avr-gcc -c -mmcu=atmega128 -Os -fno-delete-null-pointer-checks -Wall -Wstrict-pr
ototypes -Wa,-ahlms=webport.lst -DETHERNUT2 -D__HARVARD_ARCH__ -IC:/ethernut-4.0
.2/nutbld/include  -IC:/ethernut-4.0.2/nut/include  webport.c -o webport.o
avr-gcc -c -mmcu=atmega128 -Os -fno-delete-null-pointer-checks -Wall -Wstrict-pr
ototypes -Wa,-ahlms=cgi.lst -DETHERNUT2 -D__HARVARD_ARCH__ -IC:/ethernut-4.0.2/n
utbld/include  -IC:/ethernut-4.0.2/nut/include  cgi.c -o cgi.o
avr-gcc -c -mmcu=atmega128 -Os -fno-delete-null-pointer-checks -Wall -Wstrict-pr
ototypes -Wa,-ahlms=db_shift.lst -DETHERNUT2 -D__HARVARD_ARCH__ -IC:/ethernut-4.
0.2/nutbld/include  -IC:/ethernut-4.0.2/nut/include  db_shift.c -o db_shift.o
crurom -r -ourom.c html
avr-gcc -c -mmcu=atmega128 -Os -fno-delete-null-pointer-checks -Wall -Wstrict-pr
ototypes -Wa,-ahlms=urom.lst -DETHERNUT2 -D__HARVARD_ARCH__ -IC:/ethernut-4.0.2/
nutbld/include  -IC:/ethernut-4.0.2/nut/include  urom.c -o urom.o
avr-gcc webport.o cgi.o db_shift.o urom.o -mmcu=atmega128 -Wl,--defsym=main=0,-M
ap=webport.map,--cref -Lc:/ethernut-4.0.2/nutbld/lib c:/ethernut-4.0.2/nutbld/li
b/nutinit.o  -lnutnet -lnutpro -lnutfs -lnutos -lnutdev -lnutnet -lnutcrt -o web
port.elf
webport.o(.text+0xe4): In function `NutAppMain':
: undefined reference to `devDebug0'
webport.o(.text+0xe6): In function `NutAppMain':
: undefined reference to `devDebug0'
webport.o(.text+0x140): In function `NutAppMain':
: undefined reference to `devSmsc111'
webport.o(.text+0x142): In function `NutAppMain':
: undefined reference to `devSmsc111'
webport.o(.text+0x35e): In function `NutAppMain':
: undefined reference to `NutThreadCreate'
cgi.o(.text+0x920): In function `SpiRelayControl':
: undefined reference to `SpiDigitalInit'
cgi.o(.text+0xa02): In function `SpiRelayControl':
: undefined reference to `SpiDigitalSet'
cgi.o(.text+0xbb4): In function `SpiOptoStatus':
: undefined reference to `SpiDigitalInit'
cgi.o(.text+0xc8c): In function `SpiOptoStatus':
: undefined reference to `SpiDigitalGet'
c:/ethernut-4.0.2/nutbld/lib/nutinit.o(.text+0x1a): In function `NutIdle':
: undefined reference to `NutThreadCreate'
c:/ethernut-4.0.2/nutbld/lib/nutinit.o(.init8+0x2e): In function `NutInit':
: undefined reference to `NutThreadCreate'
c:/ethernut-4.0.2/nutbld/lib\libnutnet.a(tcpsm.o)(.text+0x117a): In function `Nu
tTcpInitStateMachine':
: undefined reference to `NutThreadCreate'
c:/ethernut-4.0.2/nutbld/lib\libnutpro.a(dhcpc.o)(.text+0x14be): In function `Dh
cpKick':
: undefined reference to `NutThreadCreate'
c:/ethernut-4.0.2/nutbld/lib\libnutos.a(thread.o)(.text+0xd2): In function `NutT
hreadResume':
: undefined reference to `NutThreadSwitch'
c:/ethernut-4.0.2/nutbld/lib\libnutos.a(thread.o)(.text+0x212): In function `Nut
ThreadSetPriority':
: undefined reference to `NutThreadSwitch'
c:/ethernut-4.0.2/nutbld/lib\libnutos.a(timer.o)(.text+0x2c): In function `NutTi
merInit':
: undefined reference to `NutRegisterTimer'
c:/ethernut-4.0.2/nutbld/lib\libnutos.a(timer.o)(.text+0x30c): In function `NutT
imerStart':
: undefined reference to `NutTimerMillisToTicks'
c:/ethernut-4.0.2/nutbld/lib\libnutos.a(timer.o)(.text+0x400): In function `NutG
etSeconds':
: undefined reference to `NutGetTickClock'
c:/ethernut-4.0.2/nutbld/lib\libnutos.a(timer.o)(.text+0x43e): In function `NutG
etMillis':
: undefined reference to `NutGetTickClock'
c:/ethernut-4.0.2/nutbld/lib\libnutos.a(timer.o)(.text+0x452): In function `NutG
etMillis':
: undefined reference to `NutGetTickClock'
c:/ethernut-4.0.2/nutbld/lib\libnutos.a(timer.o)(.text+0x496): In function `NutG
etMillis':
: undefined reference to `NutGetTickClock'
c:/ethernut-4.0.2/nutbld/lib\libnutos.a(event.o)(.text+0x7c): In function `NutEv
entWait':
: undefined reference to `NutTimerMillisToTicks'
make: *** [webport.elf] Error 1

and what's the "webport.elf" used for?

Alex




------------------------------

Message: 3
Date: Fri, 24 Feb 2006 13:54:47 +0100
From: Harald Kipp <harald.kipp at egnite.de>
Subject: Re: [En-Nut-Discussion] web interface compile problem
To: "Ethernut User Chat (English)" <en-nut-discussion at egnite.de>
Message-ID: <5.1.1.6.0.20060224135348.02afb3a8 at egnite.de>
Content-Type: text/plain; charset="us-ascii"; format=flowed


Make couldn't find the crurom.exe utility.

   SET PATH=c:\ethernut-4.0.2\nut\tools\win32;%PATH%

should help.

Harald

At 13:46 24.02.2006 +0100, you wrote:

>crurom -r -ourom.c html
>process_begin: CreateProcess((null), crurom -r -ourom.c html, ...) failed.
>make (e=2): The system cannot find the file specified.


--------------------------------------------------------
This mail sent through http://www.uni-kassel.de/www-mail




More information about the En-Nut-Discussion mailing list