|
发表于 2021-6-25 16:50:29
浏览:6980
|
回复:0
打印
只看该作者
[复制链接]
楼主
按照https://wiki.t-firefly.com/Core-3568J/linux_compile_gpt.html的方式进行更新sdk,并进行编译,报错,提示信息如下:
./build.sh firefly-rk3568-aioj_ubuntu.mk
processing option: firefly-rk3568-aioj_ubuntu.mk
switching to board: /media/sda/sdk/proj/rk356x_linux_release_20210511/device/rockchip/rk356x/firefly-rk3568-aioj_ubuntu.mk
root@firefly:/media/sda/sdk/proj/rk356x_linux_release_20210511# ./build.sh kernel
processing option: kernel
============Start building kernel============
TARGET_ARCH =arm64
TARGET_KERNEL_CONFIG =firefly_linux_defconfig
TARGET_KERNEL_DTS =rk3568-firefly-aioj
TARGET_KERNEL_CONFIG_FRAGMENT =
==========================================
/media/sda/sdk/proj/rk356x_linux_release_20210511
./scripts/gcc-version.sh: 30: printf: ./../prebuilts/gcc/linux-x86/aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-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/aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-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/aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-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/aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-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/aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-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/aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-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
#
arch/arm64/Makefile:27: ld does not support --fix-cortex-a53-843419; kernel may be susceptible to erratum
arch/arm64/Makefile:40: LSE atomics not supported by binutils
arch/arm64/Makefile:48: Detected assembler with broken .inst; disassembly will be unreliable
scripts/kconfig/conf --syncconfig Kconfig
./scripts/gcc-version.sh: 30: printf: ./../prebuilts/gcc/linux-x86/aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-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/aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-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/aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-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/aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-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/aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-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/aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-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
|
|