RISC-V MCU中文社区

【求助】 求助,将hbird-e-sdk项目下载到linux中,使用riscv-gcc工具链编译error

发表于 开源蜂鸟E203 2021-08-24 09:53:42
1
1702
0

/home/china/gnu-mcu-eclipse/riscv-none-gcc/7.2.0-4-20180606-1631/bin/../lib/gcc/riscv-none-embed/7.2.0/../../../../riscv-none-embed/bin/ld: /home/china/gnu-mcu-eclipse/riscv-none-gcc/7.2.0-4-20180606-1631/bin/../lib/gcc/riscv-none-embed/7.2.0/liblto_plugin.so: error loading plugin: /home/china/gnu-mcu-eclipse/riscv-none-gcc/7.2.0-4-20180606-1631/bin/../lib/gcc/riscv-none-embed/7.2.0/liblto_plugin.so: 文件过短 

collect2: error: ld returned 1 exit status 

/home/china/hbird-e-sdk/bsp/hbird-e200/env/common.mk:89: recipe for target 'hello_world' failed 

make[1]: *** [hello_world] Error 1 

make[1]: 离开目录“/home/china/hbird-e-sdk/software/hello_world” 

Makefile:274: recipe for target 'software' failed 

make: *** [software] Error 2 

想请问下,这个问题该如何解决。


喜欢0
用户评论 (1)

未通过实名认证

懒的都不写签名

积分
问答
粉丝
关注
  • RV-STAR 开发板
  • RISC-V处理器设计系列课程
  • 培养RISC-V大学土壤 共建RISC-V教育生态
RV-STAR 开发板