在一台可以上网的电脑上下载下了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
等待在该电脑上安装完成工具后就可以正常编译了!
阅读(1774) | 评论(0) | 转发(0) |