一溪北、問題
執(zhí)行命令 make V=99
報以下錯誤:
make[1]: Entering directory `/home/alm/openwrt`
make[2]: Entering directory `/home/alm/openwrt`
make[3]: Entering directory `/home/alm/openwrt/target/linux`
make[4]: Entering directory `/home/alm/openwrt/target/linux/ramips`
if [ -s "/home/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7628/linux-3.18.45/patches/series" ]; then (cd "/home/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7628/linux-3.18.45"; 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]: *** [/home/openwrt/build_dir/target_mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7628/linux-3.18.45/.quilt_checked] Error 126
make[4]: Leaving directory `/home/alm/openwrt/target/linux/ramips`
make[3]: *** [compile] Error 2
make[3]: Leaving directory `/home/alm/openwrt/target/linux`
make[2]: *** [target/linux/compile] Error 2
make[2]: Leaving directory `/home/alm/openwrt`
make[1]: *** [/home/openwrt/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/stamp/.target_compile] Error 2
make[1]: Leaving directory `/home/alm/openwrt`
make[2]: *** [world] Error 2
二、原因
OpenWRT的一個已知錯誤:
http://forum.openwrt.org/viewtopic.php?pid=153601
三缴守、解決方法
執(zhí)行命令 make tools/quilt/install
臭觉,等裝完之后再 make V=99
? 由 Leung 寫于 2019 年 4 月 19 日
? 參考:編譯rt3052的openwrt固件出現(xiàn)的錯誤解決方法
make kernel_menuconfig error