ios编译失败
WinnieZy opened this issue · 0 comments
ios编译失败,失败日志如下:
clang -arch armv7 -I. -Icrypto/include -Iinclude -fPIC -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk -fno-common -O3 -DOPENSSL_PIC -DOPENSSLDIR=""/sslPath/-armv7/ssl"" -DENGINESDIR=""/sslPath/-armv7/lib/engines-1.1"" -D_REENTRANT -DNDEBUG -MMD -MF crypto/evp/evp_enc.d.tmp -MT crypto/evp/evp_enc.o -c -o crypto/evp/evp_enc.o crypto/evp/evp_enc.c
crypto/evp/evp_enc.c:56:9: error: use of undeclared identifier
'ENGINE_CIPHERS_PTR'
ENGINE_CIPHERS_PTR fn = NULL;
^
crypto/evp/evp_enc.c:57:9: error: use of undeclared identifier 'fn'
fn = ENGINE_get_ciphers(impl);
^
crypto/evp/evp_enc.c:57:14: warning: implicit declaration of function
'ENGINE_get_ciphers' is invalid in C99 [-Wimplicit-function-declaration]
fn = ENGINE_get_ciphers(impl);
^
crypto/evp/evp_enc.c:58:12: error: use of undeclared identifier 'fn'
if(fn){
^
crypto/evp/evp_enc.c:59:13: warning: implicit declaration of function 'fn' is
invalid in C99 [-Wimplicit-function-declaration]
fn(impl, &ret, NULL, nid);
^
2 warnings and 3 errors generated.
make[1]: *** [Makefile:3358: crypto/evp/evp_enc.o] Error 1
make[1]: Leaving directory '/TASSL-1.1.1b/TASSL-1.1.1b-master'
make: *** [Makefile:172: all] Error 2
麻烦帮忙看看是什么问题,感谢!