For others to benefit. In the log the error is stdlib.h cannot be found which of course sends you in the wrong direction to find what is wrong like the environment include. Basically I set the SDK version to 6.0 not 5.1 as I have 6.0 with my xCode 4.5.1 with command tools installed.
VERSION="1.0.1e" SDKVERSION="6.0" and the script works nicely building the libraries Building openssl-1.0.1e for iPhoneSimulator 6.0 i386 Please stand by... Building openssl-1.0.1e for iPhoneOS 6.0 armv7 Please stand by... Building openssl-1.0.1e for iPhoneOS 6.0 armv7s Please stand by... Build library... Building done. Cleaning up... Done. Thanks Felix for the script. -- View this message in context: http://openssl.6102.n7.nabble.com/Build-iOS-library-of-openssl-1-0-1e-tp44568p44571.html Sent from the OpenSSL - User mailing list archive at Nabble.com. ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org