building PJSIP for mac osx 10.6.5 / iphone

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

 



You are building for ARM. To use the simulator the project needs to be
compiled for i386.

Have you tried?:
export
CC=/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/i686-appl
e-darwin10-gcc-4.0.1

Or change line 74 in configure-iphone to
for archpath in `ls -d ${SDKPATH}/usr/lib/gcc/i686-apple-darwin*`; do



-----Original Message-----
From: pjsip-bounces@xxxxxxxxxxxxxxx [mailto:pjsip-bounces at lists.pjsip.org]
On Behalf Of matthias
Sent: Wednesday, December 22, 2010 10:34 AM
To: pjsip at lists.pjsip.org
Subject: Re: building PJSIP for mac osx 10.6.5 / iphone

I followed the getting started Guide but this ends up with the same result
if i
try to build the generated project under "pjproject/pjsip-apps/src/ipjsua"
with
the simulator sdk i get:

ld: warning: in ../../../pjmedia/lib/libpjmedia-arm-apple-darwin9.a, file
was
built for unsupported file format which is not the architecture being linked
(i386)

and 18 other warnings that its not the correct architecture, and yes i used:
export DEVPATH=/Developer/Platforms/iPhoneSimulator.platform/Developer
export
CC=/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2
./configure-iphone

best regards, matthias

_______________________________________________
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




[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