Read-only archive of the All About Symbian forum (2001–2013) · About this archive

Problem with CMdaAudioOutputStream

1 replies · 1,730 views · Started 28 July 2003

Can anyone tell me what does this error message mean??

/THUMB/UREL/HELLOWORLD_APPUI.o)(.text+0x28):Helloworld_app: undefined reference
to `CMdaAudioOutputStream::NewL(MMdaAudioOutputStreamCallback &, CMdaServer *)'
..\..\EPOC32\BUILD\SYMBIAN\UIQ_70\UIQEXAMPLES\HELLOWORLD\HELLOWORLD\THUMB\UREL\H
ELLOWORLD.in(../../EPOC32/BUILD/SYMBIAN/UIQ_70/UIQEXAMPLES/HELLOWORLD/HELLOWORLD
/THUMB/UREL/HELLOWORLD_APPUI.o)(.text+0x28):Helloworld_app: relocation truncated
to fit: ARM_THUMB23 CMdaAudioOutputStream::NewL(MMdaAudioOutputStreamCallback &
, CMdaServer *)
make[1]: *** [..\..\EPOC32\RELEASE\THUMB\UREL\HELLOWORLD.APP] Error 1
make: *** [TARGETHELLOWORLD] Error 2
make -r -f "\Symbian\UIQ_70\EPOC32\BUILD\SYMBIAN\UIQ_70\UIQEXAMPLES\HELLOWORL
D\THUMB.make" FINAL CFG=UREL VERBOSE=-s

I modified the helloworld program to do an outputstream. I defined my
CExampleAppUi as
class CExampleAppUi : public CEikAppUi, public
MMdaAudioOutputStreamCallback

then to instantiate, I used:
iOutput = CMdaAudioOutputStream::NewL(*this);

where iOutput is an instance of CMdaAudioOutStream.

I seriously don't understand where I went wrong. Have been looking at this for over 4 hours 😞

Did you link the cmda... library? (i think there's one, might be wrong.. been a while😉

and there's also a perfectly fine working example on forum.nokia.com page, so you can grab it from there and check for differences.