PJSIP 2.0 and iOS 5 Simulator

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello, 

I have recently updated my pjsip library to 2.0 and after reading several other mailing list articles I was able to get it to build for the iOS 5.0 SDK and the i386 architecture so that I could run in the simulator. The sample app does appear to work. When I go into my application - which was previously compatible with pjsip 1.8 -- I changed all my linking to use the darwin10.a libraries and I cannot seem to get past this error:

Ld /Users/hiedi/Library/Developer/Xcode/DerivedData/MovitasPhone-cuynzuotevmroffucwbusgbinrba/Build/Products/Debug-iphonesimulator/MovitasPhone.app/MovitasPhone normal i386
    cd /Users/hiedi/Dev/gitcode/movitas/MovitasPhone
    setenv MACOSX_DEPLOYMENT_TARGET 10.6
    setenv PATH "/Xcode4/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Xcode4/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/opt/local/bin:/usr/local/git/bin"
    /Xcode4/Platforms/iPhoneSimulator.platform/Developer/usr/bin/llvm-gcc-4.2 -arch i386 -isysroot /Xcode4/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk -L/Users/hiedi/Library/Developer/Xcode/DerivedData/MovitasPhone-cuynzuotevmroffucwbusgbinrba/Build/Products/Debug-iphonesimulator -L../PJSIP_V2/pjproject/pjsip/lib -L../PJSIP_V2/pjproject/pjlib-util/lib -L../PJSIP_V2/pjproject/pjmedia/lib -L../PJSIP_V2/pjproject/pjnath/lib -L../PJSIP_V2/pjproject/pjlib/lib -L/Users/hiedi/Dev/gitcode/movitas/MovitasPhone/../PJSIP_V2/pjproject/pjlib/lib -L/Users/hiedi/Dev/gitcode/movitas/MovitasPhone/../PJSIP_V2/pjproject/pjlib-util/lib -L/Users/hiedi/Dev/gitcode/movitas/MovitasPhone/../PJSIP_V2/pjproject/pjmedia/lib -L/Users/hiedi/Dev/gitcode/movitas/MovitasPhone/../PJSIP_V2/pjproject/pjnath/lib -L/Users/hiedi/Dev/gitcode/movitas/MovitasPhone/../PJSIP_V2/pjproject/pjsip/lib -L/Users/hiedi/Dev/gitcode/movitas/MovitasPhone/../PJSIP_V2/pjproject/third_party/lib -F/Users/hiedi/Library/Developer/Xcode/DerivedData/MovitasPhone-cuynzuotevmroffucwbusgbinrba/Build/Products/Debug-iphonesimulator -F../PJSIP_V2/pjproject/pjsip/include -filelist /Users/hiedi/Library/Developer/Xcode/DerivedData/MovitasPhone-cuynzuotevmroffucwbusgbinrba/Build/Intermediates/MovitasPhone.build/Debug-iphonesimulator/MovitasPhone.build/Objects-normal/i386/MovitasPhone.LinkFileList -mmacosx-version-min=10.6 -Xlinker -objc_abi_version -Xlinker 2 -all_load -Obj-C -D__IPHONE_OS_VERSION_MIN_REQUIRED=40000 -lg7221codec-arm-apple-darwin10 -lgsmcodec-arm-apple-darwin10 -lilbccodec-arm-apple-darwin10 -lmilenage-arm-apple-darwin10 -lresample-arm-apple-darwin10 -lspeex-arm-apple-darwin10 -lsrtp-arm-apple-darwin10 -lpjsip-arm-apple-darwin10 -lpjsip-simple-arm-apple-darwin10 -lpjsip-ua-arm-apple-darwin10 -lpjsua-arm-apple-darwin10 -lpjnath-arm-apple-darwin10 -lpjmedia-arm-apple-darwin10 -lpjmedia-audiodev-arm-apple-darwin10 -lpjmedia-codec-arm-apple-darwin10 -lpjmedia-videodev-arm-apple-darwin10 -lpjsdp-arm-apple-darwin10 -lpjlib-util-arm-apple-darwin10 -lpj-arm-apple-darwin10 -framework SystemConfiguration -framework MobileCoreServices -framework UIKit -framework CoreGraphics -framework AddressBook -framework AddressBookUI -framework AudioToolbox -framework AVFoundation -framework CFNetwork -framework CoreLocation -framework MediaPlayer -framework QuartzCore /Users/hiedi/Library/Developer/Xcode/DerivedData/MovitasPhone-cuynzuotevmroffucwbusgbinrba/Build/Products/Debug-iphonesimulator/libPhoneGapLib.a -o /Users/hiedi/Library/Developer/Xcode/DerivedData/MovitasPhone-cuynzuotevmroffucwbusgbinrba/Build/Products/Debug-iphonesimulator/MovitasPhone.app/MovitasPhone

ld: duplicate symbol _pjmedia_strerror in ../PJSIP_V2/pjproject/pjmedia/lib/libpjsdp-arm-apple-darwin10.a(errno.o) and ../PJSIP_V2/pjproject/pjmedia/lib/libpjmedia-arm-apple-darwin10.a(errno.o) for architecture i386
Command /Xcode4/Platforms/iPhoneSimulator.platform/Developer/usr/bin/llvm-gcc-4.2 failed with exit code 1

I also have an warning for /Users/hiedi/Dev/gitcode/movitas/MovitasPhone/Classes/Siphon/Call.m:540: warning: implicit declaration of function 'pjsua_media_transports_create'. 


Please help me to get past this error. 

Thanks, 
Hiedi


---------------------------------
Hiedi Utley
Consultant @ Chariot Solutions, LLC.
hutley at chariotsolutions.com
(215) 358 - 1780 x466

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20111017/f6835377/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3203 bytes
Desc: not available
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20111017/f6835377/attachment.p7s>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux