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.

CCS 编译未定义但是声明的函数,函数未使用,link过程中会报错



IsPLLValid这个函数有声明,但是未在工程中使用。在编译链接阶段会报错:

Description Resource Path Location Type
unresolved symbol _IsPLLValid, first referenced in ./c2838xBoard_Realtime_Support.obj c2838xd_ipc_cpu2 C/C++ Problem

IsPLLValid该函数用预定义控制,已经灰掉,但有声明。如下图所示。