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.

[C6713] CCS 3.1V error: symbol referencing errors

Other Parts Discussed in Thread: CCSTUDIO

I want to realize the AD&DA using the "TMS320C 6713 DSK Board" equiped with "RealSYS_DSP6713_IO(Daughtercard)".

I have all the required c and h file in the "Myproject" folder.

When I compile the code, I have error message as you see.  

----------------------------  ex08_adc.pjt - Debug  ----------------------------
[Linking...] "E:\CCStudio_v3.1\C6000\cgtools\bin\cl6x" -@"Debug.lkf"
<Linking>

undefined                        first referenced
 symbol                              in file
---------                        ----------------
_Get_EX_ADCIO_Exist              E:\CCStudio_v3.1\MyProjects\ex08_adc\Debug\ex08_adc.obj
_AIC23_read                      E:\CCStudio_v3.1\MyProjects\ex08_adc\Debug\tcpip.obj
>>   error: symbol referencing errors - './Debug/ex08_adc.out' not built

>> Compilation failure

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

Can you tell me why the message comeout?

Can you tell me  solve method?

  • Hello Yeonuk,

    Verify the files that contain those functions are in your include path. If your include path contains a CCS system variable (e.g. ProjDirPath in "${ProjDirPath}/include"), make sure that the system variable points to the write location. The system variables can be viewed in Variables tab in the project Build properties. You will have to select "Show system variables" to see the system variables. Some variables are also defined in the .cproject xml file (near the top of the file).

    If any these suggestions helped you, please select verify.

    Stephen

  • To Steven ... Thank you very much for your reply.  However, you didn't notice that this customer is using a very old version of CCS.  So much of what you suggest is incorrect.

    Yeonuk Seong said:
    undefined                        first referenced
     symbol                              in file
    ---------                        ----------------
    _Get_EX_ADCIO_Exist              E:\CCStudio_v3.1\MyProjects\ex08_adc\Debug\ex08_adc.obj
    _AIC23_read                      E:\CCStudio_v3.1\MyProjects\ex08_adc\Debug\tcpip.obj
    >>   error: symbol referencing errors - './Debug/ex08_adc.out' not built

    This linker message says code uses those symbols, but there is no definition for them.  Based on the symbol names, I think those are functions.  Though things are little different if the symbols are for global variables.  The first line says the source file ex08_adc.c calls a function named Get_EX_ADCIO.Exist.  But nothing in the project supplies that function.  Only you can know the location of the code for this function.  Consider the possibility that it is in a library that needs to be added to the project.

    Thanks and regards,

    -George