E003-编译问题(01)relocation truncated to fit: R_BA_10_PCREL against undefined symbol `embl_strea..`

linux gcc编译报错

1)build/mpu/sample_evb/mpu_gen/share.o: In function `vstream_free_frame':
(.text.vstream_free_frame+0x4d): relocation truncated to fit: R_BA_10_PCREL against undefined symbol `embl_stream_free_frame'

就是函数没定义。

2)/opt/ba-elf-new/bin/ba-elf-ld: warning: cannot find entry symbol _main; defaulting to 000000004df00000
'build/mpu/ces_demo_nonstack/sample_dptest/share.o: In function `mipirx25_err_check.isra.1':
(.text.mipirx25_err_check.isra.1+0x40): relocation truncated to fit: R_BA_16_PCREL against symbol `dpseg_dpchain_reset' defined in .text.dpseg_dpchain_reset section in 'build/mpu/ces_demo_nonstack/sample_dptest/share.o
'make/common/Makefile.all:129: recipe for target 'build/mpu/ces_demo_nonstack/sample_dptest.ba2' failed

随便在此函数或者调用此函数的API加任意一句log语句编译便通过

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值