Closed fxxccp closed 1 year ago
sudo apt install python3-pyelftools
sudo apt install python3-pyelftools
大佬请问我这个错误是缺少什么呀,也是R2S,,使用云编译 make[3] -C target/linux compile ERROR: target/linux failed to build. make -r world: build failed. Please re-run make with -j1 V=s or V=sc for a higher verbosity level to see what's going on make: [/workdir/openwrt/include/toplevel.mk:231: world] Error 1 make[2]: Entering directory '/workdir/openwrt/scripts/config' make[2]: 'conf' is up to date. make[2]: Leaving directory '/workdir/openwrt/scripts/config' make[1] world make[2] target/compile make[3] -C target/linux compile ERROR: target/linux failed to build. make -r world: build failed. Please re-run make with -j1 V=s or V=sc for a higher verbosity level to see what's going on make: [/workdir/openwrt/include/toplevel.mk:231: world] Error 1 make[2]: Entering directory '/workdir/openwrt/scripts/config' make[2]: 'conf' is up to date. make[2]: Leaving directory '/workdir/openwrt/scripts/config' make[1]: Entering directory '/workdir/openwrt' make[2]: Entering directory '/workdir/openwrt' make[3]: Entering directory '/workdir/openwrt/target/linux' make[4]: Entering directory '/workdir/openwrt/target/linux/rockchip'
3 out of 16 hunks FAILED -- saving rejects to file drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c.rej Patch failed! Please fix /workdir/openwrt/target/linux/rockchip/patches-6.1/113-ethernet-stmicro-stmmac-Add-SGMII-QSGMII-support.patch! make[4]: Leaving directory '/workdir/openwrt/target/linux/rockchip' make[4]: [Makefile:34: /workdir/openwrt/build_dir/target-aarch64_generic_musl/linux-rockchip_armv8/linux-6.1.28/.prepared_422b22f19fac98e5037bad7b82b0ee81] Error 1 make[3]: Leaving directory '/workdir/openwrt/target/linux' make[3]: [Makefile:11: compile] Error 2 time: target/linux/compile#13.42#7.75#17.28 ERROR: target/linux failed to build. make[2]: [target/Makefile:30: target/linux/compile] Error 1 make[2]: Leaving directory '/workdir/openwrt' make[1]: [target/Makefile:23: /workdir/openwrt/staging_dir/target-aarch64_generic_musl/stamp/.target_compile] Error 2 make[1]: Leaving directory '/workdir/openwrt' make: *** [/workdir/openwrt/include/toplevel.mk:231: world] Error 2 Error: Process completed with exit code 2.
113-ethernet-stmicro-stmmac-Add-SGMII-QSGMII-support.patch 这个patches 有问题 需要修复
建议别盲目跟6.1 很多型号都没测试完毕 ,很多patches 一堆问题,当然有能力自己修复的可以搞
建议别盲目跟6.1 很多型号都没测试完毕 ,很多patches 一堆问题,当然有能力自己修复的可以搞
编译5.15报错的,目前r4s默认5.15。
113-ethernet-stmicro-stmmac-Add-SGMII-QSGMII-support.patch 这个patches 有问题 需要修复
上个月开始用起来了6.1 R2S型号,前几天还正常,昨天晚上开始编译就报错了。
建议别盲目跟6.1 很多型号都没测试完毕 ,很多patches 一堆问题,当然有能力自己修复的可以搞
编译5.15报错的,目前r4s默认5.15。
这个我是答复的二楼 你的方法是安装一下基础环境,sudo apt install python3-pyelftools 最简单的是 吧l的redeme 里面的那个基础环境在安装一下 这个有更新
113-ethernet-stmicro-stmmac-Add-SGMII-QSGMII-support.patch 这个patches 有问题 需要修复
上个月开始用起来了6.1 R2S型号,前几天还正常,昨天晚上开始编译就报错了。
最近不是更新了6.1 么 他们没测试到呗
113-ethernet-stmicro-stmmac-Add-SGMII-QSGMII-support.patch 这个patches 有问题 需要修复
上个月开始用起来了6.1 R2S型号,前几天还正常,昨天晚上开始编译就报错了。
最近不是更新了6.1 么 他们没测试到呗
哈哈哈。好吧,还是得靠大佬们维护,辛苦大佬们了。
113-ethernet-stmicro-stmmac-Add-SGMII-QSGMII-support.patch 来吧看有敢死队没的,功能测试一下,如果怕 可以吧113删除了编译,也就少了一个这个功能而已,不怕的 就替换这个 编译看下功能哈哈
113-ethernet-stmicro-stmmac-Add-SGMII-QSGMII-support.patch 来吧看有敢死队没的,功能测试一下,如果怕 可以吧113删除了编译,也就少了一个这个功能而已,不怕的 就替换这个 编译看下功能哈哈
我不怕死 我就来试试
1.关于你要提交的问题
Q:是否搜索了issue (使用 "x" 选择)
2. 详细叙述
(1) 具体问题
默认配置参数、默认插件编译报错
(2) 路由器型号和固件版本
R4S/R2S,5.15
(3) 详细日志
binman: Node '/binman/simple-bin/fit': subnode 'images/@atf-SEQ': Failed to read ELF file: Python: No module named 'elftools' Wrote map file './simple-bin.map' to show errors make[4]: [Makefile:1108: .binman_stamp] Error 1 make[3]: [Makefile:325: /workdir/openwrt/build_dir/target-aarch64_generic_musl/u-boot-nanopi-r4s-rk3399/u-boot-2023.04/.built] Error 2 make[4]: Leaving directory '/workdir/openwrt/build_dir/target-aarch64_generic_musl/u-boot-nanopi-r4s-rk3399/u-boot-2023.04' make[3]: Leaving directory '/workdir/openwrt/package/boot/uboot-rockchip' time: package/boot/uboot-rockchip/nanopi-r4s-rk3399/compile#2.86#1.00#3.81 ERROR: package/boot/uboot-rockchip failed to build (build variant: nanopi-r4s-rk3399). make[2]: [package/Makefile:116: package/boot/uboot-rockchip/compile] Error 1 make[2]: Leaving directory '/workdir/openwrt' make[1]: [package/Makefile:110: /workdir/openwrt/staging_dir/target-aarch64_generic_musl/stamp/.package_compile] Error 2 make[1]: Leaving directory '/workdir/openwrt' make: *** [/workdir/openwrt/include/toplevel.mk:231: world] Error 2 Error: Process completed with exit code 2.