iphon simulator problem...if somebody know the solution? I think this is a cross compile problem

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

 



Change all your path from iPhoneOS.platform to iPhoneSimulator.Platform and
arm to i386. Hope this will work.

Regards
Elangbam Johnson

On 23 March 2010 19:33, Bal?zs Antal <antalbalika at gmail.com> wrote:

> Hi!
>
> The part of my problem is very specific and I don't know, that is a
> pjsip problem or not?
> So, this is my problem:
> I am trying to compile the siphon2 (pjsip base open source iPhone
> program) on simulator, because I don't have iphone device. But I don't
> have any result.
>
> My results:
>
> First, I do all steps on the http://saplogix.net/blog/?p=36 site.
> Next step I copy:
> BFavoritesEntry.h,
> ABFavoritesList.h
> files into the right  place:
>
> /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.1.sdk/System/Library/Frameworks/AddressBookUI.framework/Headers
>
> My compile.sh:
>
> #!/bin/sh
>
> export DEV=/Developer/Platforms/iPhoneOS.platform/Developer
> export SDK=${DEV}/SDKs/iPhoneOS3.1.2.sdk
>
> pushd ${DEV}/usr/bin
> ln -s arm-apple-darwin9-gcc-4.0.1 arm-apple-darwin9-gcc
> ln -s arm-apple-darwin9-g++-4.0.1 arm-apple-darwin9-g++
> ln -s ranlib arm-apple-darwin9-ranlib
> popd
>
> export PATH=${DEV}/usr/bin:${PATH}
> export CFLAGS="-O2 -arch armv6 -isysroot ${SDK}"
> export LDFLAGS="-O2 -arch armv6 -isysroot ${SDK}"
> export CPP="${DEV}/usr/bin/cpp"
>
> ./aconfigure --host=arm-apple-darwin9 --disable-speex-aec \
> --disable-speex-codec --disable-l16-codec --disable-g722-codec \
> --disable-ilbc-codec --disable-ssl
>
> make dep
> make
>
> ------------script end---------------
>
> And now I have the following error when I try to compile Siphon2:
>
> ld: library not found for -lg729a
>
> I don't find the answer.
>
> I think I use the wrong architecture.
>
> Can somebody help me? I don't find the solution.
>
> Regards,
>
> Balazs
>
> _______________________________________________
> 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/20100323/7f13ab03/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