首页 > 其他 > 详细

编译OpenWRT,解决“fatal: Unable to find remote helper”

时间:2015-04-02 09:15:16      阅读:442      评论:0      收藏:0      [点我收藏+]

编译报错:

make[3]: Entering directory `/home/hevake_lcj/Workspace/OpenWRT/trunk/package/network/config/netifd‘
mkdir -p /home/hevake_lcj/Workspace/OpenWRT/trunk/dl
echo "Checking out files from the git repository..."; mkdir -p /home/hevake_lcj/Workspace/OpenWRT/trunk/tmp/dl && cd /home/hevake_lcj/Workspace/OpenWRT/trunk/tmp/dl && rm -rf netifd-2015-03-31 && [ \! -d netifd-2015-03-31 ] && git clone http://git.openwrt.org/project/netifd.git netifd-2015-03-31 --recursive && (cd netifd-2015-03-31 && git checkout 3a0f953722698eab6f3f623a1d6ec5a1b7102b77 && git submodule update) && echo "Packing checkout..." && rm -rf netifd-2015-03-31/.git &&     tar czf /home/hevake_lcj/Workspace/OpenWRT/trunk/tmp/dl/netifd-2015-03-31-3a0f953722698eab6f3f623a1d6ec5a1b7102b77.tar.gz netifd-2015-03-31 && mv /home/hevake_lcj/Workspace/OpenWRT/trunk/tmp/dl/netifd-2015-03-31-3a0f953722698eab6f3f623a1d6ec5a1b7102b77.tar.gz /home/hevake_lcj/Workspace/OpenWRT/trunk/dl/ && rm -rf netifd-2015-03-31;

找到 package/network/config/netifd/Makefile,打开

技术分享

将第8行的“http:”替换成"git:",然后再回到OpenWRT目录再make.

编译OpenWRT,解决“fatal: Unable to find remote helper”

原文:http://my.oschina.net/hevakelcj/blog/394949

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!