2014-09-23 45 views
0

试图铿锵打造的OpenSSL iOS和不断收到这些错误时锵故障运行做出OpenSSL的(iOS版,I386,x86_64的)

Undefined symbols for architecture i386: 
    "start" 
implicit entry/start for main executable 
    (maybe you meant: _start_hash, _BN_CTX_start , _dtls1_start_timer) 
ld: symbol(s) not found for architecture i386 
clang: error: linker command failed with exit code 1 (use -v to see invocation) 


Undefined symbols for architecture x86_64: 
    "start" 
implicit entry/start for main executable 
    (maybe you meant: _start_hash, _BN_CTX_start , _dtls1_start_timer) 
ld: symbol(s) not found for architecture x86_64 
clang: error: linker command failed with exit code 1 (use -v to see invocation) 

构建精对ARMv7,armv7s,arm64

使用:https://github.com/x2on/OpenSSL-for-iPhone与铛

起初修改我以为是铛,所以恢复到良好的旧GCC ...问题仍然存在所以一定是别的东西我做.. d:


更新1:

我先前在CFLAGS使用-miphoneos-version-min=5.1

当改变最低至-miphoneos-version-min=6.0现在似乎编译......虽然没有什么意义......

回答