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.
This task is about DTMF signal detection using Correlation, RTDX, and FFT. Code Composer Studio was used in this process. After loading all the files including c file, cmd file etc.
But the following error message keeps recurring
Please help!
*******************************************************************
------------------------------ DTMF.pjt - Debug ------------------------------
[c6713dskinit.c] "C:\CCStudio_v3.1\C6000\cgtools\bin\cl6x" -g -q -fr"C:/Documents and Settings/Administrator/Desktop/DTMF/Debug" -d"CHIP_6713" -mv6710 -@"Debug.lkf" "c6713dskinit.c"
[Linking...] "C:\CCStudio_v3.1\C6000\cgtools\bin\cl6x" -@"Debug.lkf"
<Linking>
undefined first referenced
symbol in file
--------- ----------------
_inputsource C:\Documents and Settings\Administrator\Desktop\DTMF\Debug\c6713dskinit.obj
_fs C:\Documents and Settings\Administrator\Desktop\DTMF\Debug\c6713dskinit.obj
>> warning: Detected a near (.bss section relative) data reference to the symbol
_DSK6713_AIC23_codecdatahandle defined in section .far. The
reference occurs in C:\Documents and
Settings\Administrator\Desktop\DTMF\Debug\c6713dskinit.obj, section
.text, SPC offset 00000074. Either make the symbol near data by
placing it in the .bss section, or make the references to the
symbol far. For C/C++ code use 'far' or 'near' modifiers on the
type definition of the symbol or compile with the --mem_model:data
switch.
>> error: symbol referencing errors - './Debug/DTMF.out' not built
>> Compilation failure
Build Complete,
2 Errors, 1 Warnings, 0 Remarks.
*******************************************************************
Hi Abdallah,
I think it is due to using wrong memory model in the compiler. In the Build Properties -> C6000 Compiler -> Runtime Model Options, there is a selection for "Data access model (--mem_model:data). The default may be near, and that may be incompatible with one or more of the libraries since they use the .far section. Change this to either "far" or "far_aggregate" and see if the linker works better.
Hi Abdallah,
Actually i am not sure about CCSv3.1.
I will suggest you to use CCS latest versions.
I am using CCSv5.5.
Right click on project --> Select Properties --> CCS Build --> C6000 Compiler --> Advanced Options --> Run-time Model Options
You will see a screen like this, and you can do the required changes.
undefined first referenced
symbol in file