编译内核时显示:

scripts/sign-file.c:25:30: fatal error: openssl/opensslv.h: No such file or directory


解决方法:

If you encounter this error during compilation, this is because of the following: The program you are trying to build is using OpenSSL, but necessary development files (libraries and header files) required to link with OpenSSL are missing on your Linux platform.

To fix this problem, you have to install OpenSSL development package, which is available in standard repositories of all modern Linux distributions.

$ sudo yum install openssl-devel