×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Dec 2005
    Posts
    59

    Unresolved symbols in Streaming Audio link

    My application includes both input and output Streaming Audio. But I get unresolved symbols in the link, even after adding in what I think is the correct library. (I am using Symbian 7.0s and building for the emulator using VC6.) Without MediaClientAudioStream.lib in the MMP file I get these 7 unresolved symbols:

    SOUND.obj : error LNK2001: unresolved external symbol "public: void __thiscall CMdaAudioInputStream::Stop(void)"
    SOUND.obj : error LNK2001: unresolved external symbol "public: void __thiscall CMdaAudioInputStream::SetPriority(int,enum TMdaPriorityPreference)"
    SOUND.obj : error LNK2001: unresolved external symbol "public: void __thiscall CMdaAudioInputStream::SetGain(int)"
    SOUND.obj : error LNK2001: unresolved external symbol "public: int __thiscall CMdaAudioInputStream::MaxGain(void)const "
    SOUND.obj : error LNK2001: unresolved external symbol "public: static class CMdaAudioInputStream * __cdecl CMdaAudioInputStream::NewL(class MMdaAudioInputStreamCallback &)"
    SOUND.obj : error LNK2001: unresolved external symbol "public: static class CMdaAudioOutputStream * __cdecl CMdaAudioOutputStream::NewL(class MMdaAudioOutputStreamCallback &,class CMdaServer *)"
    SOUND.obj : error LNK2001: unresolved external symbol "public: void __thiscall CMdaAudioInputStream::ReadL(class TDes8 &)"

    But when I add MediaClientAudioStream.lib into the MMP file and remake the vc6 makefile, I still get these 6 unresolved symbols:

    SOUND.obj : error LNK2001: unresolved external symbol "public: void __thiscall CMdaAudioInputStream::Stop(void
    SOUND.obj : error LNK2001: unresolved external symbol "public: void __thiscall CMdaAudioInputStream::SetPriority(int,enum TMdaPriorityPreference)"
    SOUND.obj : error LNK2001: unresolved external symbol "public: void __thiscall CMdaAudioInputStream::SetGain(int)"
    SOUND.obj : error LNK2001: unresolved external symbol "public: int __thiscall CMdaAudioInputStream::MaxGain(void)const "
    SOUND.obj : error LNK2001: unresolved external symbol "public: static class CMdaAudioInputStream * __cdecl CMdaAudioInputStream::NewL(class MMdaAudioInputStreamCallback &)"
    SOUND.obj : error LNK2001: unresolved external symbol "public: void __thiscall CMdaAudioInputStream::ReadL(class TDes8 &)"


    My application includes calls to Stop, SetGain, MaxGain, and NewL for both CMdaAudioInputStream and CMdaAudioOutputStream. Why does adding the correct library only fix the CMdaAudioOutputStream::NewL() symbol? And how can I get rid of all the unresolved symbols? The library portion of my MMP file is:

    LIBRARY euser.lib apparc.lib cone.lib eikcore.lib ws32.lib
    LIBRARY eikcoctl.lib avkon.lib bitgdi.lib MediaClientAudioStream.lib


    Robert Scott
    Ypsilanti, Michigan

  2. #2
    Super Contributor
    Join Date
    Jun 2006
    Location
    Moscow, Russia
    Posts
    803

    Re: Unresolved symbols in Streaming Audio link

    Hi,

    my SDK docs say that MediaClientAudioInputStream.lib shall be used for CMdaAudioInputStream. MediaClientAudioStream.lib is only for CMdaAudioOutputStream.

    Hope this helps
    Regards,
    ivey

  3. #3
    Regular Contributor
    Join Date
    Dec 2005
    Posts
    59

    Re: Unresolved symbols in Streaming Audio link

    Quote Originally Posted by ivey
    my SDK docs say that MediaClientAudioInputStream.lib shall be used for CMdaAudioInputStream. MediaClientAudioStream.lib is only for CMdaAudioOutputStream.
    Hope this helps
    Thanks. That does indeed work. However I am wondering what documentation you got that from. I am looking at devlib.chm that gets installed in the Series60Doc folder when you install Symbian 2 (7.0s). I looked again, and it still says, at the top of the page for CMdaAudioInputStream:

    Location: MdaAudioInputStream.h
    Link against: MediaClientAudioStream.lib


    Robert Scott
    Ypsilanti, Michigan

Similar Threads

  1. [newbie here] Link error
    By xitpu in forum Symbian
    Replies: 3
    Last Post: 2007-01-24, 16:53
  2. Half Duplex Audio Streaming
    By subhrajyotisaha in forum Symbian Media (Closed)
    Replies: 0
    Last Post: 2006-05-25, 04:39
  3. S80 Platform SDK and Visual Studio .NET Linking Error
    By jayantjain in forum Mobile Java Tools & SDKs
    Replies: 1
    Last Post: 2005-10-07, 22:14
  4. Unresolved external symbols problem
    By georgica1979 in forum Symbian User Interface
    Replies: 1
    Last Post: 2003-04-06, 13:26
  5. Link errors
    By georgica1979 in forum Symbian
    Replies: 4
    Last Post: 2003-04-03, 17:03

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×