Strange problem with pjsip and xcode 5 and ios7

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

 



Hope this rings some bells and that I am making an obvious mistake...

I was successfully building and running apps in iOS. I was doing standalone
builds of the pjsip libraries, then linking them into an application built
inside of Xcode, and all was well.

I upgraded to iOS7 and Xcode 5 and have hit a wall at the start.

When I try to do my standalone build, and run configure-iphone, I get a
message that the C compiler cannot generate executables.

Before I run configure-iphone, I set CC=/usr/bin/clang, since the
compiler's no longer inside the Xcode distro.

I've included the pertinent errors below. When I google the phrase "missing
required architecture x86_64 in file
/Applications/XCode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/usr/lib/crt1.o",
I get a single hit that claims,
and I quote, "iOS build is not yet Xcode 5 compatible"... which just can't
be right...

Any help would be appreciated!
thanks

Jerry

----------------------------------------------------------------------------

aconfigure:3003: checking whether the C compiler works
aconfigure:3025: /usr/bin/clang -O2 -Wno-unused-label
-DPJ_SDK_NAME="\"iPhoneOS7.0.sdk\""  -isysroot
/Applications/XCode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk
 -O2  -isysroot
/Applications/XCode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk
-framework AudioToolbox -framework Foundation conftest.c  >&5
ld: warning: ld: warning: ignoring file
/Applications/XCode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/usr/lib/crt1.o,
missing required architecture x86_64 in file
/Applications/XCode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/usr/lib/crt1.o
(5 slices)ignoring file
/Applications/XCode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/System/Library/Frameworks//AudioToolbox.framework/AudioToolbox,
missing required architecture x86_64 in file
/Applications/XCode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/System/Library/Frameworks//AudioToolbox.framework/AudioToolbox
(3 slices)

ld: warning: ignoring file
/Applications/XCode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/System/Library/Frameworks//Foundation.framework/Foundation,
missing required architecture x86_64 in file
/Applications/XCode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/System/Library/Frameworks//Foundation.framework/Foundation
(3 slices)
ld: warning: ignoring file
/Applications/XCode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/usr/lib/libSystem.dylib,
missing required architecture x86_64 in file
/Applications/XCode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/usr/lib/libSystem.dylib
(3 slices)
ld: dynamic main executables must link with libSystem.dylib for
architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
aconfigure:3029: $? = 1
aconfigure:3067: result: no
aconfigure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "pjproject"
| #define PACKAGE_TARNAME "pjproject"
| #define PACKAGE_VERSION "2.x"
| #define PACKAGE_STRING "pjproject 2.x"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
aconfigure:3072: error: in `XXXXX':
aconfigure:3074: error: C compiler cannot create executables
See `config.log' for more details
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20131010/5c33ac43/attachment-0001.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