The whole of one week more, no clue, so would like to ask you how to successfully compile linphone.
Before I was at 10.7 System & xcode4.1 compiled, the final step to build static libraries make all the time, an error occurred error. .
Then replaced 10.7.4 + xcode4.3.3/4.4.1, in the implementation of sudo port install coreutils automake autoconf libtool intltool wget pkgconfig cmake gmake yasm grep doxygen ImageMagick optipng
When given as follows
Error: No Xcode installation was found.
Error: Please install Xcode and / or run xcode-select to specify its location.
Error:
Warning: xcodebuild exists but failed to execute
Warning: Xcode does not appear to be installed; most ports will likely fail to build.
I ask you all how it kind of variation? Thank enlighten me! !
Reply:
This is an open source library to do video calling thing?
Reply:
Please install Xcode and / or run xcode-select to specify its location.
Cause of error to write very clear in terminal to run xcode-select command to specify the specific xcode path and then run it should be ok.
Reply:
Thank you, I xcode specified path, but still compile error, this error I do not understand is how it happened? ?
making links in engines ...
making links in engines / ccgost ...
make [4]: Nothing to be done for `links'.
making links in apps ...
make [3]: Nothing to be done for `links'.
making links in test ...
make [3]: Nothing to be done for `links'.
making links in tools ...
make [3]: Nothing to be done for `links'.
generating dummy tests (if needed) ...
make [3]: Nothing to be done for `generate '.
Configured for BSD-generic32.
cd / Users/magicstudio/Desktop/linphone-iphone2/submodules/build/../build-armv7s-apple-darwin/externals/openssl && host_alias = armv7s-apple-darwin. ;/ Users/magicstudio/Desktop/linphone-iphone2/submodules/build / .. / / build / iphone-config.site \
&& Make CC = "$ CC" build_crypto build_ssl libcrypto.pc libssl.pc \
&& Cp-r include / Users/magicstudio/Desktop/linphone-iphone2/submodules/build / .. / / ../liblinphone-sdk/armv7s-apple-darwin / \
&& Cp lib *. A / Users/magicstudio/Desktop/linphone-iphone2/submodules/build / .. / / ../liblinphone-sdk/armv7s-apple-darwin/lib \
&& Cp libcrypto.pc / Users/magicstudio/Desktop/linphone-iphone2/submodules/build / .. / / ../liblinphone-sdk/armv7s-apple-darwin/lib/pkgconfig /. ; \
&& Cp libssl.pc / Users/magicstudio/Desktop/linphone-iphone2/submodules/build / .. / / ../liblinphone-sdk/armv7s-apple-darwin/lib/pkgconfig /. ; \
Loading config.site for iPhone platform = OS version = 4.0
/ Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk
Selecting SDK path = / Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk
making all in crypto ...
(Echo "# ifndef MK1MF_BUILD"; \
echo '/ * auto-generated by crypto / Makefile for crypto / cversion.c * /'; \
echo '# define CFLAGS "xcrun clang-std = c99-arch armv7s-isysroot / Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0 . sdk-miphoneos-version-min = 4.0-DTARGET_OS_IPHONE = 1-D__IOS-DOPENSSL_THREADS-pthread-D_THREAD_SAFE-D_REENTRANT-DDSO_DLFCN-DHAVE_DLFCN_H-DTERMIOS-O3-fomit-frame- pointer-Wall "'; \
echo '# define PLATFORM "BSD-generic32"'; \
echo "# define DATE \" `LC_ALL = C LC_TIME = C date` \ ""; \
echo '# endif')> buildinf.h
xcrun clang-std = c99-arch armv7s-isysroot / Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk-miphoneos-version-min = 4.0 -DTARGET_OS_IPHONE = 1-D__IOS-I.-I .. -I../include-DOPENSSL_THREADS-pthread-D_THREAD_SAFE-D_REENTRANT-DDSO_DLFCN-DHAVE_DLFCN_H-DTERMIOS - O3-fomit-frame-pointer-Wall-c-o cryptlib.o cryptlib.c
clang: error: invalid arch name '-arch armv7s'
make [3]: *** [cryptlib.o] Error 1
make [2]: *** [build_crypto] Error 1
make [1]: *** [build-openssl] Error 2
make: *** [build] Error 2
Reply:
Used xcode4.6 on a good compiler, advise newcomers to use a newer version of xcode, compiled a half-hour
No comments:
Post a Comment