找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 358|回复: 0

请大家帮忙给分析下这个编译报错怎么解决

[复制链接]
发表于 2022-8-15 09:45 | 显示全部楼层 |阅读模式
之前编译一直没问题,机器是甲骨文的云主机,美国节点

最近在编译里加了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

我的恩山、我的无线 The best wifi forum is right here.
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-20 02:15

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表