fatal error: openssl/opensslv.h: No such file or directory

編譯內核時顯示:

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

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章