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.

Problem with Linker (Adaptnoise_pcm)

Other Parts Discussed in Thread: CCSTUDIO

Hello

I am using CCS v3.1 and TMS320C6713.

I want to rebuild Adaptnoise_pcm project from Chassaing book.

 

 you can dowload it from link below:

http://www.rose-hulman.edu/class/ee/yoder/ece581/Audio%20Daugher%20Card/Chassaing/Adaptnoise_pcm/

 

The log file says:

-------------------------- Adaptive_LMS.pjt - Debug --------------------------
[Adaptive_LMS.c] "C:\CCStudio_v3.1\C6000\cgtools\bin\cl6x" -g -fr"C:/CCStudio_v3.1/MyProjects/Adaptive_LMS/Debug" -i"c:/CCStudio_v3.1/C6000/dsk6713/include" -d"CHIP_6713" -mv6710 --mem_model:data=far -@"Debug.lkf" "Adaptive_LMS.c"

[c6713dskinit.c] "C:\CCStudio_v3.1\C6000\cgtools\bin\cl6x" -g -fr"C:/CCStudio_v3.1/MyProjects/Adaptive_LMS/Debug" -i"c:/CCStudio_v3.1/C6000/dsk6713/include" -d"CHIP_6713" -mv6710 --mem_model:data=far -@"Debug.lkf" "c6713dskinit.c"

[vectors_intr.asm] "C:\CCStudio_v3.1\C6000\cgtools\bin\cl6x" -g -fr"C:/CCStudio_v3.1/MyProjects/Adaptive_LMS/Debug" -i"c:/CCStudio_v3.1/C6000/dsk6713/include" -d"CHIP_6713" -mv6710 --mem_model:data=far -@"Debug.lkf" "vectors_intr.asm"

[Vectors_poll.asm] "C:\CCStudio_v3.1\C6000\cgtools\bin\cl6x" -g -fr"C:/CCStudio_v3.1/MyProjects/Adaptive_LMS/Debug" -i"c:/CCStudio_v3.1/C6000/dsk6713/include" -d"CHIP_6713" -mv6710 --mem_model:data=far -@"Debug.lkf" "Vectors_poll.asm"

[Linking...] "C:\CCStudio_v3.1\C6000\cgtools\bin\cl6x" -@"Debug.lkf"
<Linking>
>> warning: creating output section vectors without SECTIONS specification
>> warning: creating output section .vecs without SECTIONS specification

undefined first referenced
symbol in file
--------- ----------------
_fs C:\CCStudio_v3.1\MyProjects\Adaptive_LMS\Debug\c6713dskinit.obj
>> error: symbol referencing errors - './Debug/Adaptive_LMS.out' not built

>> Compilation failure

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

 

I understand the linker has the problem but I run many programs with this linker.

I used this linker in many programs and it's OK.

What am I doing wrong ?

 

Please Help me !

  • The "undefined symbol" linker error has come up several times in these forums so if you do a search you will find many threads on it.

    The message is basically saying that there is a reference to symbol "fs" from the file c6713dskinit.c but no definition for that symbol can be found. You will need to see where that symbol is defined (could be another source file or library) and make sure that is added to the project.

  • Sorry! my bad. I forgot to write fs line in the first line of my codes, which describe the frequency sampling.