Firefly开源社区

打印 上一主题 下一主题

[Linux] 编译sdk报错

31

积分

0

威望

0

贡献

技术小白

积分
31

编译sdk报错

发表于 2021-6-25 16:50:29      浏览:7016 | 回复: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
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表