编译内核 make modules_install时总是报错

KDD_15 2019-03-05 12:25:21
root@ubuntu:/usr/src/linux-5.0# make modules_install
INSTALL arch/x86/crypto/aegis128-aesni.ko
At main.c:160:
- SSL error:02001002:system library:fopen:No such file or directory: ../crypto/bio/bss_file.c:74
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: ../crypto/bio/bss_file.c:81
sign-file: certs/signing_key.pem: No such file or directory
scripts/Makefile.modinst:36: recipe for target 'arch/x86/crypto/aegis128-aesni.ko' failed
make[1]: *** [arch/x86/crypto/aegis128-aesni.ko] Error 1
Makefile:1281: recipe for target '_modinst_' failed
make: *** [_modinst_] Error 2


求教!!!真的做到自闭了!!!!!
...全文
15527 16 打赏 收藏 转发到动态 举报
写回复
用AI写文章
16 条回复
切换为时间正序
请发表友善的回复…
发表回复
呦,来喽 2021-01-13
  • 打赏
  • 举报
回复
大哥怎么解决的
cucurbitaceaer 2020-12-16
  • 打赏
  • 举报
回复
是缺少什么组件阿,一直出现这个问题
OKWeCool 2020-10-06
  • 打赏
  • 举报
回复
可以试试用sudo,就是在这个命令前加一个“sudo make modules_install”再运行,出现错误有时候是因为要管理员权限(?)哈哈哈
lb7827581 2020-05-22
  • 打赏
  • 举报
回复
执行 openssl req -new -nodes -utf8 -sha512 -days 36500 -batch -x509 -config x509.genkey -outform DER -out signing_key.x509 -keyout signing_key.pem
qq_30215901 2019-05-17
  • 打赏
  • 举报
回复
https://github.com/umlaeute/v4l2loopback/issues/139,可以看看这个链接
qq_30215901 2019-05-17
  • 打赏
  • 举报
回复 2
我也遇到了这个问题,尝试搜索SSL插件:sudo apt-cache search libssl | grep SSL
安装完所有插件之后,依然报这个错误,但是我写的模块可以正常加载和运行,在google中找到这么一段话

i still do not see any problem.
afaict, the error is unrelated and not harmful: during make install the system also tries to sign the module, and since you do not have the required keys to sign, this fails. nevertheless the make install succeeds, and you should be able the module.
if this error indeed prevents you from using the module, then the problem is with your kernel infrastructure, and must be fixed there (one could design a system that only allows modules signed by a given authority; in this case, not being able to create signed modules yourself is not a problem of the module code, but a social problem between you and that authority)

大概意思是说:这个问题是在内核基础结构层面,必须在这一层解决。这个问题即使存在也不影响你使用模块。
KDD_15 2019-05-05
  • 打赏
  • 举报
回复
试一下sudo apt-get install libncurses5-dev libssl-dev
引用 13 楼 藤原拓海s 的回复:
[quote=引用 1 楼 HustWitty 的回复:] 大佬是咋解决的啊 跪求!!!
这个怎么解决啊 我也是这个问题 我看了下也没那个文件啊 QAQ[/quote]
引用 12 楼 HustWitty 的回复:
大佬是咋解决的啊 跪求!!!
藤原拓海s 2019-05-01
  • 打赏
  • 举报
回复
引用 1 楼 HustWitty 的回复:
大佬是咋解决的啊 跪求!!!
这个怎么解决啊 我也是这个问题 我看了下也没那个文件啊 QAQ
Wittycy 2019-04-29
  • 打赏
  • 举报
回复
大佬是咋解决的啊 跪求!!!
KDD_15 2019-04-29
  • 打赏
  • 举报
回复
引用 10 楼 wait2024 的回复:
我和你是相同的错误,请问怎么你没安装的组件是哪个啊,跪求,弄了一下午了暴风哭泣啊啊啊
认真看报错~里面会写是哪个组件没装好 加油啊,第一次做这个确实要很久的
KDD_15 2019-04-24
  • 打赏
  • 举报
回复
之前有个组件没装上
引用 7 楼 weixin_42011065 的回复:
请问你是怎么解决的
引用 8 楼 Mash1o 的回复:
请问你是怎么解决的
Mash1o 2019-04-14
  • 打赏
  • 举报
回复
请问你是怎么解决的
weixin_42011065 2019-04-13
  • 打赏
  • 举报
回复
请问你是怎么解决的
  • 打赏
  • 举报
回复
5.0,666
KDD_15 2019-04-02
  • 打赏
  • 举报
回复
引用 4 楼 lintao66 的回复:
问题解决了吗
解决了
KDD_15 2019-03-05
  • 打赏
  • 举报
回复
在线等

4,441

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 内核源代码研究区
社区管理员
  • 内核源代码研究区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧