在anolis上编译内核时碰到- SSL error:0909006C:PEM routines:get_name:no start line: crypto/pem/pem_lib.c:745的问题,
# make modules_install INSTALL /lib/modules/6.9.0-rc1/modules.order INSTALL /lib/modules/6.9.0-rc1/modules.builtin INSTALL /lib/modules/6.9.0-rc1/modules.builtin.modinfo SYMLINK /lib/modules/6.9.0-rc1/build INSTALL /lib/modules/6.9.0-rc1/kernel/arch/x86/events/amd/power.ko SIGN /lib/modules/6.9.0-rc1/kernel/arch/x86/events/amd/power.ko At main.c:170: - SSL error:0909006C:PEM routines:get_name:no start line: crypto/pem/pem_lib.c:745 sign-file: ./ make[2]: *** [scripts/Makefile.modinst:121: /lib/modules/6.9.0-rc1/kernel/arch/x86/events/amd/power.ko] Error 1 make[2]: *** Deleting file '/lib/modules/6.9.0-rc1/kernel/arch/x86/events/amd/power.ko' make[1]: *** [/root/linux/Makefile:1827: modules_install] Error 2 make: *** [Makefile:240: __sub-make] Error 2
看起来像是在install modules时给module签名但是没有找到证书。
可以通过禁用module签名解决,即,关闭CONFIG_MODULE_SIG
标签:name,lib,make,modules,rc1,pem,6.9 From: https://www.cnblogs.com/banshanjushi/p/18180615