Chinaunix首页 | 论坛 | 博客
  • 博客访问: 96273
  • 博文数量: 17
  • 博客积分: 37
  • 博客等级: 民兵
  • 技术积分: 217
  • 用 户 组: 普通用户
  • 注册时间: 2010-11-09 18:24
文章分类
文章存档

2016年(4)

2015年(3)

2014年(9)

2011年(1)

我的朋友

分类: 嵌入式

2014-04-04 13:41:47

在一台可以上网的电脑上下载下了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
等待在该电脑上安装完成工具后就可以正常编译了!
阅读(4030) | 评论(0) | 转发(1) |
给主人留下些什么吧!~~