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.

Compiler/TMS320C6678: Linker error in CCS build - "undefined symbol - in file first referenced "

Part Number: TMS320C6678

Tool/software: TI C/C++ Compiler

Hi all,

I'm having this error while linking :
"

undefined first referenced
symbol in file
--------- ----------------
I2C_socGetInitCfg ./I2CDriver.obj
I2C_socSetInitCfg ./I2CDriver.obj

error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "LDV.out" not built

"

I understand that the reason for the linker error is due to the fact the my main is a cpp file, and the implementation of these functions is in a c file (these specific functions are in I2C_soc.c) inside a class that I created.

How can i overcome this issue?  

Best,
Ronen