×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Regular Contributor
    Join Date
    Oct 2007
    Posts
    67

    Unhappy Undefined symbol error

    in my programa am using the below code

    in .h

    RPhCltServer iPhoneClientServer;
    RLibrary iLibrary;
    CPhCltExtFactory* iPhCltExtFactory;
    CPhCltCommandHandler* iPhCommandHandler;

    in .cpp

    User::LeaveIfError( iPhoneClientServer.Connect() );
    User::LeaveIfError( iLibrary.Load(KPhoneCltExDllName) );
    TInt res = iLibrary.Lookup(1)();
    iPhCltExtFactory = reinterpret_cast<CPhCltExtFactory*>( res );
    iPhCommandHandler = iPhCltExtFactory->CPhCltCommandHandlerLD();
    User::LeaveIfError( iPhCommandHandler->Open(iPhoneClientServer));

    and i have inluded the below headers
    #include <CPhCltDialer.h>
    #include <BAUTILS.H>
    #include <phclttypes.h>
    #include <etel3rdparty.h>
    #include <PhCltExt.h>
    #include <RPhCltServer.h>

    Which i got as a pugin from
    S60_3rd_SDK_MR_API_Plug-In_Pack_v5_43

    and am using S60_3rd_FP1 SDK
    while compileing am facing the below errors

    Undefined symbol: 'int RPhCltServer::Connect(int) (?Connect@RPhCltServer@@QAEHH@Z)'[]
    Undefined symbol: 'RPhCltServer::RPhCltServer(void) (??0RPhCltServer@@QAE@XZ)'[]

    i know its because of either the missing library phoneclient.lib
    or missing.cpp file in the .mmp file.

    i have added .cpp in my .mpp

    and now i need the phoneclient.lib which is not provided as an plugin for the winscw

    can anyone plz help me
    Regards,
    Amjed

    " The Greatest Pleasure of LIFE is doing , What people say you Can't DO...!! "

  2. #2
    Regular Contributor
    Join Date
    Mar 2007
    Location
    B'lore
    Posts
    72

    Re: Undefined symbol error

    dude...!! I am facing the same problem.

    Actually the RPhCltServer.h file and one more file which used to be there in the MR plug-in is no longer available in the FP1 plug-in. The Libs for the same are also not there. I am also waiting for someone from Nokia to help in this issue.

    Let's hope for the best.
    Ruchir

  3. #3
    Registered User
    Join Date
    Jan 2004
    Location
    The surburbs of Bangkok, Thailand
    Posts
    135

    Re: Undefined symbol error

    Greetings,

    Although I'm using the S60_3rd_Ed_SDK_FP1_API_Plug-In_Pack_v2_5 for S60 3rd FP1 SDK, the rphcltserver.h header is indeed not found in the PhoneClientExtensionAPI.zip (and the libs folder for that zip is empty - use from PhoneClientDialAPI - it exists)

    My solution was to copy the rphcltserver.h from the S60_3rd_SDK_MR_API_Plug-In_Pack_v5_43 to my Symbian 9.2 (FP1) include folder.

    It worked. Tested on Nokia N81 8GB. Used code from http://wiki.forum.nokia.com/index.ph..._Extension_API
    Liberate yourself from the enslavement of World Monopoly!

  4. #4
    Regular Contributor
    Join Date
    Oct 2007
    Posts
    67

    Smile Re: Undefined symbol error

    Hi ykasidit,

    Thanks for the information..
    in that sdk_plug_in u have the lib for the armv5 release build.

    it won't work for winscw build..
    it will give error no rule to make target. as there is no phoneclient.lib

    But i have builded it on armv5 and tested its working fine in N95

    Thanks for all ur support... )
    Regards,
    Amjed

    " The Greatest Pleasure of LIFE is doing , What people say you Can't DO...!! "

  5. #5
    Nokia Developer Champion
    Join Date
    Dec 2008
    Posts
    2,356

    Re: Undefined symbol error

    Hi,
    I did the same way and was able to release for ARMV5. But its not creating the exe file. I searched hereC:\SYMBIAN\S60_3rd_MR_2\epoc32\release\armv5\urel\VoipCallHandle.exe but the exe file is not generating after I release with the ARMV5.


    Please suggest me how do I get the exe file so that I can make the sis file.

  6. #6
    Regular Contributor
    Join Date
    May 2008
    Posts
    120

    Re: Undefined symbol error

    Quote Originally Posted by somnathbanik View Post
    Hi,
    I did the same way and was able to release for ARMV5. But its not creating the exe file. I searched hereC:\SYMBIAN\S60_3rd_MR_2\epoc32\release\armv5\urel\VoipCallHandle.exe but the exe file is not generating after I release with the ARMV5.


    Please suggest me how do I get the exe file so that I can make the sis file.
    I have an N85 which i am trying to run my program on the emulator .
    So this thread means that i can t compile it to WINSCW in order to enable extended panic code?
    One small step for me , one giant leap for mankind :)

  7. #7
    Nokia Developer Moderator
    Join Date
    Oct 2006
    Location
    Finland
    Posts
    4,547

    Re: Undefined symbol error

    Quote Originally Posted by aavi View Post
    I have an N85 which i am trying to run my program on the emulator .
    So this thread means that i can t compile it to WINSCW in order to enable extended panic code?
    Yes, you can enable extended panic code in emulator too. Check the link given in your other thread for that. your other thread http://discussion.forum.nokia.com/fo...d.php?t=185286

Similar Threads

  1. GoogleIt
    By deepika.mangla in forum Symbian
    Replies: 5
    Last Post: 2011-05-28, 11:04
  2. error LNK2019: unresolved external symbol ???
    By wgarnett in forum Symbian
    Replies: 3
    Last Post: 2009-09-28, 06:53
  3. Undefined symbol
    By sanjayks84 in forum Symbian
    Replies: 10
    Last Post: 2008-05-17, 11:47
  4. Parsing file content
    By hendrawan.ashari in forum Symbian
    Replies: 7
    Last Post: 2007-03-09, 10:41
  5. Carbide.vs 2.01 Registration Problem
    By baykal in forum Symbian Tools & SDKs
    Replies: 5
    Last Post: 2006-12-22, 16:55

Posting Permissions

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