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/TMS320F2808: CCS v6.2.0 linking error #10234-D: unresolved symbols remain

Part Number: TMS320F2808

Tool/software: Code Composer Studio

Hello all,

I have been struggling with strange problem. I wrote a software for TMS320F2808 in CCS v6.2.0.00048 several months ago. I was able to compile the source code without any problems.

Now I needed to do some changes in the software. As soon as I have implemented them I have tried to recompile the source code and I have received below given error messages:

undefined first referenced
symbol in file 
--------- ----------------
_ausschalten_FZGEN ./XYZ.obj
_ausschalten_MW       ./XYZ.obj
_fzgen_berechnen       ./XYZ.obj
_pruefe_ein_aus          ./XYZ.obj
_set_max_power         ./XYZ.obj
_status_led                  ./XYZ.obj

error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "XYZ.out" not built
gmake: *** [XYZ.out] Error 1
gmake: Target 'all' not remade because of errors

I haven't done any changes in the CCS settings since I released the software several months ago. I have noticed that as soon as I ignore the error messages and recompile the source code I receive .out file but the .out file has different content for each compiler call. Does anybody know what could be wrong? Thanks in advance for any ideas.

  • The explanation for this error is provided here.  Most likely the changes you made to the code added calls to some functions for which the definition cannot be found by the linker. Make sure that you add the source file or library that contains the definitions for the symbols noted in the message.

  • Hello AartiG,

    thank you very much for your reaction. The problem is that the changes I have done 

    were only changing some unsigned long literals:

    a) before change

    MWREGS.PARAMS.offset = (25 * X1);
    MWREGS.PARAMS.linear = (6 * X1);

    b) after change

    MWREGS.PARAMS.offset = 0;
    MWREGS.PARAMS.linear = 301466;

    I have also tried to compile the source code without the changes and the result was the same.

  • If that was the only change made to the project, then it is very strange that it would suddenly start generating the "undefined symbol" errors.

    Would you be able to share your project with us so we see if the issue can be reproduced at our end? If you do not wish to post the project here you can share it via private conversation.
  • I see that you are working the same issue in this other thread. To avoid duplicate efforts, I am going to close out this thread. Please continue to follow-up in the other thread.