Making a single library in PJSIP (iPhone)

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

 



Rob
this does the trick for me (assuming your  are in pjsip src directory)

libtool -static -o ./libpjsip.a `find . -name "*arm-apple*.a"` 


Regards
On Oct 1, 2010, at 5:09 PM, Rob Wilkes wrote:

> Hi,
> the current PJSIP iphone build process creates a large set of .a files. Is it possible, instead, just to create a single .a easily?
> 
> I tried copying all the generated libs to a folder then used libtool *.a -static -o libpjsip.a  . While it generates the .a, when I link it to an app, I get all sorts of unresolved symbols. OTOH, when I link all the individual libraries, it works fine (I even tried ar -x *.a then libtool *.o -static -o libpjsip.a).
> 
> (I am using the right libtool - inside the /Developer/etc. directory, not /usr/bin)
> 
> Any thoughts ?
> 
> 
> _______________________________________________
> 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

------
Alejandro Orellana
Savant Systems, LLC
770 Main Street
Osterville, Ma. 02655
(508) 683-2547 (W)
(508) 683-2647 (F)
Alejandro.Orellana at savantav.com

Statement of Confidentiality
The contents of this e-mail message and any attachments are confidential and are intended solely for the addressee. The information may also be legally privileged. This transmission is sent in trust, and the sole purpose of delivery to the intended recipient. If you have received this transmission in error, any use, reproduction or dissemination of this transmission is strictly prohibited. If you are not the intended recipient, please immediately notify the sender by reply e-mail or at 508.683-2500 and delete this message and its attachments, if any.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20101001/d99359c0/attachment.html>


[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