st3fan / ios-openssl

Port of OpenSSL for iOS
389 stars 118 forks source link

ARM builds fail #9

Closed ashmaro closed 10 years ago

ashmaro commented 11 years ago

Same problem as somebody else had - the build for armv7 fails cause it cannot find standard headers:

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc -arch armv7 -I. -I.. -I../include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk -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 In file included from cryptlib.c:117: cryptlib.h:62:20: error: stdlib.h: No such file or directory cryptlib.h:63:20: error: string.h: No such file or directory

ashmaro commented 11 years ago

My bad - I have SDK 6.1. Hopefully just changing the version in build will work.