configuration for iphone

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

 



Hi,

We had this discussion in june/july 2011 on this mailing list ;-)
I give my script shell, you will have to change the lines between 28 and 32.

Regards

Samuel

Le 27/01/12 18:01, Fadi Chehimi a ?crit :
>
> Hi
>
> I am having this same issue. Can any one please put me on the right 
> direction to solve my proble
>
> Cheers
>
> Fadi
>
>
> PS: I don't know how to reply to an old message in the mailing list 
> archive thats why I am pasting it here
>
>
> [pjsip] configuration for iphone
>
> Dzmitry Yablonski grizlik at gmail.com <http://gmail.com>
> Tue May 10 08:40:16 CDT 201
> ________________________________
>
> Hi all
>
> I try to compile the pjproject_1.10 for iphone and have a problem.
> I want to compile pjproject separately for armv6 and armv7.
>
> I have added the line
> ARCH='-arch armv6'
> at the beginning of the file  ./configure-iphone
>
> and configuration finished with error
>
> configure-iphone: DEVPATH is not specified, using 
> /Developer/Platforms/iPhoneOS.platform/Developer
> configure-iphone: IPHONESDK is not specified, choosing iPhoneOS4.2.sdk
> configure-iphone: CC is not specified, choosing 
> /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-gcc-4.2.1
> configure-iphone: CXX is not specified, using 
> /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-g++-4.2.1
> configure-iphone: calling ./aconfigure with env vars:
> CC = 
> /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-gcc-4.2.1
> CXX = 
> /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-g++-4.2.1
> SDKPATH = 
> /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk
> CFLAGS = -O2 -Wno-unused-label -DPJ_SDK_NAME="\"iPhoneOS4.2.sdk\"" 
> -arch armv6 -isysroot 
> /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk
> LDFLAGS = -O2 -arch armv6 -isysroot 
> /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk 
> -framework AudioToolbox -framework Foundation
> AR = /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/libtool 
> -static -o
> RANLIB = echo ranlib
> aconfigure: WARNING: If you wanted to set the --build type, don't use 
> --host.
>    If a cross compiler is detected then cross compile mode will be used.
> checking build system type... i386-apple-darwin10.7.0
> checking host system type... arm-apple-darwin9
> checking target system type... arm-apple-darwin9
> checking for arm-apple-darwin9-gcc... 
> /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-gcc-4.2.1
> checking whether the C compiler works... no
> aconfigure: error: in `/Users/dima/Work/PjSip/pjproject-1.10':
> aconfigure: error: C compiler cannot create executables
> See `config.log' for more details.
>
>
> without that line ARCH='-arch armv6' configuration and compilation 
> finished successfully.
>
> How can I compile pjproject for armv6 and armv7 separately?
>
> Best regards, Dima.
>
> ________________________________
>
>
> _______________________________________________
> 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/20120129/51503ec2/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build-libpj.sh
Type: application/x-sh
Size: 4162 bytes
Desc: not available
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20120129/51503ec2/attachment.sh>


[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