Skip to content
Advertisement

Compiling Linux Kernel 5.2.9 fails at scripts/sign-file

I am trying to compile my own kernel for the sake of experience. The kernel version is 5.2.9 downloaded from kernel.org today ( Aug 19, 2019 ). my make command is “make -j 6”. I have a Ryzen 7 1700x 8 core / 16 thread amd cpu.

scripts/sign-file.c:25:10:fatal error: openssl/opensslv.h: No such file or directory 25 | #include | compilation terminated.

Advertisement

Answer

Due to my reputation, This is like the link belowed answers:

How to fix: fatal error: openssl/opensslv.h: No such file or directory in RedHat 7

In short, you need install ssl development packet. On Debian-like dist, you need:

$ sudo apt-get install libssl-dev

On centos-like, install it:

sudo yum install openssl-devel 
User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement