哟呵

哟呵

0个粉丝

1

问答

0

专栏

0

资料

哟呵  发布于  2021-10-25 15:18:53
采纳率 0%
1个问答
3627

rv1126_rv1109_linux_SDK编译报错,如何解决?

按照官方文档安装了依赖,但是编译报错,找不到问题在哪儿。
编译报错信息如下:

rxvsdk@ubuntu:~/rxv_sdk/rv1126_rv1109_linux_sdk_v1.2.0_20200807$ ./build.sh uboot
processing board option: uboot
processing option: uboot
============Start building uboot============

TARGET_UBOOT_CONFIG=rv1126

make rv1126_defconfig -j2

HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
#

configuration written to .config

#
/home/rxvsdk/rxv_sdk/rv1126_rv1109_linux_sdk_v1.2.0_20200807/prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: 1: /home/rxvsdk/rxv_sdk/rv1126_rv1109_linux_sdk_v1.2.0_20200807/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/rxvsdk/rxv_sdk/rv1126_rv1109_linux_sdk_v1.2.0_20200807/prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: 1: /home/rxvsdk/rxv_sdk/rv1126_rv1109_linux_sdk_v1.2.0_20200807/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/rxvsdk/rxv_sdk/rv1126_rv1109_linux_sdk_v1.2.0_20200807/prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: 1: /home/rxvsdk/rxv_sdk/rv1126_rv1109_linux_sdk_v1.2.0_20200807/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/rxvsdk/rxv_sdk/rv1126_rv1109_linux_sdk_v1.2.0_20200807/prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: 1: /home/rxvsdk/rxv_sdk/rv1126_rv1109_linux_sdk_v1.2.0_20200807/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: line 18: /home/rxvsdk/rxv_sdk/rv1126_rv1109_linux_sdk_v1.2.0_20200807/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: Exec format error
CHK include/config.h
GEN include/autoconf.mk.dep
CFG u-boot.cfg
/home/rxvsdk/rxv_sdk/rv1126_rv1109_linux_sdk_v1.2.0_20200807/prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: 1: /home/rxvsdk/rxv_sdk/rv1126_rv1109_linux_sdk_v1.2.0_20200807/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/rxvsdk/rxv_sdk/rv1126_rv1109_linux_sdk_v1.2.0_20200807/prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: 1: /home/rxvsdk/rxv_sdk/rv1126_rv1109_linux_sdk_v1.2.0_20200807/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
make[1]:
Waiting for unfinished jobs….
/home/rxvsdk/rxv_sdk/rv1126_rv1109_linux_sdk_v1.2.0_20200807/prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: 1: /home/rxvsdk/rxv_sdk/rv1126_rv1109_linux_sdk_v1.2.0_20200807/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/rxvsdk/rxv_sdk/rv1126_rv1109_linux_sdk_v1.2.0_20200807/prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: 1: /home/rxvsdk/rxv_sdk/rv1126_rv1109_linux_sdk_v1.2.0_20200807/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:
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 237:
./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}

我来回答
回答2个
时间排序
认可量排序

哟呵

0个粉丝

1

问答

0

专栏

0

资料

哟呵 2021-10-26 16:13:29
认可0

有人能帮忙解答解答吗?卡在这里好久了

Consti10

0个粉丝

1

问答

0

专栏

0

资料

Consti10 2021-11-02 08:34:14
认可0

Why are you using sdk v1.2.0 ? I’d go for at least v1.8.0

或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
+ 添加网盘链接/附件

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
举报反馈

举报类型

  • 内容涉黄/赌/毒
  • 内容侵权/抄袭
  • 政治相关
  • 涉嫌广告
  • 侮辱谩骂
  • 其他

详细说明

易百纳技术社区