openwrt编译出错,求助!!
这个是为什么??
ips32r2 -Wa,-32 -Wa,-march=mips32r2 -Wa,-mips32r2 -Wa,--trap -D_LZMA_PROB32 -DLZMA_WRAPPER=1 -DLOADADDR=0x80060000 -DCONFIG_BOARD_GENERIC -c -o printf.o printf.c
mips-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 -mabi=32 -march=mips32r2 -Wa,-32 -Wa,-march=mips32r2 -Wa,-mips32r2 -Wa,--trap -D_LZMA_PROB32 -DLZMA_WRAPPER=1 -DLOADADDR=0x80060000 -DCONFIG_BOARD_GENERIC -c -o LzmaDecode.o LzmaDecode.c
mips-openwrt-linux-musl-ld -r -b binary --oformat elf32-tradbigmips -T lzma-data.lds -o data.o /home/openwrt/openwrt/build_dir/target-mips_34kc_musl-1.1.14/linux-ar71xx_generic/vmlinux.bin.lzma
mips-openwrt-linux-musl-ld -static --gc-sections -no-warn-mismatch -e startup -T loader.lds -Ttext 0x80a00000 -o loader head.o loader.o cache.o board.o printf.o LzmaDecode.o data.o
mips-openwrt-linux-musl-objcopy -O binary -R .reginfo -R .note -R .comment -R .mdebug -R .MIPS.abiflags -S loader loader.bin
mips-openwrt-linux-musl-ld -r -b binary --oformat elf32-tradbigmips -o loader2.o loader.bin
mips-openwrt-linux-musl-ld -e startup -T loader2.lds -Ttext 0x80060000 -o loader.elf loader2.o
make[7]: Leaving directory '/home/openwrt/openwrt/build_dir/target-mips_34kc_musl-1.1.14/linux-ar71xx_generic/lzma-loader'
cp -fpR /home/openwrt/openwrt/build_dir/target-mips_34kc_musl-1.1.14/linux-ar71xx_generic/lzma-loader/loader.elf /home/openwrt/openwrt/build_dir/target-mips_34kc_musl-1.1.14/linux-ar71xx_generic/loader-generic.elf
make[6]: Leaving directory '/home/openwrt/openwrt/target/linux/ar71xx/image/lzma-loader'
cp -fpR /home/openwrt/openwrt/build_dir/target-mips_34kc_musl-1.1.14/linux-ar71xx_generic/loader-generic.elf /home/openwrt/openwrt/build_dir/target-mips_34kc_musl-1.1.14/linux-ar71xx_generic/loader-generic.elf
cp: '/home/openwrt/openwrt/build_dir/target-mips_34kc_musl-1.1.14/linux-ar71xx_generic/loader-generic.elf' and '/home/openwrt/openwrt/build_dir/target-mips_34kc_musl-1.1.14/linux-ar71xx_generic/loader-generic.elf' are the same file
Makefile:2642: recipe for target 'image_prepare' failed
make[5]: [image_prepare] Error 1 (ignored)
# Use symbolic permissions to avoid clobbering SUID/SGID/sticky bits
find /home/openwrt/openwrt/build_dir/target-mips_34kc_musl-1.1.14/root-ar71xx -type f -not -perm /0100 -not -name 'ssh_host*' -not -name 'shadow' -print0 | xargs -r -0 chmod u+rw,g+r,o+r
find /home/openwrt/openwrt/build_dir/target-mips_34kc_musl-1.1.14/root-ar71xx -type f -perm /0100 -print0 | xargs -r -0 chmod u+rwx,g+rx,o+rx
find /home/openwrt/openwrt/build_dir/target-mips_34kc_musl-1.1.14/root-ar71xx -type d -print0 | xargs -r -0 chmod u+rwx,g+rx,o+rx
install -d -m0755 /home/openwrt/openwrt/build_dir/target-mips_34kc_musl-1.1.14/root-ar71xx/tmp /home/openwrt/openwrt/build_dir/target-mips_34kc_musl-1.1.14/root-ar71xx/overlay
chmod 1777 /home/openwrt/openwrt/build_dir/target-mips_34kc_musl-1.1.14/root-ar71xx/tmp
cp /home/openwrt/openwrt/build_dir/target-mips_34kc_musl-1.1.14/linux-ar71xx_generic/vmlinux.elf /home/openwrt/openwrt/bin/ar71xx/openwrt-asus/hugo-1.0-ar71xx-generic-vmlinux.elf
cp: cannot create regular file '/home/openwrt/openwrt/bin/ar71xx/openwrt-asus/hugo-1.0-ar71xx-generic-vmlinux.elf': No such file or directory
Makefile:2642: recipe for target 'kernel_prepare' failed
make[5]: *** [kernel_prepare] Error 1
make[5]: Leaving directory '/home/openwrt/openwrt/target/linux/ar71xx/image'
Makefile:24: recipe for target 'install' failed
make[4]: *** [install] Error 2
make[4]: Leaving directory '/home/openwrt/openwrt/target/linux/ar71xx'
Makefile:13: recipe for target 'install' failed
make[3]: *** [install] Error 2
make[3]: Leaving directory '/home/openwrt/openwrt/target/linux'
target/Makefile:21: recipe for target 'target/linux/install' failed
make[2]: *** [target/linux/install] Error 2
make[2]: Leaving directory '/home/openwrt/openwrt'
target/Makefile:17: recipe for target '/home/openwrt/openwrt/staging_dir/target-mips_34kc_musl-1.1.14/stamp/.target_install' failed
make[1]: *** [/home/openwrt/openwrt/staging_dir/target-mips_34kc_musl-1.1.14/stamp/.target_install] Error 2
make[1]: Leaving directory '/home/openwrt/openwrt'
/home/openwrt/openwrt/include/toplevel.mk:192: recipe for target 'world' failed
make: *** [world] Error 2
请不要胡乱输入以及粘贴、复制等方式灌水
请尊重作者、并共同维护网站的正常阅读,否则账户将会被限制发帖、回帖,站内短信以及阅读权限等都会受到影响,谢谢。
具体限制方式:https://www.right.com.cn/forum/thread-8307840-1-1.html
|