新手入门
- 积分
- 11
- 金钱
- 11
- 注册时间
- 2019-7-23
- 在线时间
- 8 小时
|
18金钱
openwrt make -j1 V=s
编译错误
root$ make -j1 V=s
make[1]: Entering directory `/home/isaiguserver250/ysh/file/openwrt-19.07.2'
make[2]: Entering directory `/home/isaiguserver250/ysh/file/openwrt-19.07.2'
+ mkdir -p /home/isaiguserver250/ysh/file/openwrt-19.07.2/staging_dir/target-arm_cortex-a7+vfpv3-d16_glibc_eabi
+ cd /home/isaiguserver250/ysh/file/openwrt-19.07.2/staging_dir/target-arm_cortex-a7+vfpv3-d16_glibc_eabi
+ mkdir -p bin lib include stamp
mkdir -p /home/isaiguserver250/ysh/file/openwrt-19.07.2/build_dir/target-arm_cortex-a7+vfpv3-d16_glibc_eabi/stamp
touch /home/isaiguserver250/ysh/file/openwrt-19.07.2/staging_dir/target-arm_cortex-a7+vfpv3-d16_glibc_eabi/.prepared
make[3]: Entering directory `/home/isaiguserver250/ysh/file/openwrt-19.07.2/toolchain/gdb'
make[3]: Nothing to be done for `compile'.
make[3]: Leaving directory `/home/isaiguserver250/ysh/file/openwrt-19.07.2/toolchain/gdb'
time: toolchain/gdb/compile#0.00#0.00#0.00
make[3]: Entering directory `/home/isaiguserver250/ysh/file/openwrt-19.07.2/toolchain/binutils'
make[3]: Nothing to be done for `compile'.
make[3]: Leaving directory `/home/isaiguserver250/ysh/file/openwrt-19.07.2/toolchain/binutils'
time: toolchain/binutils/compile#0.00#0.00#0.01
make[3]: Entering directory `/home/isaiguserver250/ysh/file/openwrt-19.07.2/toolchain/gcc/minimal'
make[3]: Nothing to be done for `compile'.
make[3]: Leaving directory `/home/isaiguserver250/ysh/file/openwrt-19.07.2/toolchain/gcc/minimal'
time: toolchain/gcc/minimal/compile#0.00#0.00#0.01
make[3]: Entering directory `/home/isaiguserver250/ysh/file/openwrt-19.07.2/toolchain/kernel-headers'
mkdir -p /home/isaiguserver250/ysh/file/openwrt-19.07.2/dl
SHELL= flock /home/isaiguserver250/ysh/file/openwrt-19.07.2/tmp/.linux-4.1.tar.xz.flock -c ' /home/isaiguserver250/ysh/file/openwrt-19.07.2/scripts/download.pl "/home/isaiguserver250/ysh/file/openwrt-19.07.2/dl" "linux-4.1.tar.xz" "x" "" "@KERNEL/linux/kernel/v4.x" '
Cannot find appropriate hash command, ensure the provided hash is either a MD5 or SHA256 checksum.
make[3]: *** [/home/isaiguserver250/ysh/file/openwrt-19.07.2/dl/linux-4.1.tar.xz] Error 255
make[3]: Leaving directory `/home/isaiguserver250/ysh/file/openwrt-19.07.2/toolchain/kernel-headers'
time: toolchain/kernel-headers/compile#0.02#0.01#0.04
make[2]: *** [toolchain/kernel-headers/compile] Error 2
make[2]: Leaving directory `/home/isaiguserver250/ysh/file/openwrt-19.07.2'
make[1]: *** [/home/isaiguserver250/ysh/file/openwrt-19.07.2/staging_dir/toolchain-arm_cortex-a7+vfpv3-d16_gcc-7.5.0_glibc_eabi/stamp/.toolchain_compile] Error 2
make[1]: Leaving directory `/home/isaiguserver250/ysh/file/openwrt-19.07.2'
make: *** [world] 错误 2
|
-
最佳答案
查看完整内容[请看2#楼]
果然一早起来就解决了
输入make命令后面加个PKG_HASH=skip
make -j1 V=s PKG_HASH=skip
就可以了
|