lede icon indicating copy to clipboard operation
lede copied to clipboard

Newifi D1編譯失敗

Open ifurther opened this issue 3 years ago • 0 comments

反馈bug/问题模板,提建议请删除

1.关于你要提交的问题

Q:是否搜索了issue (使用 "x" 选择)

  • [x] 没有类似的issue

2. 详细叙述

(1) 具体问题

A: cp: cannot stat '/home/ddvd/lede/staging_dir/target-mipsel_24kc_musl/rdloader/bin/*': No such file or directory

(2) 路由器型号和固件版本

A: Newifi D1

(3) 详细日志

A: /usr/bin/make -C /home/ddvd/lede/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/gnubee_gb-pc2-kernel.bin.src CROSS_COMPILE="mipsel-openwrt-linux-musl-"
LZMA_TEXT_START=0x81800000
LOADER_DATA=/home/ddvd/lede/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/gnubee_gb-pc2-kernel.bin
FLASH_START=
FLASH_OFFS=
FLASH_MAX=
BOARD="MT7621 based boards"
PLATFORM="mt7621"
clean all make[7]: Entering directory '/home/ddvd/lede/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/gnubee_gb-pc2-kernel.bin.src' rm -f loader *.elf .bin .o mipsel-openwrt-linux-musl-gcc -D__KERNEL__ -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic -ffunction-sections -pipe -mlong-calls -fno-common -ffreestanding -fhonour-copts -nostartfiles -mabi=32 -march=mips32r2 -Wa,-32 -Wa,-march=mips32r2 -Wa,-mips32r2 -Wa,--trap -D_LZMA_PROB32 -flto -DCONFIG_ICACHE_SIZE="(32 * 1024)" -DCONFIG_DCACHE_SIZE="(16 * 1024)" -DCONFIG_CACHELINE_SIZE=32 -DLZMA_WRAPPER=1 -DLOADADDR=0x80001000 -D__ASSEMBLY__ -c -o head.o head.S mipsel-openwrt-linux-musl-gcc -D__KERNEL__ -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic -ffunction-sections -pipe -mlong-calls -fno-common -ffreestanding -fhonour-copts -nostartfiles -mabi=32 -march=mips32r2 -Wa,-32 -Wa,-march=mips32r2 -Wa,-mips32r2 -Wa,--trap -D_LZMA_PROB32 -flto -DCONFIG_ICACHE_SIZE="(32 * 1024)" -DCONFIG_DCACHE_SIZE="(16 * 1024)" -DCONFIG_CACHELINE_SIZE=32 -DLZMA_WRAPPER=1 -DLOADADDR=0x80001000 -c -o loader.o loader.c mipsel-openwrt-linux-musl-gcc -D__KERNEL__ -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic -ffunction-sections -pipe -mlong-calls -fno-common -ffreestanding -fhonour-copts -nostartfiles -mabi=32 -march=mips32r2 -Wa,-32 -Wa,-march=mips32r2 -Wa,-mips32r2 -Wa,--trap -D_LZMA_PROB32 -flto -DCONFIG_ICACHE_SIZE="(32 * 1024)" -DCONFIG_DCACHE_SIZE="(16 * 1024)" -DCONFIG_CACHELINE_SIZE=32 -DLZMA_WRAPPER=1 -DLOADADDR=0x80001000 -c -o cache.o cache.c mipsel-openwrt-linux-musl-gcc -D__KERNEL__ -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic -ffunction-sections -pipe -mlong-calls -fno-common -ffreestanding -fhonour-copts -nostartfiles -mabi=32 -march=mips32r2 -Wa,-32 -Wa,-march=mips32r2 -Wa,-mips32r2 -Wa,--trap -D_LZMA_PROB32 -flto -DCONFIG_ICACHE_SIZE="(32 * 1024)" -DCONFIG_DCACHE_SIZE="(16 * 1024)" -DCONFIG_CACHELINE_SIZE=32 -DLZMA_WRAPPER=1 -DLOADADDR=0x80001000 -c -o board-mt7621.o board-mt7621.c mipsel-openwrt-linux-musl-gcc -D__KERNEL__ -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic -ffunction-sections -pipe -mlong-calls -fno-common -ffreestanding -fhonour-copts -nostartfiles -mabi=32 -march=mips32r2 -Wa,-32 -Wa,-march=mips32r2 -Wa,-mips32r2 -Wa,--trap -D_LZMA_PROB32 -flto -DCONFIG_ICACHE_SIZE="(32 * 1024)" -DCONFIG_DCACHE_SIZE="(16 * 1024)" -DCONFIG_CACHELINE_SIZE=32 -DLZMA_WRAPPER=1 -DLOADADDR=0x80001000 -c -o printf.o printf.c mipsel-openwrt-linux-musl-gcc -D__KERNEL__ -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic -ffunction-sections -pipe -mlong-calls -fno-common -ffreestanding -fhonour-copts -nostartfiles -mabi=32 -march=mips32r2 -Wa,-32 -Wa,-march=mips32r2 -Wa,-mips32r2 -Wa,--trap -D_LZMA_PROB32 -flto -DCONFIG_ICACHE_SIZE="(32 * 1024)" -DCONFIG_DCACHE_SIZE="(16 * 1024)" -DCONFIG_CACHELINE_SIZE=32 -DLZMA_WRAPPER=1 -DLOADADDR=0x80001000 -c -o LzmaDecode.o LzmaDecode.c mipsel-openwrt-linux-musl-ld -r -b binary --oformat elf32-tradlittlemips -T lzma-data.lds -o data.o /home/ddvd/lede/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/gnubee_gb-pc2-kernel.bin mipsel-openwrt-linux-musl-gcc -D__KERNEL__ -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic -ffunction-sections -pipe -mlong-calls -fno-common -ffreestanding -fhonour-copts -nostartfiles -mabi=32 -march=mips32r2 -Wa,-32 -Wa,-march=mips32r2 -Wa,-mips32r2 -Wa,--trap -D_LZMA_PROB32 -flto -DCONFIG_ICACHE_SIZE="(32 * 1024)" -DCONFIG_DCACHE_SIZE="(16 * 1024)" -DCONFIG_CACHELINE_SIZE=32 -DLZMA_WRAPPER=1 -DLOADADDR=0x80001000 -static -Wl,--gc-sections -Wl,-no-warn-mismatch -Wl,-e,startup -T loader.lds -Wl,-Ttext,0x81800000 -flto -fwhole-program -Wl,-z,max-page-size=4096 -o loader head.o loader.o cache.o board-mt7621.o printf.o LzmaDecode.o data.o rm -fR /home/ddvd/lede/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/hatlab_gateboard-one-kernel.bin.initrd rm -fR /home/ddvd/lede/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/hatlab_gateboard-one-kernel.bin.initrd.cpio mkdir -p /home/ddvd/lede/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/hatlab_gateboard-one-kernel.bin.initrd/{bin,dev,proc,sys,lib,etc} mkdir -p /home/ddvd/lede/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/hatlab_gateboard-one-kernel.bin.initrd/lib/modules/5.4.216 cp -fpR /home/ddvd/lede/staging_dir/target-mipsel_24kc_musl/rdloader/bin/ /home/ddvd/lede/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/hatlab_gateboard-one-kernel.bin.initrd/bin/ cp: cannot stat '/home/ddvd/lede/staging_dir/target-mipsel_24kc_musl/rdloader/bin/': No such file or directory make[5]: *** [Makefile:217: /home/ddvd/lede/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/hatlab_gateboard-one-kernel.bin] Error 1 make[5]: *** Waiting for unfinished jobs.... mipsel-openwrt-linux-musl-objcopy -O binary -R .reginfo -R .note -R .comment -R .mdebug -R .MIPS.abiflags -S loader loader.bin mipsel-openwrt-linux-musl-ld -r -b binary --oformat elf32-tradlittlemips -o loader2.o loader.bin mipsel-openwrt-linux-musl-ld -e startup -T loader2.lds -Ttext 0x80001000 -z max-page-size=4096 -o loader.elf loader2.o make[7]: Leaving directory '/home/ddvd/lede/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/gnubee_gb-pc2-kernel.bin.src' make[6]: Leaving directory '/home/ddvd/lede/target/linux/ramips/image/lzma-loader' mv "/home/ddvd/lede/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/gnubee_gb-pc2-kernel.bin.bin" "/home/ddvd/lede/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/gnubee_gb-pc2-kernel.bin" rm -rf /home/ddvd/lede/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/gnubee_gb-pc2-kernel.bin.src mkimage -A mips -O linux -T kernel -C none -a 0x80001000 -e 0x80001000 -n 'MIPS OpenWrt Linux-5.4.216' -d /home/ddvd/lede/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/gnubee_gb-pc2-kernel.bin /home/ddvd/lede/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/gnubee_gb-pc2-kernel.bin.new

ifurther avatar Oct 15 '22 13:10 ifurther