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: tms320c6713

Tool/software: Code Composer Studio

Hi sir,

Sir, Iam using CCs5.5+DSK6713 , i got the following error, please solve this problem

/Loop_stereo.c Stereo input/output to/from both channels

#include "dsk6713_aic23.h" //codec-DSK support file
Uint32 fs=DSK6713_AIC23_FREQ_8KHZ; //set sampling rate

#define LEFT 0
#define RIGHT 1
union {Uint32 combo; short channel[2];} AIC23_data;

interrupt void c_int11() //interrupt service routine
{
AIC23_data.combo = input_sample(); //input 32-bit sample

output_left_sample(AIC23_data.channel[LEFT]); //I/O left channels

return;
}

void main() //main function
{
comm_intr(); //init DSK, codec, McBSP
while(1); //infinite loop
}

/Loop_stereo.c Stereo input/output to/from both channels

#include "dsk6713_aic23.h" //codec-DSK support file
Uint32 fs=DSK6713_AIC23_FREQ_8KHZ; //set sampling rate

#define LEFT 0
#define RIGHT 1
union {Uint32 combo; short channel[2];} AIC23_data;

interrupt void c_int11() //interrupt service routine
{
AIC23_data.combo = input_sample(); //input 32-bit sample

output_left_sample(AIC23_data.channel[LEFT]); //I/O left channels

return;
}

void main() //main function
{
comm_intr(); //init DSK, codec, McBSP
while(1); //infinite loop
}

**** Build of configuration Debug for project stereo ****

"C:\\ti\\ccsv5\\utils\\bin\\gmake" -k all
'Building file: ../Loop_stereo.c'
'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000_7.4.4/bin/cl6x" -mv6700 --abi=coffabi -g --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.4/include" --include_path="C:/ti/support_c6713_dsk/include_board" --include_path="C:/ti/support_c6713_dsk/include_chip" --define=c6713 --define=CHIP_6713 --display_error_number --diag_warning=225 --diag_wrap=off --preproc_with_compile --preproc_dependency="Loop_stereo.pp" "../Loop_stereo.c"
"../Loop_stereo.c", line 12: warning #225-D: function declared implicitly
"../Loop_stereo.c", line 14: warning #225-D: function declared implicitly
"../Loop_stereo.c", line 21: warning #225-D: function declared implicitly
'Finished building: ../Loop_stereo.c'
' '
'Building target: stereo.out'
'Invoking: C6000 Linker'
"C:/ti/ccsv5/tools/compiler/c6000_7.4.4/bin/cl6x" -mv6700 --abi=coffabi -g --define=c6713 --define=CHIP_6713 --display_error_number --diag_warning=225 --diag_wrap=off -z --stack_size=0x800 -m"stereo.map" --heap_size=0x800 -i"C:/ti/ccsv5/tools/compiler/c6000_7.4.4/lib" -i"C:/ti/ccsv5/tools/compiler/c6000_7.4.4/include" --reread_libs --warn_sections --display_error_number --diag_wrap=off --xml_link_info="stereo_linkInfo.xml" --rom_model -o "stereo.out" "./Vectors_intr.obj" "./Loop_stereo.obj" "../C6713.cmd" -l"C:/ti/ccsv5/tools/compiler/c6000_7.4.4/lib/rts6700.lib" -l"C:\ti\DSK6713\c6000\dsk6713\lib\dsk6713bsl.lib" -l"C:\ti\DSK6713\c6000\bios\lib\csl6713.lib"
<Linking>
warning #10247-D: creating output section ".vectors" without a SECTIONS specification

undefined first referenced
symbol in file
--------- ----------------
_comm_intr ./Loop_stereo.obj
_input_sample ./Loop_stereo.obj
_output_left_sample ./Loop_stereo.obj

error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "stereo.out" not built

>> Compilation failure
gmake: *** [stereo.out] Error 1
gmake: Target `all' not remade because of errors.

**** Build Finished ****