Skip to content

scripts/extract-cert.c:21:10: fatal error: openssl/bio.h: No such file or directory #4

@HabonRoof

Description

@HabonRoof

Hi, I follow the step of seed official tutorial.
When I trying to compile the kernel, there is some error message shows up.
After typing make CROSS_COMPILE=riscv64-linux-gnu- ARCH=riscv -j8
there are some error:

scripts/extract-cert.c:21:10: fatal error: openssl/bio.h: No such file or directory
21 | #include <openssl/bio.h>
| ^~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [scripts/Makefile.host:95: scripts/extract-cert] Error 1
make[1]: *** Waiting for unfinished jobs....
HDRINST usr/include/linux/synclink.h
HDRINST usr/include/linux/btrfs_tree.h
scripts/sign-file.c:25:10: fatal error: openssl/opensslv.h: No such file or directory
25 | #include <openssl/opensslv.h>
| ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [scripts/Makefile.host:95: scripts/sign-file] Error 1

Seems like I missed some files so the make process is terminated.
Is there anything I missed?
OS: (by uname -a)
Linux debian 5.10.0-6-amd64 #1 SMP Debian 5.10.28-1 (2021-04-09) x86_64 GNU/Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions