mkdir -p /Users/uzairahmad/desktop/linphone-iphone/submodules/build/..//../liblinphone-sdk/armv6-apple-darwin/include
mkdir -p /Users/uzairahmad/desktop/linphone-iphone/submodules/build/..//../liblinphone-sdk/armv6-apple-darwin/lib/pkgconfig
cd /Users/uzairahmad/desktop/linphone-iphone/submodules/build/../build-armv6-apple-darwin/externals/openssl && host_alias=armv6-apple-darwin . /Users/uzairahmad/desktop/linphone-iphone/submodules/build/..//build/iphone-config.site \
&& make CC="$CC" build_crypto build_ssl libcrypto.pc libssl.pc\
&& cp -r include /Users/uzairahmad/desktop/linphone-iphone/submodules/build/..//../liblinphone-sdk/armv6-apple-darwin/ \
&& cp lib*.a /Users/uzairahmad/desktop/linphone-iphone/submodules/build/..//../liblinphone-sdk/armv6-apple-darwin/lib \
&& cp libcrypto.pc /Users/uzairahmad/desktop/linphone-iphone/submodules/build/..//../liblinphone-sdk/armv6-apple-darwin/lib/pkgconfig/. \
&& cp libssl.pc /Users/uzairahmad/desktop/linphone-iphone/submodules/build/..//../liblinphone-sdk/armv6-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...
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'.
if [ -n "" ]; then \
(cd ..; make libcrypto); \
fi
making all in ssl...
if [ -n "" ]; then \
(cd ..; make libssl); \
fi
make[2]: `libcrypto.pc' is up to date.
make[2]: `libssl.pc' is up to date.
mkdir -p /Users/uzairahmad/desktop/linphone-iphone/submodules/build/../build-armv6-apple-darwin/externals/srtp
cd /Users/uzairahmad/desktop/linphone-iphone/submodules/build/../build-armv6-apple-darwin/externals/srtp/\
&& CONFIG_SITE=/Users/uzairahmad/desktop/linphone-iphone/submodules/build/..//build/iphone-config.site \
/Users/uzairahmad/desktop/linphone-iphone/submodules/build/..//externals/srtp/configure -prefix=/Users/uzairahmad/desktop/linphone-iphone/submodules/build/..//../liblinphone-sdk/armv6-apple-darwin --host=armv6-apple-darwin --disable-shared --enable-static
configure: WARNING: unrecognized options: --disable-shared, --enable-static
configure: WARNING: if you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used
configure: loading site script /Users/uzairahmad/desktop/linphone-iphone/submodules/build/..//build/iphone-config.site
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
checking for armv6-apple-darwin-ranlib... /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/ranlib
checking for armv6-apple-darwin-gcc... /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc -std=c99 -arch armv6 -mcpu=arm1176jzf-s -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.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... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc -std=c99 -arch armv6 -mcpu=arm1176jzf-s -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk -miphoneos-version-min=4.0 -DTARGET_OS_IPHONE=1 -D__IOS accepts -g... yes
checking for /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc -std=c99 -arch armv6 -mcpu=arm1176jzf-s -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.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
configure: error: cannot run /bin/sh /Users/uzairahmad/desktop/linphone-iphone/submodules/build/..//externals/srtp/config.sub
make[1]: *** [/Users/uzairahmad/desktop/linphone-iphone/submodules/build/../build-armv6-apple-darwin/externals/srtp/Makefile] Error 2
make: *** [build] Error 2