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.

linker error on 2806x code_start, _c_int00, BEGIN, etc



I've taken a working 2806x application, and stripped it down reduce memory usage....mostly by just commenting out big ram buffers , and large functions that I don't need for the new smaller project, which has to fit in a single sector and secure RAM, but both app need the same init hardware functions.

But I'm now getting this error for the subset of code...(the superset still complies fine)

TMS320C2000 C/C++ Compiler v6.4.4

Tools Copyright (c) 1996-2015 Texas Instruments Incorporated
<Linking>

undefined first referenced
symbol in file
--------- ----------------
_c_int00 ./F2806x_CodeStartBranch.obj

error #10234-D: unresolved symbols remain
warning #10063-D: entry-point symbol other than "_c_int00" specified:
"code_start"

All the references to code_start are identical.  In fact, F2806x_CodeStartBranch.asm are exactly identical files.

So how do I tell linker where to find _c_int00?

Thanks,
Don

  • Don,

    _c_int00 is the C environment setup routine in the TI RTS library.  Do you have one of the RTS libraries specified in the project properties, linker options, or did you by chance remove it?  In any event, the linker error is because the RTS library does not seem to be included in your project.

    Regards,

    David