极贰openwrt 编译 7620a+7621e,能够开启 2.4G,5G 该怎么打开

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了极贰openwrt 编译 7620a+7621e,能够开启 2.4G,5G 该怎么打开相关的知识,希望对你有一定的参考价值。

参考技术A 可能需要修改/etc/config/wireless, 可以参考同为MTK7620A+7612E的newifi 祝你愉快,满意请采纳。

编译openwrt程序报错

ot@buyuehang-CP65S:/home/buyuehang/openwrt/trunk/bin/ar71xx/OpenWrt-SDK-ar71xx-generic_gcc-4.8-linaro_musl-1.1.10.Linux-x86_64# make V=s
#
# configuration written to .config
#
make[1]: Entering directory '/home/buyuehang/openwrt/trunk/bin/ar71xx/OpenWrt-SDK-ar71xx-generic_gcc-4.8-linaro_musl-1.1.10.Linux-x86_64'
make[2]: Entering directory '/home/buyuehang/openwrt/trunk/bin/ar71xx/OpenWrt-SDK-ar71xx-generic_gcc-4.8-linaro_musl-1.1.10.Linux-x86_64'
make[3]: Entering directory '/home/buyuehang/openwrt/trunk/bin/ar71xx/OpenWrt-SDK-ar71xx-generic_gcc-4.8-linaro_musl-1.1.10.Linux-x86_64/package/capsulator'
make[4]: Entering directory '/home/buyuehang/openwrt/trunk/bin/ar71xx/OpenWrt-SDK-ar71xx-generic_gcc-4.8-linaro_musl-1.1.10.Linux-x86_64/build_dir/target-mips_34kc_musl-1.1.10/capsulater'
mips-openwrt-linux-musl-gcc -MM -c -Wall mips -D_LITTLE_ENDIAN_ -g -D_DEBUG_ main.c > .main.d
mips-openwrt-linux-musl-gcc: error: mips: No such file or directory
Makefile:94: recipe for target '.main.d' failed
make[4]: *** [.main.d] Error 1
make[4]: Leaving directory '/home/buyuehang/openwrt/trunk/bin/ar71xx/OpenWrt-SDK-ar71xx-generic_gcc-4.8-linaro_musl-1.1.10.Linux-x86_64/build_dir/target-mips_34kc_musl-1.1.10/capsulater'
Makefile:20: recipe for target '/home/buyuehang/openwrt/trunk/bin/ar71xx/OpenWrt-SDK-ar71xx-generic_gcc-4.8-linaro_musl-1.1.10.Linux-x86_64/build_dir/target-mips_34kc_musl-1.1.10/capsulater/.built' failed
make[3]: *** [/home/buyuehang/openwrt/trunk/bin/ar71xx/OpenWrt-SDK-ar71xx-generic_gcc-4.8-linaro_musl-1.1.10.Linux-x86_64/build_dir/target-mips_34kc_musl-1.1.10/capsulater/.built] Error 2
make[3]: Leaving directory '/home/buyuehang/openwrt/trunk/bin/ar71xx/OpenWrt-SDK-ar71xx-generic_gcc-4.8-linaro_musl-1.1.10.Linux-x86_64/package/capsulator'
package/Makefile:191: recipe for target 'package/capsulator/compile' failed
make[2]: *** [package/capsulator/compile] Error 2
make[2]: Leaving directory '/home/buyuehang/openwrt/trunk/bin/ar71xx/OpenWrt-SDK-ar71xx-generic_gcc-4.8-linaro_musl-1.1.10.Linux-x86_64'
package/Makefile:188: recipe for target '/home/buyuehang/openwrt/trunk/bin/ar71xx/OpenWrt-SDK-ar71xx-generic_gcc-4.8-linaro_musl-1.1.10.Linux-x86_64/staging_dir/target-mips_34kc_musl-1.1.10/stamp/.package_compile' failed
make[1]: *** [/home/buyuehang/openwrt/trunk/bin/ar71xx/OpenWrt-SDK-ar71xx-generic_gcc-4.8-linaro_musl-1.1.10.Linux-x86_64/staging_dir/target-mips_34kc_musl-1.1.10/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/buyuehang/openwrt/trunk/bin/ar71xx/OpenWrt-SDK-ar71xx-generic_gcc-4.8-linaro_musl-1.1.10.Linux-x86_64'
/home/buyuehang/openwrt/trunk/bin/ar71xx/OpenWrt-SDK-ar71xx-generic_gcc-4.8-linaro_musl-1.1.10.Linux-x86_64/include/toplevel.mk:174: recipe for target 'world' failed
make: *** [world] Error 2
求大神指教哪里错了

参考技术A 主要原因可能上是因为内存不足, 临时使用交换分区来解决 sudo dd if=/dev/zero of=/swapfile bs=64M count=16 sudo mkswap /swapfile sudo swapon /swapfile 编译结束后关闭并删除 sudo swapoff /swapfile sudo rm /swapfile

以上是关于极贰openwrt 编译 7620a+7621e,能够开启 2.4G,5G 该怎么打开的主要内容,如果未能解决你的问题,请参考以下文章

极贰openwrt 编译 7620a+7621e,能够开启 2.4G,5G 该怎么打开

极贰openwrt 编译 7620a+7621e,能够开启 2.4G,5G 该怎么打开

求问各路大神,openwrt编译没生成sysupgrade.bin怎么办

极路由1s(mt7620a)OpenWrt交叉编译go程序

openwrt 编译newifi 应用程序

OpenWrt sscanf问题之于MT7620N与AR9341