Ogla, That was it, thank you. You saved me a whole lot of time and a bunch of headaches. Clint On Jun 1, 2011, at 2:15 PM, Ogla Sungutay wrote: > Hi Clint, > > You probably forgot to add the frameworks to your project, in this case it should be CFNetwork.framework > > On Wed, Jun 1, 2011 at 11:11 PM, Clint Perry <perry.cr at gmail.com> wrote: > Hi all, > > I am attempting to use pjsip in a small proof-of-concept app and I am having problems compiling/linking. I compiled and ran the sample app without too much difficulty but I have run into problems using the pjsip libraries in my own project. Any help would be greatly appreciated. > > Below is a sample of the problems that I am seeing. > > Ld /Users/clintperry/Library/Developer/Xcode/DerivedData/SipTest-clhxcufjyvcgjnblbpvnlsyfvcsx/Build/Products/Debug-iphonesimulator/SipTest.app/SipTest normal i386 > cd /Users/clintperry/Control4/Source/Mobile/Temp/SipTest > setenv MACOSX_DEPLOYMENT_TARGET 10.6 > setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin" > /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/llvm-gcc-4.2 -arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk -L/Users/clintperry/Library/Developer/Xcode/DerivedData/SipTest-clhxcufjyvcgjnblbpvnlsyfvcsx/Build/Products/Debug-iphonesimulator -L../../../../../Downloads/pjproject-1.10/pjlib/lib -L../../../../../Downloads/pjproject-1.10/pjlib-util/lib -L../../../../../Downloads/pjproject-1.10/pjnath/lib -L../../../../../Downloads/pjproject-1.10/pjmedia/lib -L../../../../../Downloads/pjproject-1.10/pjsip/lib -L../../../../../Downloads/pjproject-1.10/third_party/lib -F/Users/clintperry/Library/Developer/Xcode/DerivedData/SipTest-clhxcufjyvcgjnblbpvnlsyfvcsx/Build/Products/Debug-iphonesimulator -filelist /Users/clintperry/Library/Developer/Xcode/DerivedData/SipTest-clhxcufjyvcgjnblbpvnlsyfvcsx/Build/Intermediates/SipTest.build/Debug-iphonesimulator/SipTest.build/Objects-normal/i386/SipTest.LinkFileList -mmacosx-version-min=10.6 -Xlinker -objc_abi_version -Xlinker 2 -framework UIKit -framework Foundation -framework CoreGraphics -lpj-arm-apple-darwin9 -lpjlib-util-arm-apple-darwin9 -lpjmedia-arm-apple-darwin9 -lpjmedia-audiodev-arm-apple-darwin9 -lpjmedia-codec-arm-apple-darwin9 -lpjsdp-arm-apple-darwin9 -lpjnath-arm-apple-darwin9 -lpjsip-arm-apple-darwin9 -lpjsip-simple-arm-apple-darwin9 -lpjsip-ua-arm-apple-darwin9 -lpjsua-arm-apple-darwin9 -lg7221codec-arm-apple-darwin9 -lgsmcodec-arm-apple-darwin9 -lilbccodec-arm-apple-darwin9 -lmilenage-arm-apple-darwin9 -lresample-arm-apple-darwin9 -lspeex-arm-apple-darwin9 -lsrtp-arm-apple-darwin9 -o /Users/clintperry/Library/Developer/Xcode/DerivedData/SipTest-clhxcufjyvcgjnblbpvnlsyfvcsx/Build/Products/Debug-iphonesimulator/SipTest.app/SipTest > > Undefined symbols for architecture i386: > "_CFHostCreateWithName", referenced from: > _pj_getaddrinfo in libpj-arm-apple-darwin9.a(addr_resolv_sock.o) > "_CFHostStartInfoResolution", referenced from: > _pj_getaddrinfo in libpj-arm-apple-darwin9.a(addr_resolv_sock.o) > "_CFHostGetAddressing", referenced from: > _pj_getaddrinfo in libpj-arm-apple-darwin9.a(addr_resolv_sock.o) > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > > > > -- > -- > V. Ogla Sungutay, > GUI Programmer > www.lyciasoft.com > skype:oglasungutay > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20110601/d3bbcfde/attachment.html>