在Ubuntu16.04.4系统中安装u-boot-xlnx-xilinx-v2016.3.tar出错。
在安装好arm-xilinx-linux-gnueabi-gcc交叉编译器之后,编译该u-boot出现以下错误:
include/image.h:949:27:fatal error:openssl/erp.h:
No such file or directory compilation terminated.
Scripts/Makefile.host:111:recipe for target
tools/aisimage.o failed
make[1]:***[tools/aisimage.o] Error1
Makefile:1210:recipe for target 'tools' failed
make:***[tools] Error 2
按照提示这个是openssl的依赖的问题:输入sudo apt-get install libssl-dev
但是再次输入make时出现错误。
/bin/sh:dtc:commond not found
scripts/Makefile lib:299:recipe for target 'arch/arm/dts/zynq-zc702.dtb' failed
make[2]:***[arch/arm/dts/zynq-zc702.dtb] Error 127 dts/Makefile:36:recipe for target 'arch-dtbs' failed
make[1]:***[arch-dtbs] Error 2
Makefile:1210:recipe for target 'dts' failed
make:***[dts] Error 2
从提示上看貌似系统还没有设备树编译器,执行命令:sudo apt-get install device-tree-compiler