|
之前编译一直没问题,机器是甲骨文的云主机,美国节点
最近在编译里加了openclash,死活过不去,现在取消了openclash也无法成功编译,不知道问题究竟出在哪(初步看感觉像是openssl、ruby相关……但是具体就不知道了),报错信息如下,谢谢大家
make[6]: Leaving directory '/home/ubuntu/lede/build_dir/hostpkg/ruby-3.1.2/ext/monitor'
make[6]: Entering directory '/home/ubuntu/lede/build_dir/hostpkg/ruby-3.1.2/ext/openssl'
compiling ossl_pkey.c
ossl_pkey.c: In function 'ossl_pkey_export_traditional':
ossl_pkey.c:681:62: error: dereferencing pointer to incomplete type 'EVP_PKEY' {aka 'struct evp_pkey_st'}
681 | EVP_PKEY_asn1_get0_info(NULL, NULL, NULL, NULL, &aname, pkey->ameth);
| ^~
make[6]: *** [Makefile:323: ossl_pkey.o] Error 1
make[6]: Leaving directory '/home/ubuntu/lede/build_dir/hostpkg/ruby-3.1.2/ext/openssl'
make[5]: *** [exts.mk:115: ext/openssl/all] Error 2
make[5]: Leaving directory '/home/ubuntu/lede/build_dir/hostpkg/ruby-3.1.2'
make[4]: *** [uncommon.mk:305: build-ext] Error 2
make[4]: Leaving directory '/home/ubuntu/lede/build_dir/hostpkg/ruby-3.1.2'
make[3]: *** [Makefile:1156: /home/ubuntu/lede/build_dir/hostpkg/ruby-3.1.2/.built] Error 2
make[3]: Leaving directory '/home/ubuntu/lede/feeds/packages/lang/ruby'
time: package/feeds/packages/ruby/host-compile#4.21#0.90#6.83
ERROR: package/feeds/packages/ruby [host] failed to build.
make[2]: *** [package/Makefile:114: package/feeds/packages/ruby/host/compile] Error 1
make[2]: Leaving directory '/home/ubuntu/lede'
make[1]: *** [package/Makefile:110: /home/ubuntu/lede/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/ubuntu/lede'
make: *** [/home/ubuntu/lede/include/toplevel.mk:230: world] Error 2
|
|