FPGA Central - World's 1st FPGA / CPLD Portal

FPGA Central

World's 1st FPGA Portal

 

Go Back   FPGA Groups > NewsGroup > DSP

DSP comp.dsp newsgroup, mailing list

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-16-2007, 11:28 AM
gutta
Guest
 
Posts: n/a
Default Problems with the linker command file

hi,

i created my own linker command file. then i am getting some errors an
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, lin

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

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 synta
from the docs.

i appreciate your help in this case.

Thanks,

Regards,
Ramana.


Reply With Quote
  #2 (permalink)  
Old 11-17-2007, 03: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"
<guttaramana_79@yahoo.co.in> 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
  #3 (permalink)  
Old 11-17-2007, 04:00 AM
Jerry Avins
Guest
 
Posts: n/a
Default Re: Problems with the linker command file

Jack Klein wrote:

...

> 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.


There are three knobs in my basement. I want to make the water stop.
which one should I turn?

Jerry
--
Engineering is the art of making what you want from things you can get.
ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
a question about linker map file pperogil@gmail.com FPGA 2 07-18-2008 11:45 AM
Xilinx mb-gcc, linker scripts and splitting Object-file sections Ruediger Scheidig FPGA 0 05-26-2004 11:38 AM
linker command file for motorola DSP tom decouttere DSP 0 04-14-2004 02:09 PM
6711 DSK linker cmd file Dave F DSP 2 06-30-2003 09:13 AM


All times are GMT +1. The time now is 03:40 PM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright 2008 @ FPGA Central. All rights reserved