Re: Linux 4.3-rc1 build error on CentOS 5.11 "scripts/sign-file.c:23:25: fatal error: openssl/cms.h: No such file or directory"

From: Dongsheng Yang
Date: Sun Sep 13 2015 - 22:21:07 EST


On 09/12/2015 07:22 AM, Davidlohr Bueso wrote:
On Fri, 11 Sep 2015, Vinson Lee wrote:

Hi.

With the latest Linux 4.3-rc1, I am hitting this build error on CentOS
5.11.

HOSTCC scripts/sign-file
scripts/sign-file.c:23:25: fatal error: openssl/cms.h: No such file or
directory
#include <openssl/cms.h>

fwiw/rant, I have run into kernel build issues recently due to lack of
openssl libs.
The solution is trivial, in my case just intalling my distros openssl-devel
package,

Even I install-ed the openssl-devel, I can compile it but I met a
problem in `make modules_install`

At main.c:178:
- SSL error:02001002:system library:fopen:No such file or directory: bss_file.c:169
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: bss_file.c:172
sign-file: : No such file or directory

but this will probably break things for more people. And this
is with default
configs... annoying.

Thanks,
Davidlohr
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/