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.

'no matching section' linker warning

Hi,

I'm building big project consisting of a number of projects, which are all compiled as libraries and then linked into the main project. My setup is as follows:

CCS 5.1

Code Generation Tools 7.3.2

DSP/BIOS 5.41

Target: C6418 DSP

Everything compiles fine, but I'm getting a very cryptic linker warning during the linking process for the following section in my own linker command file:

SECTIONS
{
   .s4538_ext_data:  {
      
        -l=rm_s4538_arcs.lib (.bss)
        -l=rm_s4538_arcs.lib (.data)
        -l=rm_s4538_arcs.lib (.far)
        -l=rm_s4538_arcs.lib (.const)
          
    } > SDRAM_DATA

}

The warning is simply "no matching section" for all the lines starting with "-l". What I'm trying to achieve is to take those sections of the compiled library and place it in our external SDRAM, since we want to use the internal RAM for more critical stuff. I have included the particular library in Build Options -> C6000 Linker -> File Search Path, which makes the syntax valid as described in C6000 Assembly Language Tools v7.3 User Guide (SPRU186V.pdf). I tried the variations on the syntax as mention in the user guide, but it made no difference. I also had a look in the resulting MAP file and th .s4538_ext_data section is definitely not created. Can someone please explain to me why I'm getting this warning and what I can do to get rid of it?

On a related note, what is the proper CCS 5.1 way of including other dependent projects into the main project?

Thanks in advance!

Regards

 Reinier