编译u-boot出错小结

在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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值