码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2015-04-02 09:15:46      阅读:215      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!