瑞芯微Rockchip开发者社区
直播中

李莉

7年用户 1402经验值
私信 关注
[问答]

A40I-Linux代码编译出现错误怎么办

按照A40I-Linux入门使用说明中的相关文件进行代码编译
进入源码路径,
执行./build.sh config
进行选择,选择后执行
./build.sh
出现错误,错误提示信息为
>>> host-autoconf 2.69 Patching

Applying 0001-dont-add-dirty-to-version.patch using patch:
Error: duplicate filename '0001-dont-add-dirty-to-version.patch'
Conflicting files are:
  already applied: /root/workspace/allwinner/A40i/bsp/lichee/buildroot-201611/package/autoconf/0001-dont-add-dirty-to-version.patch
  to be applied  : /root/workspace/allwinner/A40i/bsp/lichee/buildroot-201611/package/autoconf/0001-dont-add-dirty-to-version.patch
package/pkg-generic.mk:180: recipe for target '/root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/build/host-autoconf-2.69/.stamp_patched' failed
make: *** [/root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/build/host-autoconf-2.69/.stamp_patched] Error 1
make: Leaving directory '/root/workspace/allwinner/A40i/bsp/lichee/buildroot-201611'
ERROR: build buildroot Failed

请问是否遇到这问题,怎么解决,谢谢


回帖(1)

张文

2022-1-13 14:30:56
您用md5校验一下源码包,以及lichee目录。看校验码一致吗?或者您把out目录删掉再进行编译试一下。
举报

更多回帖

发帖
×
20
完善资料,
赚取积分