TI中文支持网
TI专业的中文技术问题搜集分享网站

TDA4VM-Q1: TDA4 mcal can example linking error

Part Number:TDA4VM-Q1

Hi experts:

           I compile can demo by command "make -s can_app BOARD=j721e_evm SOC=j721e BUILD_PROFILE=release CORE=mcu1_0",  and got error report . like below

<Linking>
error: symbol "CanConfigSet_CanController_List_PC" redeclared with incompatibletype:"const struct Can_ControllerStruct_PCControllerIdoff:  0  (uint8)CntrActiveoff:  8  (boolean)CntrAddroff: 32  (uint32)RxProcessingTypeoff: 64  (Can_TxRxProcessingType)TxProcessingTypeoff: 72  (Can_TxRxProcessingType)BusOffProcessingInterruptoff: 80  (boolean)CanControllerInstoff: 88  (Can_ControllerInstance)CanFDModeEnabledoff: 96  (boolean)*[2]"in"/home/sforce/ti-processor-sdk-rtos-j721e-evm-08_00_00_12/mcusw/mcuss_demos/mcal_config/Can_Demo_Cfg/output/generated/soc/j721e/mcu1_0/include/Can_Cfg.h" at line 261 and:"const struct Can_ControllerStruct_PCControllerIdoff:  0  (uint8)CntrActiveoff:  8  (boolean)CntrAddroff: 32  (uint32)RxProcessingTypeoff: 64  (Can_TxRxProcessingType)TxProcessingTypeoff: 72  (Can_TxRxProcessingType)BusOffProcessingInterruptoff: 80  (boolean)CanControllerInstoff: 88  (Can_ControllerInstance)CanFDModeEnabledoff: 96  (boolean)*[3]"in"/home/sforce/ti-processor-sdk-rtos-j721e-evm-08_00_00_12/mcusw/mcal_drv/mcal/examples_config/Can_Demo_Cfg/output/generated/soc/j721e/mcu1_0/src/Can_Cfg.c" at line 253)
error: symbol "CanConfigSet_CanHardwareObject_List_PC" redeclared withincompatible type:"const struct Can_MailboxStruct_PCCanObjectIdoff:  0  (uint16)*[7]"in"/home/sforce/ti-processor-sdk-rtos-j721e-evm-08_00_00_12/mcusw/mcuss_demos/mcal_config/Can_Demo_Cfg/output/generated/soc/j721e/mcu1_0/include/Can_Cfg.h" at line 265 and:"const struct Can_MailboxStruct_PCCanObjectIdoff:  0  (uint16)*[9]"in"/home/sforce/ti-processor-sdk-rtos-j721e-evm-08_00_00_12/mcusw/mcal_drv/mcal/examples_config/Can_Demo_Cfg/output/generated/soc/j721e/mcu1_0/src/Can_Cfg.c" at line 512)

>> Compilation failure

>> Compilation failure
fatal error: Failed linktime optimization

       source code : ti-processor-sdk-rtos-j721e-evm-08_00_00_12

         How to solve these problems?

Nancy Wang:

请到英文论坛发帖咨询,会有相关专家给您提供支持。

e2e.ti.com/…/processors-forum

赞(0)
未经允许不得转载:TI中文支持网 » TDA4VM-Q1: TDA4 mcal can example linking error
分享到: 更多 (0)