GD11源码编译报错

发布于 2024-05-12 21:53:57

make[7]: * [Makefile:1837: c-stack.o] Error 1
make[7]: Leaving directory '/home/lhy/wifi6-sdk/mtk-openwrt-lede-4.2.0.0/build_dir/host/m4-1.4.17/lib'
make[6]: * [Makefile:1602: all] Error 2
make[6]: Leaving directory '/home/lhy/wifi6-sdk/mtk-openwrt-lede-4.2.0.0/build_dir/host/m4-1.4.17/lib'
make[5]: * [Makefile:1506: all-recursive] Error 1
make[5]: Leaving directory '/home/lhy/wifi6-sdk/mtk-openwrt-lede-4.2.0.0/build_dir/host/m4-1.4.17'
make[4]: * [Makefile:1461: all] Error 2
make[4]: Leaving directory '/home/lhy/wifi6-sdk/mtk-openwrt-lede-4.2.0.0/build_dir/host/m4-1.4.17'
make[3]: * [Makefile:29: /home/lhy/wifi6-sdk/mtk-openwrt-lede-4.2.0.0/build_dir/host/m4-1.4.17/.built] Error 2
make[3]: Leaving directory '/home/lhy/wifi6-sdk/mtk-openwrt-lede-4.2.0.0/tools/m4'
make[2]: * [tools/Makefile:150: tools/m4/compile] Error 2
make[2]: Leaving directory '/home/lhy/wifi6-sdk/mtk-openwrt-lede-4.2.0.0'
make[1]: * [tools/Makefile:147: /home/lhy/wifi6-sdk/mtk-openwrt-lede-4.2.0.0/staging_dir/target-mipsel_24kc_musl-1.1.16/stamp/.tools_install_yynyyyyyynyyyyynyynnyyyyyyynyyyyyyyyyyyyyyyynyynynnyyynnny] Error 2
make[1]: Leaving directory '/home/lhy/wifi6-sdk/mtk-openwrt-lede-4.2.0.0'
make: * [/home/lhy/wifi6-sdk/mtk-openwrt-lede-4.2.0.0/include/toplevel.mk:199:world] 错误 2

查看更多

关注者
0
被浏览
247
3 个回答
海凌科技术-张工
海凌科技术-张工 认证专家 2024-05-13
这家伙很懒,什么也没写!

你这里是用的我们推荐的虚拟机版本吗,如果不是请参考这里的建议来重新编译WIFI6

lihy
lihy 2024-05-14
这家伙很懒,什么也没写!

./scripts/feeds update -a
./scripts/feeds install -a
make menuconfig
make V=s -j$(nproc)
想对内置插件进行增加修改通过上面的命令可以进行编译固件吗?
我的编译报错信息如下
make[2]: Leaving directory '/home/lhy/wifi6-sdk/mtk-openwrt-lede-4.2.0.0'
package/Makefile:101: recipe for target '/home/lhy/wifi6-sdk/mtk-openwrt-lede-4.2.0.0/staging_dir/target-mipsel_24kc_musl-1.1.16/stamp/.package_compile' failed
make[1]: * [/home/lhy/wifi6-sdk/mtk-openwrt-lede-4.2.0.0/staging_dir/target-mipsel_24kc_musl-1.1.16/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/lhy/wifi6-sdk/mtk-openwrt-lede-4.2.0.0'
Build failed - please re-run with -j1 to see the real error message
/home/lhy/wifi6-sdk/mtk-openwrt-lede-4.2.0.0/include/toplevel.mk:197: recipe for target 'world' failed
make: * [world] Error 1

lihy
lihy 2024-05-14
这家伙很懒,什么也没写!

Makefile:170: recipe for target '/home/lhy/wifi6-sdk/mtk-openwrt-lede-4.2.0.0/bin/packages/mipsel_24kc/base/dnsmasq-full_2.78-6_mipsel_24kc.ipk' failed
make[3]: * [/home/lhy/wifi6-sdk/mtk-openwrt-lede-4.2.0.0/bin/packages/mipsel_24kc/base/dnsmasq-full_2.78-6_mipsel_24kc.ipk] Error 1
make[3]: Leaving directory '/home/lhy/wifi6-sdk/mtk-openwrt-lede-4.2.0.0/package/network/services/dnsmasq'
package/Makefile:105: recipe for target 'package/network/services/dnsmasq/compile' failed
make[2]: * [package/network/services/dnsmasq/compile] Error 2
make[2]: Leaving directory '/home/lhy/wifi6-sdk/mtk-openwrt-lede-4.2.0.0'
package/Makefile:101: recipe for target '/home/lhy/wifi6-sdk/mtk-openwrt-lede-4.2.0.0/staging_dir/target-mipsel_24kc_musl-1.1.16/stamp/.package_compile' failed
make[1]: * [/home/lhy/wifi6-sdk/mtk-openwrt-lede-4.2.0.0/staging_dir/target-mipsel_24kc_musl-1.1.16/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/lhy/wifi6-sdk/mtk-openwrt-lede-4.2.0.0'
/home/lhy/wifi6-sdk/mtk-openwrt-lede-4.2.0.0/include/toplevel.mk:197: recipe for target 'world' failed
make: * [world] Error 2

撰写答案

请登录后再发布答案,点击登录

发布
问题

分享
好友

手机
浏览

扫码手机浏览