使用centos linux-2.6.32-220.23.1.el6源码编译时出现的问题及其解决方法

来源:互联网 发布:银星围棋软件 编辑:程序博客网 时间:2024/04/26 04:23
原文收录到http://www.qq-live.com/index.php?app=blog&id=4
scripts/kconfig/conf -s arch/x86/Kconfig  CHK     include/linux/version.h  CHK     include/linux/utsrelease.h  SYMLINK include/asm -> include/asm-x86  CALL    scripts/checksyscalls.sh  CHK     include/linux/compile.h  CC      crypto/signature/ksign-publickey.ocrypto/signature/ksign-publickey.c:2:17: error: key.h: No such file or directorycrypto/signature/ksign-publickey.c: In function ‘ksign_init’:crypto/signature/ksign-publickey.c:10: error: ‘ksign_def_public_key’ undeclared (first use in this function)crypto/signature/ksign-publickey.c:10: error: (Each undeclared identifier is reported only oncecrypto/signature/ksign-publickey.c:10: error: for each function it appears in.)crypto/signature/ksign-publickey.c:11: error: ‘ksign_def_public_key_size’ undeclared (first use in this function)make[2]: *** [crypto/signature/ksign-publickey.o] Error 1make[1]: *** [crypto/signature] Error 2make: *** [crypto] Error 2

 

1) Select “Enable loadable module support”, then “Module signature verification (EXPERIMENTAL)”. Disable it.
2) Then go back to the main menu, select “Cryptographic API” then “In-kernel signature checker (EXPERIMENTAL)” and disable that one too.
原创粉丝点击