[En-Nut-Discussion] Ethernut 1.3f and Medianut? How to?

Chris Büchner chris.buechner at arcor.de
Fri Apr 25 15:26:13 CEST 2008


Hello everybody,

actually I`m at a point, where I don`t know what to do.
I have a old Medianut board Rev. 1.3f, now I wanted to play Radio and 
bought the medianut board.
To start up I downloaded the mnut example and followed up the how to on 
the Documentation site.

But there are some problemes, while compiling the example file:
avr-gcc mnut03.o -mmcu=atmega128 
-Wl,--defsym=main=0,-Map=mnut03.map,--cref 
-LC:/ethernut-4.4.1/nutbld/lib -Wl,--start-group 
C:/ethernut-4.4.1/nutbld/lib/nutinit.o -lnutpro -lnutos -lnutdev 
-lnutnet -lnutcrt -Wl,--end-group -o mnut03.elf
mnut03.o: In function `PlayMp3Stream':
mnut03.c:(.text+0x148): undefined reference to `VsPlayerInit'
mnut03.c:(.text+0x154): undefined reference to `VsPlayerReset'
mnut03.c:(.text+0x16a): undefined reference to `VsSetVolume'
mnut03.c:(.text+0x170): undefined reference to `VsPlayerInterrupts'
mnut03.c:(.text+0x17c): undefined reference to `VsPlayerInterrupts'
mnut03.c:(.text+0x196): undefined reference to `VsPlayerInterrupts'
mnut03.c:(.text+0x1a8): undefined reference to `VsPlayerInterrupts'
mnut03.c:(.text+0x1ac): undefined reference to `VsGetStatus'
mnut03.c:(.text+0x1f0): undefined reference to `VsPlayerKick'
mnut03.c:(.text+0x230): undefined reference to `VsPlayerInterrupts'
mnut03.c:(.text+0x240): undefined reference to `VsPlayerInterrupts'
mnut03.o: In function `ConfigureLan':
mnut03.c:(.text+0x5e2): undefined reference to `devEth0'
mnut03.c:(.text+0x5e6): undefined reference to `devEth0'
mnut03.o: In function `NutAppMain':
mnut03.c:(.text+0x776): undefined reference to `devDebug0'
mnut03.c:(.text+0x778): undefined reference to `devDebug0'
mnut03.c:(.text+0x7da): undefined reference to `devEth0'
mnut03.c:(.text+0x7dc): undefined reference to `devEth0'
C:/ethernut-4.4.1/nutbld/lib/nutinit.o: In function `NutIdle':
nutinit.c:(.text+0x22): undefined reference to `NutThreadCreate'
C:/ethernut-4.4.1/nutbld/lib/nutinit.o: In function `NutInit':
nutinit.c:(.init8+0x28): undefined reference to `NutThreadCreate'
C:/ethernut-4.4.1/nutbld/lib\libnutpro.a(dhcpc.o): In function `DhcpKick':
dhcpc.c:(.text+0xe0): undefined reference to `NutThreadCreate'
C:/ethernut-4.4.1/nutbld/lib\libnutos.a(thread.o): In function 
`NutThreadSetPriority':
thread.c:(.text+0x234): undefined reference to `NutThreadSwitch'
C:/ethernut-4.4.1/nutbld/lib\libnutos.a(thread.o): In function 
`NutThreadResume':
thread.c:(.text+0x2ca): undefined reference to `NutThreadSwitch'
C:/ethernut-4.4.1/nutbld/lib\libnutos.a(timer.o): In function 
`NutTimerStart':
timer.c:(.text+0x1f0): undefined reference to `NutTimerMillisToTicks'
C:/ethernut-4.4.1/nutbld/lib\libnutos.a(timer.o): In function 
`NutTimerInit':
timer.c:(.text+0x2b8): undefined reference to `NutRegisterTimer'
C:/ethernut-4.4.1/nutbld/lib\libnutos.a(timer.o): In function 
`NutGetMillis':
timer.c:(.text+0x416): undefined reference to `NutGetTickClock'
timer.c:(.text+0x42a): undefined reference to `NutGetTickClock'
timer.c:(.text+0x432): undefined reference to `NutGetTickClock'
C:/ethernut-4.4.1/nutbld/lib\libnutos.a(timer.o): In function 
`NutGetSeconds':
timer.c:(.text+0x4ca): undefined reference to `NutGetTickClock'
C:/ethernut-4.4.1/nutbld/lib\libnutdev.a(nvmem.o): In function 
`NutNvMemSave':
nvmem.c:(.text+0x0): undefined reference to `OnChipNvMemSave'
C:/ethernut-4.4.1/nutbld/lib\libnutdev.a(nvmem.o): In function 
`NutNvMemLoad':
nvmem.c:(.text+0x6): undefined reference to `OnChipNvMemLoad'
C:/ethernut-4.4.1/nutbld/lib\libnutnet.a(tcpsm.o): In function 
`NutTcpInitStateMachine':
tcpsm.c:(.text+0x7a): undefined reference to `NutThreadCreate'
C:\ethernut-4.4.1\nut\tools\win32\make.exe: *** [mnut03.elf] Error 1

What is wrong with this error messages? I think there are some files 
missing?

Thans a lot....
Chris




More information about the En-Nut-Discussion mailing list