ubuntu 编译内核报错

Ubuntu 编译 Linux 内核经常会遇到如下错误:

如果报错 canonical-certs.pem:
如下:

make[1]: *** No rule to make target ‘debian/canonical-certs.pem’, needed by ‘certs/x509_certificate_list’. Stop.
make: *** [Makefile:1868: certs] Error 2

在命令行中执行:

scripts/config --disable SYSTEM_TRUSTED_KEYS

如果报错 canonical-revoked-certs.pem:
如下:

make[1]: *** No rule to make target ‘debian/canonical-revoked-certs.pem’, needed by ‘certs/x509_revocation_list’. Stop.
make: *** [Makefile:1868: certs] Error 2

在命令行中执行:

scripts/config --disable SYSTEM_REVOCATION_KEYS

参考
https://blog.csdn.net/m0_47696151/article/details/121574718

https://askubuntu.com/questions/1329538/compiling-the-kernel-5-11-11

相关推荐

  1. ubuntu 编译内核

    2023-12-30 17:26:03       33 阅读
  2. php8编译

    2023-12-30 17:26:03       10 阅读
  3. ubuntu 24.04 devilspie 解决

    2023-12-30 17:26:03       12 阅读

最近更新

  1. TCP协议是安全的吗?

    2023-12-30 17:26:03       16 阅读
  2. 阿里云服务器执行yum,一直下载docker-ce-stable失败

    2023-12-30 17:26:03       16 阅读
  3. 【Python教程】压缩PDF文件大小

    2023-12-30 17:26:03       15 阅读
  4. 通过文章id递归查询所有评论(xml)

    2023-12-30 17:26:03       18 阅读

热门阅读

  1. 百度编辑器常用设置

    2023-12-30 17:26:03       37 阅读
  2. 工智能基础知识总结--什么是AdaBoost

    2023-12-30 17:26:03       34 阅读
  3. 基于遗传算法的双层规划,基于ga的双层规划

    2023-12-30 17:26:03       44 阅读
  4. Linux ubuntu 设置固定IP以及DNS

    2023-12-30 17:26:03       35 阅读
  5. 函数调用图生成_incomplete

    2023-12-30 17:26:03       37 阅读