Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

拉取最新源码编译报错 #13071

Closed
1 task done
bi4tms opened this issue Nov 17, 2024 · 4 comments
Closed
1 task done

拉取最新源码编译报错 #13071

bi4tms opened this issue Nov 17, 2024 · 4 comments

Comments

@bi4tms
Copy link

bi4tms commented Nov 17, 2024

详细叙述

拉取最新源码编译报错

重复 issue

  • 没有类似的 issue

具体型号

R2S/R4S/R66S

详细日志

Applying /home/r4s.6.6/lede/target/linux/rockchip/patches-6.6/205-rockchip-rk3328-add-support-for-FriendlyARM-NanoPi-Neo3.patch using plaintext:
patching file arch/arm64/boot/dts/rockchip/Makefile
Hunk #1 FAILED at 17.
1 out of 1 hunk FAILED -- saving rejects to file arch/arm64/boot/dts/rockchip/Makefile.rej
patching file arch/arm64/boot/dts/rockchip/rk3328-nanopi-neo3.dts
Patch failed! Please fix /home/r4s.6.6/lede/target/linux/rockchip/patches-6.6/205-rockchip-rk3328-add-support-for-FriendlyARM-NanoPi-Neo3.patch!
make[4]: *** [Makefile:34: /home/r4s.6.6/lede/build_dir/target-aarch64_generic_musl/linux-rockchip_armv8/linux-6.6.61/.prepared_b0b866533f34dda4429dde5ebdcb1925] Error 1
make[4]: Leaving directory '/home/r4s.6.6/lede/target/linux/rockchip'
make[3]: *** [Makefile:11: compile] Error 2
make[3]: Leaving directory '/home/r4s.6.6/lede/target/linux'
time: target/linux/compile#17.15#11.18#22.87
ERROR: target/linux failed to build.
make[2]: *** [target/Makefile:30: target/linux/compile] Error 1
make[2]: Leaving directory '/home/r4s.6.6/lede'
make[1]: *** [target/Makefile:23: /home/r4s.6.6/lede/staging_dir/target-aarch64_generic_musl/stamp/.target_compile] Error 2
make[1]: Leaving directory '/home/r4s.6.6/lede'
make: *** [/home/r4s.6.6/lede/include/toplevel.mk:231:world] 错误 2

@yanxin152133
Copy link

#9039

@BenjaminX
Copy link

一样的报错
SCR-20241118-jxyx
R4S 机器

@ccjcu
Copy link

ccjcu commented Nov 18, 2024

不是R2S Neo3, 先把Neo3删了,这样可以编译
find . -name 205-rockchip-rk3328-add-support-for-FriendlyARM-NanoPi-Neo3.patch | xargs rm

vi target/linux/rockchip/image/armv8.mk

删除neo3的定义

@oppen321
Copy link

移除Neo3补丁文件
find . -name 205-rockchip-rk3328-add-support-for-FriendlyARM-NanoPi-Neo3.patch | xargs rm
移除neo3
sed -i '/^define Device/friendlyarm_nanopi-neo3$/,/^endef$/d;/^TARGET_DEVICES += friendlyarm_nanopi-neo3$/d' target/linux/rockchip/image/armv8.mk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants