configuration for iphone

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

 



Thanks Samuel

I tried the scrip you sent but I still got the same error. Below is the log:

configure-iphone: IPHONESDK is not specified, choosing iPhoneOS4.3.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.3.sdk
 CFLAGS = -O2 -Wno-unused-label -DPJ_SDK_NAME="\"iPhoneOS4.3.sdk\"" -arch
armv6 -isysroot
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk
 LDFLAGS = -O2 -arch armv6 -isysroot
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk
-framework AudioToolbox -framework Foundation
 AR = /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/libtool
-static -o
 RANLIB = echo ranlib
ARCH = -arch armv6
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.8.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 `/pjproject':
aconfigure: error: C compiler cannot create executables
See `config.log' for more details.
for dir in pjlib/build pjlib-util/build pjnath/build third_party/build
pjmedia/build pjsip/build pjsip-apps/build ; do \
if make  -C $dir all; then \
    true; \
else \
    exit 1; \
fi; \
done
make -f /pjproject/build/rules.mak APP=PJLIB app=pjlib
../lib/libpj-arm-apple-darwin9.a
make[2]: `../lib/libpj-arm-apple-darwin9.a' is up to date.
make -f /pjproject/build/rules.mak APP=TEST app=pjlib-test
../bin/pjlib-test-arm-apple-darwin9
.pjlib-test-arm-apple-darwin9.depend:804: *** missing separator.  Stop.
make[1]: *** [pjlib-test] Error 2
make: *** [all] Error 1



On Sun, Jan 29, 2012 at 6:19 PM, Samuel Vinson <samuelv at laposte.net> wrote:

>  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
> 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 listpjsip at lists.pjsip.orghttp://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
>
>
> _______________________________________________
> 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
>
>


-- 
-------------------------------------
Fadi Chehimi, PhD
Mobile Software Engineer
Tel: +44 1143 190 529
Localphone Ltd
4 Paradise Street, Sheffield, S1 2DF, UK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20120130/18a9a288/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