出錯問題如下:
bash: /home/haha_hy/openwrt/trunk/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_rt305x/linux-3.10.44/.config: Permission denied
make[4]: *** [/home/haha_hy//openwrt/trunk/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_rt305x/linux-3.10.44/.configured] Error 1
make[4]: Leaving directory `/home/haha_hy//openwrt/trunk/target/linux/ramips'
make[3]: *** [compile] Error 2
make[3]: Leaving directory `/home/haha_hy/r/openwrt/trunk/target/linux'
make[2]: *** [target/linux/compile] Error 2
make[2]: Leaving directory `/home/administrator/openwrt/trunk'
make[1]: *** [/home/haha_hy/openwrt/trunk/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/stamp/.target_compile] Error 2
make[1]: Leaving directory `/home/haha_hy/openwrt/trunk'
make: *** [world] 錯誤 2
産生問題的原因:大概是用root使用者生成的.config檔案,卻用普通使用者加載make指令。
解決問題的三種方法:
1. su root , 再make
2. chown -R your-user:your-group( chown -R haha_hy /home/haha-hy/openwrt/trunk),再make
3.最笨的方法,删除了原來下載下傳的源重裝了一下
注:參考來自http://www.right.com.cn/forum/thread-144770-1-1.html