[En-Nut-Discussion] Problems compiling example playmp3.

Jérôme Cuenin ethernut at cuenin.net
Fri Dec 30 14:39:02 CET 2005


Hi all,

I try to compile the "playmp3" example and I have the following error message [1]
The include files seems to be ok in playmp3.c...

My config:
- Ethernut 3.9.9
- WinAVR 20050214

Any idea?

THX and happy new year!
Jérôme ;o}

PS: I have similar problems with others examples: cppdemo, isp2, nutpiper and mnut03.

[1]
C:\ethernut-3.9.9\nutapp\playmp3>make all
avr-gcc -c -mmcu=atmega128 -Os -fno-delete-null-pointer-checks -Wall -Wstrict-pr
ototypes -Wa,-ahlms=playmp3.lst -DETHERNUT2 -D__HARVARD_ARCH__ -Ic:/ethernut-3.9
.9/nutbld/include  -Ic:/ethernut-3.9.9/nut/include  playmp3.c -o playmp3.o
crurom -r -ourom.c sounds
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-3.9.9/
nutbld/include  -Ic:/ethernut-3.9.9/nut/include  urom.c -o urom.o
avr-gcc playmp3.o urom.o -mmcu=atmega128 -Wl,--defsym=main=0,-Map=playmp3.map,--
cref -Lc:/ethernut-3.9.9/nutbld/lib c:/ethernut-3.9.9/nutbld/lib/nutinit.o -lnut
net -lnutpro -lnutfs -lnutos -lnutdev -lnutnet -lnutcrt -o playmp3.elf
playmp3.o(.text+0x84): In function `PlayMp3File':
: undefined reference to `VsPlayerInterrupts'
playmp3.o(.text+0x90): In function `PlayMp3File':
: undefined reference to `VsPlayerInterrupts'
playmp3.o(.text+0x9a): In function `PlayMp3File':
: undefined reference to `VsPlayerInterrupts'
playmp3.o(.text+0xac): In function `PlayMp3File':
: undefined reference to `VsPlayerInterrupts'
playmp3.o(.text+0xf8): In function `PlayMp3File':
: undefined reference to `VsPlayerInterrupts'
playmp3.o(.text+0x106): more undefined references to `VsPlayerInterrupts' follow

playmp3.o(.text+0x136): In function `PlayMp3File':
: undefined reference to `VsPlayerFlush'
playmp3.o(.text+0x140): In function `PlayMp3File':
: undefined reference to `VsGetStatus'
playmp3.o(.text+0x154): In function `PlayMp3File':
: undefined reference to `VsPlayerKick'
playmp3.o(.text+0x16e): In function `PlayMp3File':
: undefined reference to `VsGetStatus'
playmp3.o(.text+0x186): In function `PlayMp3File':
: undefined reference to `VsPlayerReset'
playmp3.o(.text+0x208): In function `NutAppMain':
: undefined reference to `devDebug0'
playmp3.o(.text+0x20a): In function `NutAppMain':
: undefined reference to `devDebug0'
playmp3.o(.text+0x26e): In function `NutAppMain':
: undefined reference to `VsPlayerInit'
playmp3.o(.text+0x276): In function `NutAppMain':
: undefined reference to `VsPlayerReset'
playmp3.o(.text+0x28a): In function `NutAppMain':
: undefined reference to `VsSetVolume'
playmp3.o(.text+0x2a6): In function `NutAppMain':
: undefined reference to `VsSetVolume'
playmp3.o(.text+0x2c2): In function `NutAppMain':
: undefined reference to `VsSetVolume'
playmp3.o(.text+0x2de): In function `NutAppMain':
: undefined reference to `VsSetVolume'
c:/ethernut-3.9.9/nutbld/lib/nutinit.o(.text+0x1a): In function `NutIdle':
: undefined reference to `NutThreadCreate'
c:/ethernut-3.9.9/nutbld/lib/nutinit.o(.init8+0x2e): In function `NutInit':
: undefined reference to `NutThreadCreate'
c:/ethernut-3.9.9/nutbld/lib\libnutos.a(thread.o)(.text+0xd2): In function `NutT
hreadResume':
: undefined reference to `NutThreadSwitch'
c:/ethernut-3.9.9/nutbld/lib\libnutos.a(thread.o)(.text+0x212): In function `Nut
ThreadSetPriority':
: undefined reference to `NutThreadSwitch'
c:/ethernut-3.9.9/nutbld/lib\libnutos.a(timer.o)(.text+0x2c): In function `NutTi
merInit':
: undefined reference to `NutRegisterTimer'
c:/ethernut-3.9.9/nutbld/lib\libnutos.a(timer.o)(.text+0x30c): In function `NutT
imerStart':
: undefined reference to `NutTimerMillisToTicks'
c:/ethernut-3.9.9/nutbld/lib\libnutos.a(timer.o)(.text+0x400): In function `NutG
etSeconds':
: undefined reference to `NutGetTickClock'
c:/ethernut-3.9.9/nutbld/lib\libnutos.a(timer.o)(.text+0x43e): In function `NutG
etMillis':
: undefined reference to `NutGetTickClock'
c:/ethernut-3.9.9/nutbld/lib\libnutos.a(timer.o)(.text+0x452): In function `NutG
etMillis':
: undefined reference to `NutGetTickClock'
c:/ethernut-3.9.9/nutbld/lib\libnutos.a(timer.o)(.text+0x496): In function `NutG
etMillis':
: undefined reference to `NutGetTickClock'
make: *** [playmp3.elf] Error 1

C:\ethernut-3.9.9\nutapp\playmp3>





More information about the En-Nut-Discussion mailing list