linphone-developers
[Top][All Lists]
Advanced

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

[Linphone-developers] Failed to build after upgraded Xcode 5.1 with iOS


From: powerqian
Subject: [Linphone-developers] Failed to build after upgraded Xcode 5.1 with iOS 7.1 SDK
Date: Wed, 12 Mar 2014 03:55:35 -0700 (PDT)

Hi,

Today I upgraded Xcode 5.1 and failed to build the fresh pull of
linphone-iphone. Here's the error message:

cd
/Users/qianli/Documents/Development/LinphoneSource/linphone-clone/linphone-iphone/submodules/build/../build-i386-apple-darwin/externals/x264/
\
        && host_alias=i386-apple-darwin .
/Users/qianli/Documents/Development/LinphoneSource/linphone-clone/linphone-iphone/submodules/build/..//build/iphone-config.site
\
        && CC="$CC" STRINGS="$STRINGS" ./configure
--prefix=/Users/qianli/Documents/Development/LinphoneSource/linphone-clone/linphone-iphone/submodules/build/..//../liblinphone-sdk/i386-apple-darwin
 
--host=i386-apple-darwin --enable-static --enable-pic
--cross-prefix=$SDK_BIN_PATH/ --extra-ldflags="$COMMON_FLAGS"
--extra-cflags="$COMMON_FLAGS "
Loading config.site for iPhone platform=Simulator version=4.0
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.0.sdk
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk
Selecting SDK path =
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk
No working C compiler found.
make[1]: ***
[/Users/qianli/Documents/Development/LinphoneSource/linphone-clone/linphone-iphone/submodules/build/../build-i386-apple-darwin/externals/x264/config.mak]
Error 1
make: *** [build] Error 2

The following is config.log in x264 folder

x264 configure script
Command line options:
"--prefix=/Users/qianli/Documents/Development/LinphoneSource/Linphone-iphone-2.1.2-store/linphone-iphone/submodules/build/..//../liblinphone-sdk/i386-apple-darwin"
"--host=i386-apple-darwin" "--enable-static" "--enable-pic"
"--cross-prefix=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/"
"--extra-ldflags=" "-arch" "i386" "-isysroot"
"/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk"
"-miphoneos-version-min=4.0" "-DTARGET_OS_IPHONE=1" "-D__IOS"
"-fms-extensions" "--extra-cflags=" "-arch" "i386" "-isysroot"
"/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk"
"-miphoneos-version-min=4.0" "-DTARGET_OS_IPHONE=1" "-D__IOS"
"-fms-extensions"

checking whether xcrun clang -std=c99  -arch i386  -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk
-miphoneos-version-min=4.0 -DTARGET_OS_IPHONE=1 -D__IOS -fms-extensions
works... no
Failed commandline was:
--------------------------------------------------
xcrun clang -std=c99  -arch i386  -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk
-miphoneos-version-min=4.0 -DTARGET_OS_IPHONE=1 -D__IOS -fms-extensions
conftest.c -m32  -Wall -I. -I$(SRCPATH)  -arch i386  -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk
-miphoneos-version-min=4.0 -DTARGET_OS_IPHONE=1 -D__IOS -fms-extensions 
-falign-loops=16 -march=i686 -mfpmath=sse -msse   -m32   -arch i386 
-isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk
-miphoneos-version-min=4.0 -DTARGET_OS_IPHONE=1 -D__IOS -fms-extensions -lm
-o conftest
clang: error: unknown argument: '-falign-loops=16'
[-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning)
in the future
--------------------------------------------------
Failed program was:
--------------------------------------------------
int main () {  return 0; }
--------------------------------------------------
DIED: No working C compiler found.


Any idea how to solve this?

Thanks.



--
View this message in context: 
http://nongnu.13855.n7.nabble.com/Failed-to-build-after-upgraded-Xcode-5-1-with-iOS-7-1-SDK-tp180342.html
Sent from the linphone-developers mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]