Bug 9316 - U-boot fails to build if libssl-dev is not installed
Summary: U-boot fails to build if libssl-dev is not installed
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-28 15:44 UTC by matt.kraai
Modified: 2016-10-20 21:31 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description matt.kraai 2016-09-28 15:44:51 UTC
When I run "make zynq_zed_defconfig && make" on my Ubuntu 16.04.1 LTS system, the build fails with the following error messages:

> >>> uboot xilinx-v2016.2 Building
...
>   HOSTCC  tools/aisimage.o
> In file included from tools/aisimage.c:10:0:
> include/image.h:923:27: fatal error: openssl/evp.h: No such file or directory
> compilation terminated.
> scripts/Makefile.host:108: recipe for target 'tools/aisimage.o' failed
> make[3]: *** [tools/aisimage.o] Error 1
> Makefile:1211: recipe for target 'tools' failed
> make[2]: *** [tools] Error 2
> package/pkg-generic.mk:201: recipe for target '/home/kraai/src/buildroot/output> /build/uboot-xilinx-v2016.2/.stamp_built' failed
> make[1]: *** [/home/kraai/src/buildroot/output/build/uboot-xilinx-v2016.2> /.stamp_built] Error 2
> Makefile:41: recipe for target '_all' failed
> make: *** [_all] Error 2

Installing ssl-dev fixes this problem, but I think U-Boot should depend on host-openssl in this case.