View Single Post
  #2 (permalink)  
Old 11-17-2007, 04:51 AM
Jack Klein
Guest
 
Posts: n/a
Default Re: Problems with the linker command file

On Fri, 16 Nov 2007 05:28:42 -0600, "gutta"
<[email protected]> wrote in comp.dsp:

> hi,
>
> i created my own linker command file. then i am getting some errors and
> warnings.
> my linker command file:
> -l unicod_dg3cfg.cmd
> /*the memory is divided into different sections*/
> SECTIONS
> {
>
> .text: {} > IPRAM
> .switch: {} > IPRAM
> .bss: {} > IDRAM
> .far: {} > IDRAM
> .cinit: {} > IPRAM
> .pinit: {} > IPRAM
> .const: {} > IPRAM
> .data: {} > IDRAM
> .cio: {} > IPRAM
> }
>
> >> Y:\SMU-UNICOD\DSP_SW\UnicodDSP\Src\CDMA\1xEVDO\unicod_dg3 cfg.cmd, line

> 355: warning:
> multiple definitions of SECTION named '.hwi'
> >> Y:\SMU-UNICOD\DSP_SW\UnicodDSP\Src\CDMA\1xEVDO\unicod_dg3 cfg.cmd, line

> 357: warning:
> multiple definitions of SECTION named '.SDRAM0$heap'
> >> error: memory types IPRAM and IPRAM on page 0 overlap
> >> error: memory types SDRAM0 and SDRAM0 on page 0 overlap
> >> error: memory types IDRAM and IDRAM on page 0 overlap

>
>
> So, i don't understand why the problem is coming as i followed the syntax
> from the docs.
>
> i appreciate your help in this case.


I would appreciate it if you provide enough information in your
question. There is more than one linker that takes command files, and
one more than one model of DSP.

Maybe somebody here will recognize which of these you are using, but
do you expect people to guess? Be much more specific.

--
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://c-faq.com/
comp.lang.c++ http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++
http://www.club.cc.cmu.edu/~ajo/docs/FAQ-acllc.html
Reply With Quote