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.

Please Help : error: symbol referencing errors - './Debug/msm.out' not built

Hi

when i build my project i have this error.Kindly help me how i can resolve this issue.

undefined                              first referenced
symbol                                        in file
---------                                        ----------------
_sm16_setup                    C:\Program Files\-----------\examples\DSPTest\dsk6713\DebugTestBench\Users\msm\Debug\main.obj

>> error: symbol referencing errors - './Debug/msm.out' not built

>> Compilation failure

Build Complete,
2 Errors, 0 Warnings, 0 Remarks.

  • Muhammad,

    This error message says that in one of your files, there is a symbol being referenced but the linker cannot find that symbol.

    The file main.obj probably was compiled from main.c, and in main.c you referenced a symbol sm16_setup. But the linker cannot find that symbol. You must find where that symbol is created and include that file or library in your project.

    Please go to the TI Wiki Pages and search for "c6713 workshop" (no quotes) to find a training class archive that has student notes and labs that you can download and look through. The class may have c6x1x in the title, if I recall correctly. I recommend that you work all the parts of this workshop so you can learn all the things about how to use the C6713 device and how to use Code Composer and the compiler tools. The class will use CCS 3.x so the labs are not exactly relevant (unless that is what you are using) but the concepts will still be very helpful to you.

    Regards,
    RandyP

  • Hi Randy,

    In my code there is used sm16_setup. this initialize the sm16100 ADC module. and i have added the header file in my code sm16100.h where sm16_setup is initilized and other things relatd to board.

    Still i am having the same error. Is there any other way that i overcome this issue ?

    BR,

    Muhammad

  • Muhammad,

    Please go to the TI Wiki Pages and find the TMS320C6x1x DSP Integration Workshop, which is a training class archive that has student notes and labs that you can download and look through. I recommend that you work all the parts of this workshop so you can learn all the things about how to use the C6713 device and how to use Code Composer and the compiler tools.

    There is a difference between what the compiler needs for its operations (header files and source files) and what the linker needs for its operations (object files and libraries). These tools are described in much better detail in the Compiler User's Guide and Assembly Language Tools User Guide, respectively. And their basic operations are described in the student guide of the workshop referenced above.

    Regards,
    RandyP

  • Hi Randy,

    I am following the link since from your 1st reply to this post.and sorry to tell you before that actually i am working on a remote laboratory where i can not have access to ccs directly.  User have to use web based environment. i am attaching a pictorial view for you.

    I think i need to talk to administrator for linking the file in CCS.

    BR,

    Moazzam