This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
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 incompatible type: "const struct Can_ControllerStruct_PC ControllerId off: 0 (uint8) CntrActive off: 8 (boolean) CntrAddr off: 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_PC ControllerId off: 0 (uint8) CntrActive off: 8 (boolean) CntrAddr off: 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/mca l/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 with incompatible type: "const struct Can_MailboxStruct_PC CanObjectId off: 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_PC CanObjectId off: 0 (uint16)*[9]" in "/home/sforce/ti-processor-sdk-rtos-j721e-evm-08_00_00_12/mcusw/mcal_drv/mca l/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?