求助,将hbird-e-sdk项目下载到linux中,使用riscv-gcc工具链编译error
/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

想请问下,这个问题该如何解决。
💡 请 登录 后参与讨论(微信扫码即登录/注册)
帖子信息
版块开源蜂鸟E203
回复1
浏览4813
发布2021-08-24 09:53