u-boot-2012.04.01编译问题1:‘_sha1_src’ defined but not used [-Wunused-const-variable=]

编译uboot时遇到以下几个问题:

1、make[1]: Nothing to be done for '_depend'.

2、‘_sha1_src’ defined but not used [-Wunused-const-variable=]

我的系统环境:Ubuntu 18.04,kernel: Linux version 5.3.0-53-generic
工具链设置为:
export ARCH=arm
export CROSS_COMPILE=arm-linux-gnueabihf-
export PATH=$PATH:/home/ToolChain/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/bin

问题1:百度后找到几篇网文,都认为是编译前没有使用make distclean导致的,但我使用了啊,编译是还是每次都出现

参见:编译U-boot 出现Nothing to be done for `_depend'

各种搜索也没有解决,最后决定不理了,解决下一个问题,哈哈,原来这个不是问题,不影响u-boot编译

问题2:/home/book/test/u-boot-2012.04.01/lib/sha1.c:389:19: warning: ‘_sha1_src’ defined but not used [-Wunused-const-variable=]

百度后看到很多说要找到Makefile,去掉其中-Werror ,重新编译,可我全文都搜索不到-Werror

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值