pjsip Digest, Vol 75, Issue 11

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

 



Hi David,

I have include all the paths to the library search path and I noticed that libpj-arm-apple-darwin9.a is in pjlib, and the folder is in the library search path. I have attached a screenshot of what my build settings look like.

Cheers,

?
Nguni Phakela
nguni52 at gmail.com

On 14 Nov 2013, at 9:00 AM, David Fu <david.fu.zju.dev at gmail.com> wrote:

> pj_log_get_level function is your pjproject/pjlib//include/pj/log.h and the lib name is libpj-arm-apple-darwin9.a. make sure .a is in your library search paths and the include file in your header search paths. you had better show your project build settings. 
> 
> On Nov 13, 2013, at 11:18, pjsip-request at lists.pjsip.org wrote:
> 
>> Send pjsip mailing list submissions to
>> 	pjsip at lists.pjsip.org
>> 
>> To subscribe or unsubscribe via the World Wide Web, visit
>> 	http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>> or, via email, send a message with subject or body 'help' to
>> 	pjsip-request at lists.pjsip.org
>> 
>> You can reach the person managing the list at
>> 	pjsip-owner at lists.pjsip.org
>> 
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of pjsip digest..."
>> 
>> 
>> Today's Topics:
>> 
>>  1. New Member (Nguni Phakela)
>> 
>> 
>> ----------------------------------------------------------------------
>> 
>> Message: 1
>> Date: Wed, 13 Nov 2013 05:17:46 +0200
>> From: Nguni Phakela <nguni52@xxxxxxxxx>
>> To: pjsip at lists.pjsip.org
>> Subject: New Member
>> Message-ID: <75B50BF5-B55A-4586-8A97-8BF06A04CDFE at gmail.com>
>> Content-Type: text/plain; charset="windows-1252"
>> 
>> Hi All,
>> 
>> Let me first start off by introducing myself. I?m Nguni. I?m a software developer who has just recently began developing mobile apps.
>> 
>> I?m building a VOIP app on the IOS platform. 
>> 
>> When I make a call to the libraries, this is the error I?m receiving:
>> 
>> Ld /Users/nguni52/Library/Developer/Xcode/DerivedData/rixma-dkvbtnjboocolsayjucrbpisyvph/Build/Products/Debug-iphoneos/rixma.app/rixma normal armv7
>>   cd /Users/nguni52/Documents/Projects/pjsip/pjsip-apps/src/pjsua/rixma_ios/rixma
>>   setenv IPHONEOS_DEPLOYMENT_TARGET 7.0
>>   setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
>>   /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk -L/Users/nguni52/Library/Developer/Xcode/DerivedData/rixma-dkvbtnjboocolsayjucrbpisyvph/Build/Products/Debug-iphoneos -L/Users/nguni52/Documents/Projects/pjsip/pjlib/lib -L/Users/nguni52/Documents/Projects/pjsip/pjlib-util/lib -L/Users/nguni52/Documents/Projects/pjsip/pjmedia/lib -L/Users/nguni52/Documents/Projects/pjsip/pjnath/lib -L/Users/nguni52/Documents/Projects/pjsip/pjsip/lib -F/Users/nguni52/Library/Developer/Xcode/DerivedData/rixma-dkvbtnjboocolsayjucrbpisyvph/Build/Products/Debug-iphoneos -filelist /Users/nguni52/Library/Developer/Xcode/DerivedData/rixma-dkvbtnjboocolsayjucrbpisyvph/Build/Intermediates/rixma.build/Debug-iphoneos/rixma.build/Objects-normal/armv7/rixma.LinkFileList -dead_strip -fobjc-arc -fobjc-link-runtime -miphoneos-version-min=7.0 -framework CoreGraphics -framework UIKit -framework Foundation -Xlinker -dependency_info -Xlinker /Users/nguni52/Library/Developer/Xcode/DerivedData/rixma-dkvbtnjboocolsayjucrbpisyvph/Build/Intermediates/rixma.build/Debug-iphoneos/rixma.build/Objects-normal/armv7/rixma_dependency_info.dat -o /Users/nguni52/Library/Developer/Xcode/DerivedData/rixma-dkvbtnjboocolsayjucrbpisyvph/Build/Products/Debug-iphoneos/rixma.app/rixma
>> 
>> Undefined symbols for architecture armv7:
>> "_pj_log_get_level", referenced from:
>>     _rixmaOnStartedCb in RixmaDelegate.o
>> "_pj_log_3", referenced from:
>>     _rixmaOnStartedCb in RixmaDelegate.o
>> "_pj_init", referenced from:
>>     -[RixmaDelegate rixmaStart] in RixmaDelegate.o
>> ld: symbol(s) not found for architecture armv7
>> clang: error: linker command failed with exit code 1 (use -v to see invocation)
>> 
>> 
>> I have included the libraries in Library Search Paths in Build Settings. What else am I missing?
>> 
>> Any help will be greatly appreciated.
>> 
>> Cheers,
>> ?
>> Nguni Phakela
>> nguni52 at gmail.com
>> 
>> 
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20131113/a2b154ff/attachment.html>
>> 
>> ------------------------------
>> 
>> Subject: Digest Footer
>> 
>> _______________________________________________
>> pjsip mailing list
>> pjsip at lists.pjsip.org
>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>> 
>> 
>> ------------------------------
>> 
>> End of pjsip Digest, Vol 75, Issue 11
>> *************************************
> 
> 
> _______________________________________________
> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20131114/2b9490a3/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build-settings.png
Type: image/png
Size: 153882 bytes
Desc: not available
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20131114/2b9490a3/attachment-0001.png>


[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