configure-iphone not work for iphone simulator pjsip building

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

 



Hi Pasquale,

Have you tried the official doc:
https://trac.pjsip.org/repos/wiki/Getting-Started/iPhone#Simulator

Regards,
Ming

On Wed, Mar 28, 2012 at 5:18 PM,  <pasquale.caruso at n4com.it> wrote:
> Hi, i'm Pasquale, an italian developer.
>
> I read
> from?http://code.google.com/p/siphon/wiki/CompilationForiPhoneOS2_X?and?http://www.piemontewireless.net/PJSip155_and_iPhoneSDK312
>
> I fight with him from 3 weeks without result,?I'm going insane.
>
> I have mac book mini with os x lion and xcode 4.3.1.
>
> On XCode i get the following error:
>
>
>
> ld: warning: ignoring file
> /Siphon2/pjsip/lib/libsrtp-i386-apple-darwin11.3.0.a, file was built for
> archive which is not the architecture being linked (i386)
>
>
>
> I think that i have compiled pjsip library for i386 arch and not for armv6/7
> arch but i'm unable to do that because configure-iphone give me error:
>
>
>
> If i run configure-iphone for DEVPATH iPhoneOS.platform the script works but
> if i change this ?DEVPATH to iPhoneSimulator.platform i not pass the test:
>
> checking whether the C compiler works... no
>
> aconfigure: error: C compiler cannot create executables
>
> on config.log i get this error:
>
> aconfigure:2768: checking whether the C compiler works
> aconfigure:2790:
> /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc -O2
> -miphoneos-version-min=3.0 -DPJ_SDK_NAME="\"iPhoneSimulator5.1.sdk\"" -arch
> armv7 -isysroot
> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk
> ?-O2 -arch armv7 -isysroot
> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk
> -framework AudioToolbox -framework Foundation conftest.c ?>&5
> llvm-gcc-4.2: error trying to exec
> '/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/../llvm-gcc-4.2/bin/arm-apple-darwin11-llvm-gcc-4.2':
> execvp: No such file or directory
> aconfigure:2794: $? = 255
> aconfigure:2832: result: no
> aconfigure: failed program was:
>
> | /* confdefs.h */
> | #define PACKAGE_NAME "pjproject"
> | #define PACKAGE_TARNAME "pjproject"
> | #define PACKAGE_VERSION "1.x"
> | #define PACKAGE_STRING "pjproject 1.x"
> | #define PACKAGE_BUGREPORT ""
> | #define PACKAGE_URL ""
> | /* end confdefs.h. ?*/
> |
> | int
> | main ()
> | {
> |
> | ? ;
> | ? return 0;
> | }
> aconfigure:2837: error: in `/Users/danielenobile/Desktop/pjproject':
> aconfigure:2839: error: C compiler cannot create executables
> See `config.log' for more details
>
> Can you give me some lineguide to run this application?
>
>
>
>
> ________________________________
> Messaggio inviato tramite webmail
> _______________________________________________
> 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