Closed goodluckcsbin closed 1 year ago
sudo apt update -y sudo apt full-upgrade -y sudo apt install -y ack antlr3 asciidoc autoconf automake autopoint binutils bison build-essential \ bzip2 ccache cmake cpio curl device-tree-compiler fastjar flex gawk gettext gcc-multilib g++-multilib \ git gperf haveged help2man intltool libc6-dev-i386 libelf-dev libglib2.0-dev libgmp3-dev libltdl-dev \ libmpc-dev libmpfr-dev libncurses5-dev libncursesw5-dev libreadline-dev libssl-dev libtool lrzsz \ mkisofs msmtp nano ninja-build p7zip p7zip-full patch pkgconf python2.7 python3 python3-pyelftools \ libpython3-dev qemu-utils rsync scons squashfs-tools subversion swig texinfo uglifyjs upx-ucl unzip \ vim wget xmlto xxd zlib1g-dev python3-setuptools
安装一下依赖,再编译
反馈bug/问题模板,提建议请删除
1.关于你要提交的问题
Q:是否搜索了issue (使用 "x" 选择)
A:
(2) 路由器型号和固件版本
A:R5S,R66S,5.15
(3) 详细日志
A:make[3] -C feeds/packages/libs/libgpg-error compile
ERROR: package/boot/uboot-rockchip failed to build (build variant: nanopi-r5s-rk3568). 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 ENVC include/generated/env.txt ENVP include/generated/env.in ENVT include/generated/environment.h make -f ./scripts/Makefile.build obj=scripts/dtc CC env/common.o AR env/built-in.o CC lib/efi_loader/dtbdump.o LD lib/efi_loader/dtbdump_efi.so OBJCOPY lib/efi_loader/dtbdump.efi CC lib/efi_loader/initrddump.o LD lib/efi_loader/initrddump_efi.so OBJCOPY lib/efi_loader/initrddump.efi LD u-boot OBJCOPY u-boot.srec OBJCOPY u-boot-nodtb.bin RELOC u-boot-nodtb.bin CAT u-boot-dtb.bin COPY u-boot.bin SYM u-boot.sym MKIMAGE u-boot.img MKIMAGE u-boot-dtb.img BINMAN .binman_stamp 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:1111: .binman_stamp] Error 1 make[3]: [Makefile:368: /workdir/openwrt/build_dir/target-aarch64_generic_musl/u-boot-nanopi-r5s-rk3568/u-boot-2023.07/.built] Error 2 make[4]: Leaving directory '/workdir/openwrt/build_dir/target-aarch64_generic_musl/u-boot-nanopi-r5s-rk3568/u-boot-2023.07' make[3]: Leaving directory '/workdir/openwrt/package/boot/uboot-rockchip' time: package/boot/uboot-rockchip/nanopi-r5s-rk3568/compile#3.02#1.14#4.09 ERROR: package/boot/uboot-rockchip failed to build (build variant: nanopi-r5s-rk3568). 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.