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.

Code Composer error dealing with unresolved symbols.

I am currently converting a ssl connection from IAR to Code composer. I have almost got all the erros our except a few. I am currently getting this error

''unresolved symbol Uart0TxChar, first referenced in ./apps/ssl_client1.obj""

I have tried making new header files, putting them in libraries, I am out of ideas. Any help would be great

  • So it looks as though you have a source file called apps/ssl_client1.c which references a variable called Uart0TxChar.  So where is Uart0TxChar defined?  My guess is that variable belongs to a library which you forgot to include.

  • I am having a very similiar problem.  I created 2 structs in a new header file called MaxMinValueStruct, and FaultCountStruct.  When I reference these structs in the source code, I reference them as

    FaultCount.OverCurr += 1;  MaxMinValue is defined a similiar way.

    When I compile I recieve and error...

     

    undefined first referenced

    symbol in file

    --------- ----------------

    _FaultCount ./Src/Fault_Log.obj

    _MaxMinValue ./Src/Fault_Log.obj

     

    error: unresolved symbols remain

    error: errors encountered during

     

    The source file is Fault_Log.c and the header file is Fault_Log.h.  Do you have any ideas?

  • Can you attach your project?  Sounds like a C syntax error in your code.  It's hard to guess without seeing your actual code.  Mainly I just want to see where/how you defined the structure, how you created an instance of the structure, and how you referenced the instance...