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语句编译便通过