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.

[link error]undefined symbol when using Ti compiler C6000CGT6.0.26 under linux



There was strange link problem in my project when using Ti compiler C6000CGT6.0.26 under linux.

Such as

 I defined "void TFOReset(UINT16 uwTimeslot)" in A.c and referenced(extern void TFOReset(UINT16 uwTimeslot)) in B.c

after my successful compiling ,there was a link err


undefined                        first referenced
 symbol                              in file
---------                        ----------------
_TFOReset                        ./Debug/obj/A.obj

 

I used nm6x to export the symbol name of A.obj

 00000104 T _TFOReset__FUs

the strange suffix "__FUs" was appended to the function name, and that's reason why A.obj couldn't find the correct funtion address.

 

Could anyone help me to solve the problem? Thanks