configure-iphone not work for iphone simulator pjsip building

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

 



 

	Hi, i'm Pasquale, an italian developer.

	I read from
http://code.google.com/p/siphon/wiki/CompilationForiPhoneOS2_X [1] and
http://www.piemontewireless.net/PJSip155_and_iPhoneSDK312 [2]

	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 executableson config.log
i get this error: aconfigure:2768: checking whether the C compiler
worksaconfigure: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 
>&5llvm-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 directoryaconfigure:2794: $? =
255aconfigure:2832: result: noaconfigure: 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 executablesSee `config.log' for more details
	Can you give me some lineguide to run this application?
-------------------------
Messaggio inviato tramite webmail

Links:
------
[1] http://code.google.com/p/siphon/wiki/CompilationForiPhoneOS2_X
[2] http://www.piemontewireless.net/PJSip155_and_iPhoneSDK312
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20120328/731106df/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