×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Mar 2013
    Posts
    7

    Wink Undefined Reference of function

    Hello Sir,

    I am developing VOIP Application . This application source code working fine in one system but When I try to compile the same source code in other System I find these errors.

    symbian_ua.cpp.text+0x1374): undefined reference to `pjsua_acc_add_sec'
    symbian_ua.cpp.text+0x14b4): undefined reference to `pjsua_verify_url'
    symbian_ua.cpp.text+0x12c): undefined reference to `enMessageGiven'
    config_serv_interact.cpp.text+0x394): undefined reference to `setSecArray'

    Error location shows line 0 .

    Please help me resolve this issues.

    Thank you

  2. #2
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,143

    Re: Undefined Reference of function

    basically undefined reference indicates that the implementation for the thing is not found. So check where it should be implemented in and add it to teh project. Basically its eitehr implemented in an library, or you have source codes for it.

  3. #3
    Registered User
    Join Date
    Mar 2013
    Posts
    7

    Re: Undefined Reference of function

    Thank you for reply Sir,

    I have the source code. Can you tell me how to add these files in teh project

  4. #4
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,143

    Re: Undefined Reference of function

    I would not know excatly since is your custom project. Anyway, in general, you should simple add required sources and headers into your peoject source folder, and then do add them into the mmp file, so they are included in the symbian project.

    Also if you think it makes sense (in project organization point of view, or any other points of views) you could of course build dll for some parts, and then use the dll in your actual client application project.

  5. #5
    Nokia Developer Champion
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    3,956

    Re: Undefined Reference of function

    Compiling PJSIP project requires linkage to many static libraries along with normal ones. You may crosscheck the mmp file of your project with that on another machine(which is compiling fine) for any missing libraries(LIBRARY or STATICLIBRARY statement)

Similar Threads

  1. Replies: 2
    Last Post: 2010-11-19, 11:05
  2. Undefined Reference to "function name"
    By ragu. in forum Symbian
    Replies: 6
    Last Post: 2010-09-29, 08:00
  3. Undefined reference...
    By Carthrat in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 3
    Last Post: 2010-07-16, 08:26
  4. Undefined reference...
    By parikhnirav.aits in forum Symbian
    Replies: 9
    Last Post: 2008-08-25, 20:08

Posting Permissions

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