Chinaunix首页 | 论坛 | 博客
  • 博客访问: 173686
  • 博文数量: 33
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 305
  • 用 户 组: 普通用户
  • 注册时间: 2014-10-07 15:33
文章存档

2015年(23)

2014年(10)

分类: 嵌入式

2014-10-07 15:35:31

原文地址:openwrt编译错误 作者:allenhuang87

在一台可以上网的电脑上下载下了openwrt源码,编译没有完成,直接把源码打包放到另外一台不能上网的电脑上编译,出现了如下问题:
make[1]: Entering directory `/openwrt/openwrt-dreambox'
make[2]: Entering directory `/openwrt/openwrt-dreambox'
make[3]: Entering directory `/openwrt/openwrt-dreambox/target/linux'
make[4]: Entering directory `/openwrt/openwrt-dreambox/target/linux/ar71xx'
if [ -s "/openwrt/openwrt-dreambox/build_dir/linux-ar71xx/linux-2.6.32.27/patches/series" ]; then (cd "/openwrt/openwrt-dreambox/build_dir/linux-ar71xx/linux-2.6.32.27"; if quilt --quiltrc=- next >/dev/null 2>&1; then quilt --quiltrc=- push -a; else quilt --quiltrc=- top >/dev/null 2>&1; fi ); fi
make[4]: *** [/openwrt/openwrt-dreambox/build_dir/linux-ar71xx/linux-2.6.32.27/.quilt_checked] Error 1
make[4]: Leaving directory `/openwrt/openwrt-dreambox/target/linux/ar71xx'
make[3]: *** [compile] Error 2
make[3]: Leaving directory `/openwrt/openwrt-dreambox/target/linux'
make[2]: *** [target/linux/compile] Error 2
make[2]: Leaving directory `/openwrt/openwrt-dreambox'
make[1]: *** [/openwrt/openwrt-dreambox/staging_dir/target-mips_r2_eglibc-2.8/stamp/.target_compile] Error 2
make[1]: Leaving directory `/openwrt/openwrt-dreambox'
make: *** [world] Error 2
所说是该电脑没有找到工具的原因,所以需要重新编译一下工具,命令如下 :
huang@linuxwang:/openwrt/openwrt-dreambox> make tools/compile
等待在该电脑上安装完成工具后就可以正常编译了!
阅读(1734) | 评论(0) | 转发(0) |
0

上一篇:OpenWrt新手教程

下一篇:Openwrt编译进阶

给主人留下些什么吧!~~