Linux kernel 在linux上安装了openssl dev,但缺少opensslv.h
当试图编译新内核时,“makemodulesbzimage”会请求该文件opensslv.h。我以前做过Linux kernel 在linux上安装了openssl dev,但缺少opensslv.h,linux-kernel,openssl,Linux Kernel,Openssl,当试图编译新内核时,“makemodulesbzimage”会请求该文件opensslv.h。我以前做过 $ sudo apt-get install update and $ sudo apt-get install libcurl4-openssl-dev $ openssl version OpenSSL 1.0.2g 1 Mar 2016 没有问题报告 这是make模块bzImage在几秒钟后给出的错误消息: (...) HOSTCC scripts/sign-file scrip
$ sudo apt-get install update and
$ sudo apt-get install libcurl4-openssl-dev
$ openssl version
OpenSSL 1.0.2g 1 Mar 2016
没有问题报告
这是make模块bzImage在几秒钟后给出的错误消息:
(...)
HOSTCC scripts/sign-file
scripts/sign-file.c:23:30: fatal error: openssl/opensslv.h: No such file or directory
compilation terminated.
scripts/Makefile.host:91: recipe for target 'scripts/sign-file' failed
make[1]: *** [scripts/sign-file] Error 1
Makefile:556: recipe for target 'scripts' failed
make: *** [scripts] Error 2
我在谷歌上搜索错误信息;大多数答案表明我应该安装openssl-dev,我确实这么做了。我也在这里搜索了丢失文件的名称,但答案没有帮助
我在ubuntu 16.04上做这件事,试图安装内核版本Linux4.4.53。前面的步骤(安装libncurse5 dev、make menuconfig和make localconfig)没有问题。libcurl4 openssl dev与openssl-dev几乎没有任何关系。它不是一个类似于openssl dev的包。在Debian系统中,您需要libssl-dev。谢谢您。apt get install openssl dev在六个月前工作,但现在找不到它,所以我搜索了它,这就是我如何找到libcurl4。。。我试试libssl-dev@Jose-Its
libssl-dev
,而不是openssl-dev
。如果问题仍然存在,请从config.log
提供相关信息。这是一条非常有趣的语句:“opensslv.h
是在试图编译新内核时由“makemodules bzImage”请求的”。内核有自己的加密,我知道它不是OpenSSL的翻版。谢谢@jww--libssl-dev确实工作了。此外,不再需要“makemodulesbzimage”;简单的“制造”就足够了。我不知道为什么之前会请求opensslv.h文件。