|
执行./build.sh buildroot报错如下:2023-04-20T18:44:24 Cannot execute cross-compiler '/home/pifxi/桌面/tc-rv1126-ypk/buildroot/../prebuilts/gcc/linux-x86/arm/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc'
2023-04-20T18:44:24 package/pkg-generic.mk:246: recipe for target '/home/pifxi/桌面/tc-rv1126-ypk/buildroot/output/rockchip_rv1126_rv1109_facial_gate/build/toolchain-external-custom/.stamp_configured' failed
2023-04-20T18:44:24 make[1]: *** [/home/pifxi/桌面/tc-rv1126-ypk/buildroot/output/rockchip_rv1126_rv1109_facial_gate/build/toolchain-external-custom/.stamp_configured] Error 1
2023-04-20T18:44:24 /home/pifxi/桌面/tc-rv1126-ypk/buildroot/output/rockchip_rv1126_rv1109_facial_gate/Makefile:16: recipe for target '_all' failed
2023-04-20T18:44:24 make: *** [_all] Error 2
Command exited with non-zero status 1
you take 0:42.59 to build builroot
ERROR: Running build_buildroot failed!
ERROR: exit code 1 from line 445:
/usr/bin/time -f "you take %E to build builroot" $COMMON_DIR/mk-buildroot.sh $BOARD_CONFIGzhix
其他模块也无法单独编译,比如执行./build.sh uboot报错如下:
processing board option: uboot
processing option: uboot
============Start building uboot============
TARGET_UBOOT_CONFIG=rv1126
=========================================
## make rv1126_defconfig -j4
#
# configuration written to .config
#
/home/pifxi/桌面/tc-rv1126-ypk/prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: 1: /home/pifxi/桌面/tc-rv1126-ypk/prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: ELF: not found
/home/pifxi/桌面/tc-rv1126-ypk/prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: 1: /home/pifxi/桌面/tc-rv1126-ypk/prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: Syntax error: Unterminated quoted string
/home/pifxi/桌面/tc-rv1126-ypk/prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: 1: /home/pifxi/桌面/tc-rv1126-ypk/prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: ELF: not found
/home/pifxi/桌面/tc-rv1126-ypk/prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: 1: /home/pifxi/桌面/tc-rv1126-ypk/prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: Syntax error: Unterminated quoted string
dirname: missing operand
Try 'dirname --help' for more information.
scripts/kconfig/conf --silentoldconfig Kconfig
./scripts/binutils-version.sh: 行 18: /home/pifxi/桌面/tc-rv1126-ypk/prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-as: cannot execute binary file: 可执行文件格式错误
CHK include/config.h
GEN include/autoconf.mk.dep
CFG tpl/u-boot.cfg
CFG u-boot.cfg
CFG spl/u-boot.cfg
/home/pifxi/桌面/tc-rv1126-ypk/prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: 1: /home/pifxi/桌面/tc-rv1126-ypk/prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: ELF: not found
/home/pifxi/桌面/tc-rv1126-ypk/prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: 1: /home/pifxi/桌面/tc-rv1126-ypk/prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: Syntax error: Unterminated quoted string
/home/pifxi/桌面/tc-rv1126-ypk/prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: 1: /home/pifxi/桌面/tc-rv1126-ypk/prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: ELF: not found
/home/pifxi/桌面/tc-rv1126-ypk/prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: 1: /home/pifxi/桌面/tc-rv1126-ypk/prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: Syntax error: Unterminated quoted string
scripts/Makefile.autoconf:50: recipe for target 'include/autoconf.mk.dep' failed
make[1]: *** [include/autoconf.mk.dep] Error 1
make[1]: *** 正在等待未完成的任务....
/home/pifxi/桌面/tc-rv1126-ypk/prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: 1: /home/pifxi/桌面/tc-rv1126-ypk/prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: ELF: not found
scripts/Makefile.autoconf:86: recipe for target 'tpl/u-boot.cfg' failed
make[1]: *** [tpl/u-boot.cfg] Error 1
/home/pifxi/桌面/tc-rv1126-ypk/prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: 1: /home/pifxi/桌面/tc-rv1126-ypk/prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: Syntax error: Unterminated quoted string
/home/pifxi/桌面/tc-rv1126-ypk/prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: 1: /home/pifxi/桌面/tc-rv1126-ypk/prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: ELF: not found
/home/pifxi/桌面/tc-rv1126-ypk/prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: 1: /home/pifxi/桌面/tc-rv1126-ypk/prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: Syntax error: Unterminated quoted string
scripts/Makefile.autoconf:79: recipe for target 'u-boot.cfg' failed
make[1]: *** [u-boot.cfg] Error 1
scripts/Makefile.autoconf:82: recipe for target 'spl/u-boot.cfg' failed
make[1]: *** [spl/u-boot.cfg] Error 1
make: *** No rule to make target 'include/config/auto.conf', needed by 'include/config/uboot.release'. Stop.
ERROR: Running build_uboot failed!
ERROR: exit code 2 from line 341:
./make.sh $RK_UBOOT_DEFCONFIG ${RK_TRUST_INI_CONFIG:+../rkbin/RKTRUST/$RK_TRUST_INI_CONFIG} ${RK_SPL_INI_CONFIG:+../rkbin/RKBOOT/$RK_SPL_INI_CONFIG} ${RK_UBOOT_SIZE_CONFIG:+--sz-uboot $RK_UBOOT_SIZE_CONFIG} ${RK_TRUST_SIZE_CONFIG:+--sz-trust $RK_TRUST_SIZE_CONFIG}
执行./build.sh kernel时报错如下:
processing board option: kernel
processing option: kernel
============Start building kernel============
TARGET_ARCH =arm
TARGET_KERNEL_CONFIG =rv1126_defconfig
TARGET_KERNEL_DTS =rv1109-evb-ddr3-v13-facial-gate
TARGET_KERNEL_CONFIG_FRAGMENT =rv1126-facial-gate.config
==========================================
./scripts/gcc-version.sh: 30: printf: ./../prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: expected numeric value
./scripts/gcc-version.sh: 30: printf: -E: expected numeric value
./scripts/gcc-version.sh: 30: printf: -x: expected numeric value
./scripts/gcc-version.sh: 30: printf: c: expected numeric value
./scripts/gcc-version.sh: 30: printf: -[Errno: expected numeric value
./scripts/gcc-version.sh: 30: printf: 8]: not completely converted
./scripts/gcc-version.sh: 30: printf: Exec: expected numeric value
./scripts/gcc-version.sh: 30: printf: format: expected numeric value
./scripts/gcc-version.sh: 30: printf: error: expected numeric value
./scripts/gcc-version.sh: 30: printf: ./../prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: expected numeric value
./scripts/gcc-version.sh: 30: printf: -E: expected numeric value
./scripts/gcc-version.sh: 30: printf: -x: expected numeric value
./scripts/gcc-version.sh: 30: printf: c: expected numeric value
./scripts/gcc-version.sh: 30: printf: -[Errno: expected numeric value
./scripts/gcc-version.sh: 30: printf: 8]: not completely converted
./scripts/gcc-version.sh: 30: printf: Exec: expected numeric value
./scripts/gcc-version.sh: 30: printf: format: expected numeric value
./scripts/gcc-version.sh: 30: printf: error: expected numeric value
./scripts/gcc-version.sh: 30: printf: ./../prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: expected numeric value
./scripts/gcc-version.sh: 30: printf: -E: expected numeric value
./scripts/gcc-version.sh: 30: printf: -x: expected numeric value
./scripts/gcc-version.sh: 30: printf: c: expected numeric value
./scripts/gcc-version.sh: 30: printf: -[Errno: expected numeric value
./scripts/gcc-version.sh: 30: printf: 8]: not completely converted
./scripts/gcc-version.sh: 30: printf: Exec: expected numeric value
./scripts/gcc-version.sh: 30: printf: format: expected numeric value
./scripts/gcc-version.sh: 30: printf: error: expected numeric value
./scripts/gcc-version.sh: 30: printf: ./../prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: expected numeric value
./scripts/gcc-version.sh: 30: printf: -E: expected numeric value
./scripts/gcc-version.sh: 30: printf: -x: expected numeric value
./scripts/gcc-version.sh: 30: printf: c: expected numeric value
./scripts/gcc-version.sh: 30: printf: -[Errno: expected numeric value
./scripts/gcc-version.sh: 30: printf: 8]: not completely converted
./scripts/gcc-version.sh: 30: printf: Exec: expected numeric value
./scripts/gcc-version.sh: 30: printf: format: expected numeric value
./scripts/gcc-version.sh: 30: printf: error: expected numeric value
./scripts/gcc-version.sh: 30: printf: ./../prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: expected numeric value
./scripts/gcc-version.sh: 30: printf: -E: expected numeric value
./scripts/gcc-version.sh: 30: printf: -x: expected numeric value
./scripts/gcc-version.sh: 30: printf: c: expected numeric value
./scripts/gcc-version.sh: 30: printf: -[Errno: expected numeric value
./scripts/gcc-version.sh: 30: printf: 8]: not completely converted
./scripts/gcc-version.sh: 30: printf: Exec: expected numeric value
./scripts/gcc-version.sh: 30: printf: format: expected numeric value
./scripts/gcc-version.sh: 30: printf: error: expected numeric value
./scripts/gcc-version.sh: 30: printf: ./../prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: expected numeric value
./scripts/gcc-version.sh: 30: printf: -E: expected numeric value
./scripts/gcc-version.sh: 30: printf: -x: expected numeric value
./scripts/gcc-version.sh: 30: printf: c: expected numeric value
./scripts/gcc-version.sh: 30: printf: -[Errno: expected numeric value
./scripts/gcc-version.sh: 30: printf: 8]: not completely converted
./scripts/gcc-version.sh: 30: printf: Exec: expected numeric value
./scripts/gcc-version.sh: 30: printf: format: expected numeric value
./scripts/gcc-version.sh: 30: printf: error: expected numeric value
init/Kconfig:16:warning: 'GCC_VERSION': number is invalid
#
# configuration written to .config
#
Using .config as base
Merging ./arch/arm/configs/rv1126-facial-gate.config
Value of CONFIG_HID_GENERIC is redefined by fragment ./arch/arm/configs/rv1126-facial-gate.config:
Previous value: # CONFIG_HID_GENERIC is not set
New value: CONFIG_HID_GENERIC=y
Value of CONFIG_LEDS_PWM is redefined by fragment ./arch/arm/configs/rv1126-facial-gate.config:
Previous value: # CONFIG_LEDS_PWM is not set
New value: CONFIG_LEDS_PWM=y
Value of CONFIG_USB_HIDDEV is redefined by fragment ./arch/arm/configs/rv1126-facial-gate.config:
Previous value: # CONFIG_USB_HIDDEV is not set
New value: CONFIG_USB_HIDDEV=y
Value of CONFIG_VIDEO_GC4C33 is redefined by fragment ./arch/arm/configs/rv1126-facial-gate.config:
Previous value: CONFIG_VIDEO_GC4C33=y
New value: # CONFIG_VIDEO_GC4C33 is not set
Value of CONFIG_VIDEO_OS04A10 is redefined by fragment ./arch/arm/configs/rv1126-facial-gate.config:
Previous value: CONFIG_VIDEO_OS04A10=y
New value: # CONFIG_VIDEO_OS04A10 is not set
Value of CONFIG_VIDEO_SC4238 is redefined by fragment ./arch/arm/configs/rv1126-facial-gate.config:
Previous value: # CONFIG_VIDEO_SC4238 is not set
New value: CONFIG_VIDEO_SC4238=y
Value of CONFIG_TOUCHSCREEN_GT9XX is redefined by fragment ./arch/arm/configs/rv1126-facial-gate.config:
Previous value: # CONFIG_TOUCHSCREEN_GT9XX is not set
New value: CONFIG_TOUCHSCREEN_GT9XX=y
#
# merged configuration written to .config (needs make)
#
scripts/kconfig/conf --oldconfig Kconfig
./scripts/gcc-version.sh: 30: printf: ./../prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: expected numeric value
./scripts/gcc-version.sh: 30: printf: -E: expected numeric value
./scripts/gcc-version.sh: 30: printf: -x: expected numeric value
./scripts/gcc-version.sh: 30: printf: c: expected numeric value
./scripts/gcc-version.sh: 30: printf: -[Errno: expected numeric value
./scripts/gcc-version.sh: 30: printf: 8]: not completely converted
./scripts/gcc-version.sh: 30: printf: Exec: expected numeric value
./scripts/gcc-version.sh: 30: printf: format: expected numeric value
./scripts/gcc-version.sh: 30: printf: error: expected numeric value
./scripts/gcc-version.sh: 30: printf: ./../prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: expected numeric value
./scripts/gcc-version.sh: 30: printf: -E: expected numeric value
./scripts/gcc-version.sh: 30: printf: -x: expected numeric value
./scripts/gcc-version.sh: 30: printf: c: expected numeric value
./scripts/gcc-version.sh: 30: printf: -[Errno: expected numeric value
./scripts/gcc-version.sh: 30: printf: 8]: not completely converted
./scripts/gcc-version.sh: 30: printf: Exec: expected numeric value
./scripts/gcc-version.sh: 30: printf: format: expected numeric value
./scripts/gcc-version.sh: 30: printf: error: expected numeric value
./scripts/gcc-version.sh: 30: printf: ./../prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: expected numeric value
./scripts/gcc-version.sh: 30: printf: -E: expected numeric value
./scripts/gcc-version.sh: 30: printf: -x: expected numeric value
./scripts/gcc-version.sh: 30: printf: c: expected numeric value
./scripts/gcc-version.sh: 30: printf: -[Errno: expected numeric value
./scripts/gcc-version.sh: 30: printf: 8]: not completely converted
./scripts/gcc-version.sh: 30: printf: Exec: expected numeric value
./scripts/gcc-version.sh: 30: printf: format: expected numeric value
./scripts/gcc-version.sh: 30: printf: error: expected numeric value
./scripts/gcc-version.sh: 30: printf: ./../prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: expected numeric value
./scripts/gcc-version.sh: 30: printf: -E: expected numeric value
./scripts/gcc-version.sh: 30: printf: -x: expected numeric value
./scripts/gcc-version.sh: 30: printf: c: expected numeric value
./scripts/gcc-version.sh: 30: printf: -[Errno: expected numeric value
./scripts/gcc-version.sh: 30: printf: 8]: not completely converted
./scripts/gcc-version.sh: 30: printf: Exec: expected numeric value
./scripts/gcc-version.sh: 30: printf: format: expected numeric value
./scripts/gcc-version.sh: 30: printf: error: expected numeric value
./scripts/gcc-version.sh: 30: printf: ./../prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: expected numeric value
./scripts/gcc-version.sh: 30: printf: -E: expected numeric value
./scripts/gcc-version.sh: 30: printf: -x: expected numeric value
./scripts/gcc-version.sh: 30: printf: c: expected numeric value
./scripts/gcc-version.sh: 30: printf: -[Errno: expected numeric value
./scripts/gcc-version.sh: 30: printf: 8]: not completely converted
./scripts/gcc-version.sh: 30: printf: Exec: expected numeric value
./scripts/gcc-version.sh: 30: printf: format: expected numeric value
./scripts/gcc-version.sh: 30: printf: error: expected numeric value
./scripts/gcc-version.sh: 30: printf: ./../prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: expected numeric value
./scripts/gcc-version.sh: 30: printf: -E: expected numeric value
./scripts/gcc-version.sh: 30: printf: -x: expected numeric value
./scripts/gcc-version.sh: 30: printf: c: expected numeric value
./scripts/gcc-version.sh: 30: printf: -[Errno: expected numeric value
./scripts/gcc-version.sh: 30: printf: 8]: not completely converted
./scripts/gcc-version.sh: 30: printf: Exec: expected numeric value
./scripts/gcc-version.sh: 30: printf: format: expected numeric value
./scripts/gcc-version.sh: 30: printf: error: expected numeric value
init/Kconfig:16:warning: 'GCC_VERSION': number is invalid
.config:10:warning: symbol value ' 8 8 8' invalid for GCC_VERSION
#
# configuration written to .config
#
./scripts/gcc-version.sh: line 32: printf: ./../prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: invalid number
./scripts/gcc-version.sh: line 32: printf: -E: invalid number
./scripts/gcc-version.sh: line 32: printf: -x: invalid number
./scripts/gcc-version.sh: line 32: printf: c: invalid number
./scripts/gcc-version.sh: line 32: printf: -[Errno: invalid number
./scripts/gcc-version.sh: line 32: printf: 8]: invalid number
./scripts/gcc-version.sh: line 32: printf: Exec: invalid number
./scripts/gcc-version.sh: line 32: printf: format: invalid number
./scripts/gcc-version.sh: line 32: printf: error: invalid number
./scripts/gcc-version.sh: line 32: printf: ./../prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: invalid number
./scripts/gcc-version.sh: line 32: printf: -E: invalid number
./scripts/gcc-version.sh: line 32: printf: -x: invalid number
./scripts/gcc-version.sh: line 32: printf: c: invalid number
./scripts/gcc-version.sh: line 32: printf: -[Errno: invalid number
./scripts/gcc-version.sh: line 32: printf: 8]: invalid number
./scripts/gcc-version.sh: line 32: printf: Exec: invalid number
./scripts/gcc-version.sh: line 32: printf: format: invalid number
./scripts/gcc-version.sh: line 32: printf: error: invalid number
/bin/sh: 1: [: 0000: unexpected operator
scripts/kconfig/conf --syncconfig Kconfig
./scripts/gcc-version.sh: 30: printf: ./../prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: expected numeric value
./scripts/gcc-version.sh: 30: printf: -E: expected numeric value
./scripts/gcc-version.sh: 30: printf: -x: expected numeric value
./scripts/gcc-version.sh: 30: printf: c: expected numeric value
./scripts/gcc-version.sh: 30: printf: -[Errno: expected numeric value
./scripts/gcc-version.sh: 30: printf: 8]: not completely converted
./scripts/gcc-version.sh: 30: printf: Exec: expected numeric value
./scripts/gcc-version.sh: 30: printf: format: expected numeric value
./scripts/gcc-version.sh: 30: printf: error: expected numeric value
./scripts/gcc-version.sh: 30: printf: ./../prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: expected numeric value
./scripts/gcc-version.sh: 30: printf: -E: expected numeric value
./scripts/gcc-version.sh: 30: printf: -x: expected numeric value
./scripts/gcc-version.sh: 30: printf: c: expected numeric value
./scripts/gcc-version.sh: 30: printf: -[Errno: expected numeric value
./scripts/gcc-version.sh: 30: printf: 8]: not completely converted
./scripts/gcc-version.sh: 30: printf: Exec: expected numeric value
./scripts/gcc-version.sh: 30: printf: format: expected numeric value
./scripts/gcc-version.sh: 30: printf: error: expected numeric value
./scripts/gcc-version.sh: 30: printf: ./../prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: expected numeric value
./scripts/gcc-version.sh: 30: printf: -E: expected numeric value
./scripts/gcc-version.sh: 30: printf: -x: expected numeric value
./scripts/gcc-version.sh: 30: printf: c: expected numeric value
./scripts/gcc-version.sh: 30: printf: -[Errno: expected numeric value
./scripts/gcc-version.sh: 30: printf: 8]: not completely converted
./scripts/gcc-version.sh: 30: printf: Exec: expected numeric value
./scripts/gcc-version.sh: 30: printf: format: expected numeric value
./scripts/gcc-version.sh: 30: printf: error: expected numeric value
./scripts/gcc-version.sh: 30: printf: ./../prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: expected numeric value
./scripts/gcc-version.sh: 30: printf: -E: expected numeric value
./scripts/gcc-version.sh: 30: printf: -x: expected numeric value
./scripts/gcc-version.sh: 30: printf: c: expected numeric value
./scripts/gcc-version.sh: 30: printf: -[Errno: expected numeric value
./scripts/gcc-version.sh: 30: printf: 8]: not completely converted
./scripts/gcc-version.sh: 30: printf: Exec: expected numeric value
./scripts/gcc-version.sh: 30: printf: format: expected numeric value
./scripts/gcc-version.sh: 30: printf: error: expected numeric value
./scripts/gcc-version.sh: 30: printf: ./../prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: expected numeric value
./scripts/gcc-version.sh: 30: printf: -E: expected numeric value
./scripts/gcc-version.sh: 30: printf: -x: expected numeric value
./scripts/gcc-version.sh: 30: printf: c: expected numeric value
./scripts/gcc-version.sh: 30: printf: -[Errno: expected numeric value
./scripts/gcc-version.sh: 30: printf: 8]: not completely converted
./scripts/gcc-version.sh: 30: printf: Exec: expected numeric value
./scripts/gcc-version.sh: 30: printf: format: expected numeric value
./scripts/gcc-version.sh: 30: printf: error: expected numeric value
./scripts/gcc-version.sh: 30: printf: ./../prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: expected numeric value
./scripts/gcc-version.sh: 30: printf: -E: expected numeric value
./scripts/gcc-version.sh: 30: printf: -x: expected numeric value
./scripts/gcc-version.sh: 30: printf: c: expected numeric value
./scripts/gcc-version.sh: 30: printf: -[Errno: expected numeric value
./scripts/gcc-version.sh: 30: printf: 8]: not completely converted
./scripts/gcc-version.sh: 30: printf: Exec: expected numeric value
./scripts/gcc-version.sh: 30: printf: format: expected numeric value
./scripts/gcc-version.sh: 30: printf: error: expected numeric value
init/Kconfig:16:warning: 'GCC_VERSION': number is invalid
.config:10:warning: symbol value ' 8 8 8' invalid for GCC_VERSION
./scripts/gcc-version.sh: line 32: printf: ./../prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: invalid number
./scripts/gcc-version.sh: line 32: printf: -E: invalid number
./scripts/gcc-version.sh: line 32: printf: -x: invalid number
./scripts/gcc-version.sh: line 32: printf: c: invalid number
./scripts/gcc-version.sh: line 32: printf: -[Errno: invalid number
./scripts/gcc-version.sh: line 32: printf: 8]: invalid number
./scripts/gcc-version.sh: line 32: printf: Exec: invalid number
./scripts/gcc-version.sh: line 32: printf: format: invalid number
./scripts/gcc-version.sh: line 32: printf: error: invalid number
./scripts/gcc-version.sh: line 32: printf: ./../prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: invalid number
./scripts/gcc-version.sh: line 32: printf: -E: invalid number
./scripts/gcc-version.sh: line 32: printf: -x: invalid number
./scripts/gcc-version.sh: line 32: printf: c: invalid number
./scripts/gcc-version.sh: line 32: printf: -[Errno: invalid number
./scripts/gcc-version.sh: line 32: printf: 8]: invalid number
./scripts/gcc-version.sh: line 32: printf: Exec: invalid number
./scripts/gcc-version.sh: line 32: printf: format: invalid number
./scripts/gcc-version.sh: line 32: printf: error: invalid number
/bin/sh: 1: [: 0000: unexpected operator
include/config/auto.conf: 行 829: 8: 未找到命令
CC scripts/mod/empty.o
CC scripts/mod/devicetable-offsets.s
./../prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -Wp,-MD,scripts/mod/.empty.o.d -nostdinc -isystem ./../prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -print-file-name=include[Errno 8] Exec format error -I./arch/arm/include -I./arch/arm/include/generated -I./include -I./arch/arm/include/uapi -I./arch/arm/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -mlittle-endian -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -mabi=aapcs-linux -mfpu=vfp -funwind-tables -Wa,-W -D__LINUX_ARM_ARCH__=7 -march=armv5t -Wa,-march=armv7-a -msoft-float -Uarm -O2 -fomit-frame-pointer -g -DKBUILD_BASENAME="empty" -DKBUILD_MODNAME="empty" -c -o scripts/mod/empty.o scripts/mod/empty.c[Errno 8] Exec format error
scripts/Makefile.build:333: recipe for target 'scripts/mod/empty.o' failed
make[2]: *** [scripts/mod/empty.o] Error 8
make[2]: *** 正在等待未完成的任务....
./../prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -Wp,-MD,scripts/mod/.devicetable-offsets.s.d -nostdinc -isystem ./../prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -print-file-name=include[Errno 8] Exec format error -I./arch/arm/include -I./arch/arm/include/generated -I./include -I./arch/arm/include/uapi -I./arch/arm/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -mlittle-endian -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -mabi=aapcs-linux -mfpu=vfp -funwind-tables -Wa,-W -D__LINUX_ARM_ARCH__=7 -march=armv5t -Wa,-march=armv7-a -msoft-float -Uarm -O2 -fomit-frame-pointer -g -DKBUILD_BASENAME="devicetable_offsets" -DKBUILD_MODNAME="devicetable_offsets" -fverbose-asm -S -o scripts/mod/devicetable-offsets.s scripts/mod/devicetable-offsets.c[Errno 8] Exec format error
scripts/Makefile.build:131: recipe for target 'scripts/mod/devicetable-offsets.s' failed
make[2]: *** [scripts/mod/devicetable-offsets.s] Error 8
scripts/Makefile.build:637: recipe for target 'scripts/mod' failed
make[1]: *** [scripts/mod] Error 2
Makefile:1187: recipe for target 'scripts' failed
make: *** [scripts] Error 2
ERROR: Running build_kernel failed!
ERROR: exit code 2 from line 400:
make ARCH=$RK_ARCH $RK_KERNEL_DTS.img -j$RK_JOBS
|
|