×

Discussion Board

Page 1 of 2 12 LastLast
Results 1 to 15 of 19
  1. #1
    Regular Contributor
    Join Date
    Jun 2008
    Posts
    346

    [moved] HELP! Phone Debug (GCCE)

    Hello everyone..


    I was able to port PJSIP lib in my application and run it on the emulator but when I compile using the Phone Debug (GCCE) it returns 690 errors.. can someone explain it to me and help me solve the problem..



    Thanks

  2. #2
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,355

    Re: HELP! Phone Debug (GCCE)

    There are errors and errors? Don't you think that giving some details (or listing them all here) would help?
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

  3. #3
    Regular Contributor
    Join Date
    Jun 2008
    Posts
    346

    Re: HELP! Phone Debug (GCCE)

    the error was undefined reference to 'PJ_AF_INET' etc..

  4. #4
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,568

    Re: HELP! Phone Debug (GCCE)

    That sounds like a constant. Search for it in the .h files.

  5. #5
    Regular Contributor
    Join Date
    Jun 2008
    Posts
    346

    Re: HELP! Phone Debug (GCCE)

    I did that already but the problem still exists.

  6. #6
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,355

    Re: HELP! Phone Debug (GCCE)

    That my friend has nothing to do with Carbide.c++ or with debugging, you have problems building your application and it sounds like some libraries are missing.

    Moving this to the General Symbian C++ forum.
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

  7. #7
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: HELP! Phone Debug (GCCE)

    Quote Originally Posted by joseph.m View Post
    I did that already but the problem still exists.
    Do post more error lines here, so that we can figure out what is the problem.

  8. #8
    Nokia Developer Moderator
    Join Date
    Oct 2006
    Location
    Finland
    Posts
    4,492

    Re: HELP! Phone Debug (GCCE)

    Quote Originally Posted by joseph.m View Post
    I did that already but the problem still exists.
    Going through the first link in Lucian's signature might be a good idea to start with

  9. #9
    Regular Contributor
    Join Date
    Jun 2008
    Posts
    346

    Re: HELP! Phone Debug (GCCE)

    Severity and Description Path Resource Location Creation Time Id
    undefined reference to `PJ_AF_INET'[..\\pjmedia\\src\\pjmedia\/Endpoint.c] line 328 1216022011140 79781
    undefined reference to `PJ_AF_INET'[..\\pjmedia\\src\\pjmedia\/Sdp.c] line 450 1216022011203 79825
    undefined reference to `PJ_AF_INET'[..\\pjsip\\src\\pjsua-lib\/Pjsua_core.c] line 546 1216022012125 80151
    undefined reference to `PJ_AF_INET'[..\\pjsip\\src\\pjsua-lib\/Pjsua_core.c] line 1371 1216022012437 80218
    undefined reference to `PJ_AF_INET'[..\\pjsip\\src\\pjsua-lib\/Pjsua_media.c] line 426 1216022013578 80311
    undefined reference to `PJ_AF_INET'[..\\pjsip\\src\\pjsua-lib\/Pjsua_media.c] line 803 1216022013921 80329
    undefined reference to `PJ_AF_INET6'[..\\pjmedia\\src\\pjmedia\/Endpoint.c] line 328 1216022011140 79782
    undefined reference to `PJ_AF_INET6'[..\\pjmedia\\src\\pjmedia\/Sdp.c] line 450 1216022011203 79826
    undefined reference to `pj_array_erase'[..\\pjmedia\\src\\pjmedia\/Codec.c] line 124 1216022011125 79773
    undefined reference to `pj_array_erase'[..\\pjmedia\\src\\pjmedia\/Sdp.c] line 202 1216022011156 79806
    undefined reference to `pj_array_erase'[..\\pjmedia\\src\\pjmedia\/Sdp.c] line 225 1216022011156 79807
    undefined reference to `pj_array_erase'[..\\pjsip\\src\\pjsua-lib\/Pjsua_acc.c] line 411 1216022011281 79885
    undefined reference to `pj_array_insert'[..\\pjsip\\src\\pjsua-lib\/Pjsua_acc.c] line 245 1216022011281 79882
    undefined reference to `pj_array_insert'[..\\pjsip\\src\\pjsua-lib\/Pjsua_media.c] line 1086 1216022013921 80330
    undefined reference to `pj_base64_decode'[..\\pjmedia\\src\\pjmedia\/Transport_srtp.c] line 963 1216022011156 79796
    undefined reference to `pj_base64_encode'[..\\pjmedia\\src\\pjmedia\/Transport_srtp.c] line 886 1216022011156 79795
    undefined reference to `pj_caching_pool_destroy'[..\\pjsip\\src\\pjsua-lib\/Pjsua_core.c] line 1106 1216022012296 80190
    undefined reference to `pj_caching_pool_init'[..\\pjsip\\src\\pjsua-lib\/Pjsua_core.c] line 580 1216022012140 80154
    undefined reference to `pj_cis_add_alpha'[..\\pjmedia\\src\\pjmedia\/Sdp.c] line 87 1216022011156 79801
    undefined reference to `pj_cis_add_num'[..\\pjmedia\\src\\pjmedia\/Sdp.c] line 88 1216022011156 79802
    undefined reference to `pj_cis_add_num'[..\\pjmedia\\src\\pjmedia\/Sdp.c] line 92 1216022011156 79805
    undefined reference to `pj_cis_add_str'[..\\pjmedia\\src\\pjmedia\/Sdp.c] line 89 1216022011156 79803
    undefined reference to `pj_cis_buf_init'[..\\pjmedia\\src\\pjmedia\/Sdp.c] line 84 1216022011156 79799
    undefined reference to `pj_cis_init'[..\\pjmedia\\src\\pjmedia\/Sdp.c] line 86 1216022011156 79800
    undefined reference to `pj_cis_init'[..\\pjmedia\\src\\pjmedia\/Sdp.c] line 91 1216022011156 79804
    undefined reference to `pj_dns_resolver_set_ns'[..\\pjsip\\src\\pjsua-lib\/Pjsua_core.c] line 657 1216022012156 80158
    undefined reference to `pj_dns_srv_resolve'[..\\pjsip\\src\\pjsua-lib\/Pjsua_core.c] line 960 1216022012250 80182
    undefined reference to `pj_dump_config'[..\\pjsip\\src\\pjsua-lib\/Pjsua_core.c] line 2058 1216022012531 80241
    undefined reference to `pj_file_close'[..\\pjsip\\src\\pjsua-lib\/Pjsua_core.c] line 464 1216022012078 80141
    undefined reference to `pj_file_close'[..\\pjsip\\src\\pjsua-lib\/Pjsua_core.c] line 1112 1216022012312 80191
    undefined reference to `pj_file_open'[..\\pjsip\\src\\pjsua-lib\/Pjsua_core.c] line 471 1216022012093 80142
    undefined reference to `pj_file_write'[..\\pjsip\\src\\pjsua-lib\/Pjsua_core.c] line 427 1216022012078 80140
    undefined reference to `pj_get_version'[..\\pjsip\\src\\pjsua-lib\/Pjsua_core.c] line 805 1216022012203 80172
    undefined reference to `pj_gethostbyname'[..\\pjsip\\src\\pjsua-lib\/Pjsua_core.c] line 882 1216022012203 80173
    undefined reference to `pj_gethostbyname'[..\\pjsip\\src\\pjsua-lib\/Pjsua_core.c] line 1004 1216022012250 80184
    undefined reference to `pj_gethostip'[..\\pjsip\\src\\pjsua-lib\/Pjsua_core.c] line 533 1216022012109 80147
    undefined reference to `pj_gethostip'[..\\pjsip\\src\\pjsua-lib\/Pjsua_core.c] line 1352 1216022012406 80213
    undefined reference to `pj_gethostip'[..\\pjsip\\src\\pjsua-lib\/Pjsua_media.c] line 377 1216022013562 80304
    undefined reference to `pj_gethostname'[..\\pjsip\\src\\pjsua-lib\/Pjsua_core.c] line 529 1216022012093 80145
    undefined reference to `pj_gethostname'[..\\pjsip\\src\\pjsua-lib\/Pjsua_core.c] line 598 1216022012140 80155
    undefined reference to `pj_hash_calc'[..\\pjsip\\src\\pjsua-lib\/Pjsua_core.c] line 530 1216022012109 80146
    undefined reference to `pj_hash_calc'[..\\pjsip\\src\\pjsua-lib\/Pjsua_core.c] line 534 1216022012109 80148
    undefined reference to `pj_hash_calc'[..\\pjsip\\src\\pjsua-lib\/Pjsua_core.c] line 538 1216022012125 80149
    undefined reference to `pj_hash_calc'[..\\pjsip\\src\\pjsua-lib\/Pjsua_core.c] line 542 1216022012125 80150
    undefined reference to `pj_htons'[..\\pjsip\\src\\pjsua-lib\/Pjsua_core.c] line 887 1216022012218 80175
    undefined reference to `pj_htons'[..\\pjsip\\src\\pjsua-lib\/Pjsua_core.c] line 1009 1216022012250 80186
    undefined reference to `pj_htons'[..\\pjsip\\src\\pjsua-lib\/Pjsua_core.c] line 1480 1216022012468 80228
    undefined reference to `pj_htons'[..\\pjsip\\src\\pjsua-lib\/Pjsua_media.c] line 389 1216022013562 80306
    undefined reference to `pj_htons'[..\\pjsip\\src\\pjsua-lib\/Pjsua_media.c] line 390 1216022013578 80307
    undefined reference to `pj_ice_strans_cfg_default'[..\\pjsip\\src\\pjsua-lib\/Pjsua_media.c] line 713 1216022013796 80322
    undefined reference to `pj_inet_ntoa'[..\\pjmedia\\src\\pjmedia\/Endpoint.c] line 317 1216022011125 79780
    undefined reference to `pj_inet_ntoa'[..\\pjmedia\\src\\pjmedia\/Sdp.c] line 430 1216022011187 79822
    undefined reference to `pj_inet_ntoa'[..\\pjsip\\src\\pjsua-lib\/Pjsua_core.c] line 889 1216022012218 80176
    undefined reference to `pj_inet_ntoa'[..\\pjsip\\src\\pjsua-lib\/Pjsua_core.c] line 921 1216022012234 80179
    undefined reference to `pj_inet_ntoa'[..\\pjsip\\src\\pjsua-lib\/Pjsua_core.c] line 1013 1216022012281 80187
    undefined reference to `pj_inet_ntoa'[..\\pjsip\\src\\pjsua-lib\/Pjsua_core.c] line 1309 1216022012375 80203
    undefined reference to `pj_inet_ntoa'[..\\pjsip\\src\\pjsua-lib\/Pjsua_media.c] line 317 1216022013343 80297
    undefined reference to `pj_inet_ntop'[..\\pjsip\\src\\pjsua-lib\/Pjsua_core.c] line 1238 1216022012328 80193
    undefined reference to `pj_ioqueue_create'[..\\pjmedia\\src\\pjmedia\/Endpoint.c] line 137 1216022011125 79775
    undefined reference to `pj_ioqueue_destroy'[..\\pjmedia\\src\\pjmedia\/Endpoint.c] line 171 1216022011125 79774
    undefined reference to `pj_ioqueue_destroy'[..\\pjmedia\\src\\pjmedia\/Endpoint.c] line 208 1216022011125 79776
    undefined reference to `pj_ioqueue_poll'[..\\pjmedia\\src\\pjmedia\/Endpoint.c] line 262 1216022011125 79777
    undefined reference to `pj_lock_acquire'[..\\pjmedia\\src\\pjmedia\/Transport_srtp.c] line 662 1216022011140 79784
    undefined reference to `pj_lock_acquire'[..\\pjmedia\\src\\pjmedia\/Transport_srtp.c] line 706 1216022011140 79786
    undefined reference to `pj_lock_acquire'[..\\pjmedia\\src\\pjmedia\/Transport_srtp.c] line 738 1216022011140 79788
    undefined reference to `pj_lock_acquire'[..\\pjmedia\\src\\pjmedia\/Transport_srtp.c] line 777 1216022011156 79791
    undefined reference to `pj_lock_acquire'[..\\pjmedia\\src\\pjmedia\/Transport_srtp.c] line 813 1216022011156 79793
    undefined reference to `pj_lock_acquire'[..\\pjmedia\\src\\pjmedia\/Transport_srtp.c] line 1428 1216022011156 79797
    undefined reference to `pj_lock_create_recursive_mutex'[..\\pjmedia\\src\\pjmedia\/Transport_srtp.c] line 372 1216022011140 79783
    undefined reference to `pj_lock_destroy'[..\\pjmedia\\src\\pjmedia\/Transport_srtp.c] line 750 1216022011140 79790
    undefined reference to `pj_lock_release'[..\\pjmedia\\src\\pjmedia\/Transport_srtp.c] line 672 1216022011140 79785
    undefined reference to `pj_lock_release'[..\\pjmedia\\src\\pjmedia\/Transport_srtp.c] line 718 1216022011140 79787






    that are some of the errors sorry but the thread suports 10000 max chars only
    Last edited by joseph.m; 2008-07-14 at 08:58. Reason: confidentiality

  10. #10
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: [moved] HELP! Phone Debug (GCCE)

    you are missing the pjxxx libs try adding them in your mmp file.

  11. #11
    Regular Contributor
    Join Date
    Jun 2008
    Posts
    346

    Re: [moved] HELP! Phone Debug (GCCE)

    here is my .mmp file


    TARGET Project.exe
    UID 0x100039CE 0xEC7B8277
    VENDORID 0
    TARGETTYPE exe
    EPOCSTACKSIZE 0x5000

    SYSTEMINCLUDE \epoc32\include \epoc32\include\variant \epoc32\include\ecom \SIPLIB\pjproject-0.9.0\pjlib\include \SIPLIB\pjproject-0.9.0\pjlib-util\include \SIPLIB\pjproject-0.9.0\pjnath\include \SIPLIB\pjproject-0.9.0\pjsip\include \SIPLIB\pjproject-0.9.0\pjmedia\include
    USERINCLUDE ..\inc ..\data

    SOURCEPATH ..\data

    START RESOURCE Project_reg.rss
    TARGETPATH \private\10003a3f\apps
    END //RESOURCE

    LIBRARY euser.lib apparc.lib cone.lib eikcore.lib avkon.lib
    LIBRARY commonengine.lib efsrv.lib estor.lib eikcoctl.lib eikdlg.lib
    LIBRARY eikctl.lib bafl.lib fbscli.lib aknnotify.lib aknicon.lib
    LIBRARY etext.lib gdi.lib egul.lib insock.lib
    LIBRARY ecom.lib InetProtUtil.lib http.lib esock.lib charconv.lib estlib.lib mediaclientaudiostream.lib mediaclientaudioinputstream.lib



    LANG 01

    START BITMAP Project.mbm
    HEADER
    TARGETPATH \resource\apps
    SOURCEPATH ..\gfx
    SOURCE c12,1 list_icon.bmp list_icon_mask.bmp
    SOURCE c24,1 t00.bmp t00_mask.bmp logo.bmp logo_mask.bmp
    SOURCE c24 OnlN_mask.bmp t04.bmp t01.bmp OnlV_mask.bmp t06.bmp BusN.bmp t07.bmp t15.bmp BusV_mask.bmp Off.bmp t13.bmp Off_mask.bmp t03.bmp t10.bmp OnlN.bmp t08.bmp BusN_mask.bmp t02.bmp BusV.bmp t09.bmp t14.bmp t11.bmp t12.bmp t05.bmp OnlV.bmp
    END

    SOURCEPATH ..\src



    SOURCE ContactListView.cpp ContactList.cpp ProjectAppUi.cpp ProjectDocument.cpp ProjectApplication.cpp TContact.cpp AddContactForm.cpp

    CAPABILITY NetworkServices LocalServices ReadUserData WriteUserData
    MACRO PJ_M_I386=1 PJ_SYMBIAN=1
    STATICLIBRARY pjlib_util.lib pjlib.lib pjmedia.lib pjnath.lib pjsdp.lib pjsip_simple.lib pjsip_ua.lib pjsip.lib pjsua_lib.lib libgsmcodec.lib libspeexcodec.lib libsrtp.lib symbian_audio.lib eexe.lib




    I dont think i miss something in my .mmp file but if I do so please tell me what it is.. thanks

  12. #12
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: [moved] HELP! Phone Debug (GCCE)

    make sure you have all the libs in your SDK paths

    pjlib_util.lib pjlib.lib pjmedia.lib pjnath.lib pjsdp.lib pjsip_simple.lib pjsip_ua.lib pjsip.lib pjsua_lib.lib libgsmcodec.lib libspeexcodec.lib libsrtp.lib symbian_audio.lib eexe.lib

  13. #13
    Regular Contributor
    Join Date
    Jun 2008
    Posts
    346

    Re: [moved] HELP! Phone Debug (GCCE)

    Quote Originally Posted by skumar_rao View Post
    make sure you have all the libs in your SDK paths
    you mean in Symbian/9.1/S60_3rd_MR/Epoc32???

  14. #14
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: [moved] HELP! Phone Debug (GCCE)

    i mean in Epoc32\release\armv5\lib

  15. #15
    Regular Contributor
    Join Date
    Jun 2008
    Posts
    346

    Re: [moved] HELP! Phone Debug (GCCE)

    yup they were there but their file extension is not .lib but .dso

Similar Threads

  1. The Nokia 9210i is the shittiest nokia phone ever!
    By awyeah in forum General Development Questions
    Replies: 2
    Last Post: 2007-10-18, 10:31
  2. Error with makesis.exe and creating the .pkg file
    By gramya87 in forum Symbian Tools & SDKs
    Replies: 7
    Last Post: 2007-10-10, 13:53
  3. Asterisk REregister failing
    By kolbi-nokia in forum VoIP
    Replies: 6
    Last Post: 2007-08-15, 19:13
  4. Nokia Image Converter
    By davidpurdie in forum General Development Questions
    Replies: 0
    Last Post: 2004-02-18, 15:31

Posting Permissions

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