I downloaded linphone-iphone from specified git directory on Mac-LION.
Followed each and every word of README.
But facing errors during 'make all' command on terminal.
Chanchals-Mac-Pro:~ chanchal$ cd linphone-iphone/submodules/build
Chanchals-Mac-Pro:build chanchal$ make all
&& make -f
builder-iphone-os.mk host=armv7s-apple-darwin enable_gpl_third_parties=yes enable_zrtp=no all \
mkdir -p /Users/chanchal/linphone-iphone/submodules/build/..//../liblinphone-sdk/i386-apple-darwin/include
mkdir -p /Users/chanchal/linphone-iphone/submodules/build/..//../liblinphone-sdk/i386-apple-darwin/lib/pkgconfig
cd /Users/chanchal/linphone-iphone/submodules/build/../build-i386-apple-darwin/externals/openssl && host_alias=i386-apple-darwin . /Users/chanchal/linphone-iphone/submodules/build/..//build/iphone-config.site \
&& make CC="$CC" build_crypto build_ssl libcrypto.pc libssl.pc\
&& cp -r include /Users/chanchal/linphone-iphone/submodules/build/..//../liblinphone-sdk/i386-apple-darwin/ \
&& cp lib*.a /Users/chanchal/linphone-iphone/submodules/build/..//../liblinphone-sdk/i386-apple-darwin/lib \
&& cp libcrypto.pc /Users/chanchal/linphone-iphone/submodules/build/..//../liblinphone-sdk/i386-apple-darwin/lib/pkgconfig/. \
&& cp libssl.pc /Users/chanchal/linphone-iphone/submodules/build/..//../liblinphone-sdk/i386-apple-darwin/lib/pkgconfig/. \
Loading config.site for iPhone platform=Simulator version=4.0
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk
Selecting SDK path = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk
making all in crypto...
making all in crypto/objects...
make[4]: Nothing to be done for `all'.
making all in crypto/md4...
make[4]: Nothing to be done for `all'.
making all in crypto/md5...
make[4]: Nothing to be done for `all'.
making all in crypto/sha...
make[4]: Nothing to be done for `all'.
making all in crypto/mdc2...
make[4]: Nothing to be done for `all'.
making all in crypto/hmac...
make[4]: Nothing to be done for `all'.
making all in crypto/ripemd...
make[4]: Nothing to be done for `all'.
making all in crypto/whrlpool...
make[4]: Nothing to be done for `all'.
making all in crypto/des...
make[4]: Nothing to be done for `all'.
making all in crypto/aes...
make[4]: Nothing to be done for `all'.
making all in crypto/rc2...
make[4]: Nothing to be done for `all'.
making all in crypto/rc4...
make[4]: Nothing to be done for `all'.
making all in crypto/idea...
make[4]: Nothing to be done for `all'.
making all in crypto/bf...
make[4]: Nothing to be done for `all'.
making all in crypto/cast...
make[4]: Nothing to be done for `all'.
making all in crypto/camellia...
make[4]: Nothing to be done for `all'.
making all in crypto/seed...
make[4]: Nothing to be done for `all'.
making all in crypto/modes...
make[4]: Nothing to be done for `all'.
making all in crypto/bn...
make[4]: Nothing to be done for `all'.
making all in crypto/ec...
make[4]: Nothing to be done for `all'.
making all in crypto/rsa...
make[4]: Nothing to be done for `all'.
making all in crypto/dsa...
make[4]: Nothing to be done for `all'.
making all in crypto/ecdsa...
make[4]: Nothing to be done for `all'.
making all in crypto/dh...
make[4]: Nothing to be done for `all'.
making all in crypto/ecdh...
make[4]: Nothing to be done for `all'.
making all in crypto/dso...
make[4]: Nothing to be done for `all'.
making all in crypto/engine...
make[4]: Nothing to be done for `all'.
making all in crypto/buffer...
make[4]: Nothing to be done for `all'.
making all in crypto/bio...
make[4]: Nothing to be done for `all'.
making all in crypto/stack...
make[4]: Nothing to be done for `all'.
making all in crypto/lhash...
make[4]: Nothing to be done for `all'.
making all in crypto/rand...
make[4]: Nothing to be done for `all'.
making all in crypto/err...
make[4]: Nothing to be done for `all'.
making all in crypto/evp...
make[4]: Nothing to be done for `all'.
making all in crypto/asn1...
make[4]: Nothing to be done for `all'.
making all in crypto/pem...
make[4]: Nothing to be done for `all'.
making all in crypto/x509...
make[4]: Nothing to be done for `all'.
making all in crypto/x509v3...
make[4]: Nothing to be done for `all'.
making all in crypto/conf...
make[4]: Nothing to be done for `all'.
making all in crypto/txt_db...
make[4]: Nothing to be done for `all'.
making all in crypto/pkcs7...
make[4]: Nothing to be done for `all'.
making all in crypto/pkcs12...
make[4]: Nothing to be done for `all'.
making all in crypto/comp...
make[4]: Nothing to be done for `all'.
making all in crypto/ocsp...
make[4]: Nothing to be done for `all'.
making all in crypto/ui...
make[4]: Nothing to be done for `all'.
making all in crypto/krb5...
make[4]: Nothing to be done for `all'.
making all in crypto/cms...
make[4]: Nothing to be done for `all'.
making all in crypto/pqueue...
make[4]: Nothing to be done for `all'.
making all in crypto/ts...
make[4]: Nothing to be done for `all'.
making all in crypto/srp...
make[4]: Nothing to be done for `all'.
making all in crypto/cmac...
make[4]: Nothing to be done for `all'.
if [ -n "" ]; then \
(cd ..; make libcrypto.so.1.0.0); \
fi
making all in ssl...
if [ -n "" ]; then \
(cd ..; make libssl.so.1.0.0); \
fi
make[2]: `libcrypto.pc' is up to date.
make[2]: `libssl.pc' is up to date.
mkdir -p /Users/chanchal/linphone-iphone/submodules/build/../build-i386-apple-darwin/externals/srtp
cd /Users/chanchal/linphone-iphone/submodules/build/../build-i386-apple-darwin/externals/srtp/\
&& CONFIG_SITE=/Users/chanchal/linphone-iphone/submodules/build/..//build/iphone-config.site \
/Users/chanchal/linphone-iphone/submodules/build/..//externals/srtp/configure -prefix=/Users/chanchal/linphone-iphone/submodules/build/..//../liblinphone-sdk/i386-apple-darwin --host=i386-apple-darwin --disable-shared --enable-static
configure: WARNING: unrecognized options: --disable-shared, --enable-static
configure: loading site script /Users/chanchal/linphone-iphone/submodules/build/..//build/iphone-config.site
Loading config.site for iPhone platform=Simulator version=4.0
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk
Selecting SDK path = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk
checking for i386-apple-darwin-ranlib... /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/ranlib
checking for i386-apple-darwin-gcc... /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc -std=c99 -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk -miphoneos-version-min=4.0 -DTARGET_OS_IPHONE=1 -D__IOS
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc -std=c99 -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk -miphoneos-version-min=4.0 -DTARGET_OS_IPHONE=1 -D__IOS accepts -g... yes
checking for /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc -std=c99 -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk -miphoneos-version-min=4.0 -DTARGET_OS_IPHONE=1 -D__IOS option to accept ISO C89... none needed
checking for a BSD-compatible install... /opt/local/bin/ginstall -c
checking how to run the C preprocessor... /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc -std=c99 -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk -miphoneos-version-min=4.0 -DTARGET_OS_IPHONE=1 -D__IOS -E
checking for grep that handles long lines and -e... /opt/local/bin/grep
checking for egrep... /opt/local/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
configure: error: cannot run /bin/sh /Users/chanchal/linphone-iphone/submodules/build/..//externals/srtp/config.sub
make[1]: *** [/Users/chanchal/linphone-iphone/submodules/build/../build-i386-apple-darwin/externals/srtp/Makefile] Error 2
make: *** [build] Error 2
Pleas help me through.
Chanchal A. Shelar