scripts/sign-file
or scripts/extract-cert
host compilation steps.
HOSTCC scripts/asn1_compiler HOSTCC scripts/extract-cert In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/bio.h:13, from ../scripts/extract-cert.c:21: /usr/include/x86_64-linux-gnu/openssl/opensslconf.h:13:10: fatal error: openssl/opensslv.h: Aucun fichier ou dossier de ce type 13 | #include <openssl/opensslv.h> | ^~~~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.host:107 : scripts/extract-cert] Erreur 1 make[1]: *** [/data/linux-at91/Makefile:1120 : scripts] Erreur 2 make: *** [../Makefile:179 : sub-make] Erreur 2or
HOSTCC scripts/extract-cert ../scripts/extract-cert.c:21:10: fatal error: openssl/bio.h: Aucun fichier ou dossier de ce type 21 | #include <openssl/bio.h> | ^~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.host:107 : scripts/extract-cert] Erreur 1 make[1]: *** [/data/linux-at91/Makefile:1120 : scripts] Erreur 2 make: *** [../Makefile:179 : sub-make] Erreur 2This is due to missing OpenSSL development package which needs to be installed in on your host machine. These requirements are mentioned in a dedicated Kernel documentation page: Minimal requirements to compile the Kernel.
libssl-dev
or equivalent package with following commands:
$ sudo apt install libssl1.0-dev
$ sudo apt install libssl-dev
sudo yum install openssl-devel
sudo dnf install openssl-develThese commands will require root privileges or being in a correct sudoers group.
WebFaqBaseForm | |
---|---|
Boards | Sama5d2-icp, Sam9x60EK, Sama5d27WLSom1EK, Sama5d27Som1EK, Sama5d2PtcEK, Sama5d2Xplained, Sama5d4Xplained, Sama5d4ek, Sama5d3Xplained, Sama5d3xek, AT91sam9x5-ek, other AT91SAM9 boards |
Components | Kernel |
Summary | Kernel Compilation Error related to OpenSSL |
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.
Microchip and others, are registered trademarks or trademarks of Microchip Technology Inc. and its subsidiaries.
Arm® and others are registered trademarks or trademarks of Arm Limited (or its affiliates). Other terms and product names may be trademarks of others.
Ideas, requests, contributions ? Connect to LinksToCommunities page.