[ECOS] error: no memory region specified for loadable '.ram_vectors'

Agus Ariffianto aariffianto@s.ee.itb.ac.id
Mon May 29 10:40:00 GMT 2006



> On Mon, May 29, 2006 at 04:59:20PM +0700, Agus Ariffianto wrote:
>> Dear ALL,
>> I am trying to build hello program to run in LEON. During dong that, I 
>> faced
>> some problem (and peculiarity)
>> eCos configuration setting:
>>
>> Menu Build repository                : /src/ecos
>> Menu Build tempaltes                : LEON Processor
>>         Packages                        :default
>> Menu Tools-Paths-Build Tools    : /gnutools/sparc-elf-3.2.3/bin
>> Menu Tools-Paths-user tools       : /bin
>> The rest, I leave it by default
>>
>> -Configuration
>>     - Global Build options
>>         - Global command prefix    : sparc-rtems <why sparc-rtems, NOT 
>> sparc-elf
>> ?, in fact I use sparc-elf-3.2.3>
>>
>> Then I build library....
>> Then I got target.ld file (in folder leon_install/lib/)
>>
>> Next, I compile it:
>> [agus]$ sparc-elf-gcc -I leon_install/include/ ../hello.c -o hello.out -L
>> leon_install/lib/ -Ttarget.ld -nostdlib
>>
>> then the error turn up:
>> /gnutools/sparc-elf-3.4.4/bin/../lib/gcc/sparc-elf/3.4.4/../../../../sparc-elf/bin/ld:
>> error: no memory region for loadable section '.ram_vectors'
>> collect2: ld returned 1 exit status
>>
>> second trial, I change Global command prefix setting: sparc-elf (was
>> sparc-rtems) and change the compiler version to sparc-elf-3.2.3 (was 
>> 3.4.4). The
>> error was same.
>>
>> Can anybody please help me solving these problem. Thank you very much.
>
> How do you configure eCos?
>
> do
>
> ecosconfig export loan.ecm
>
> and email the leon.ecm file.
>
> My guess is you have the interface to Redboot enabled, but the current
> leon port does not support this.
>
>     Andrew
>
> -- 

Andrew, thank you for your response. Also attached target.ld file (I don't 
know wether you need this file or not)

Regards,
Agus Ariffianto 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: leon.ecm
Type: application/octet-stream
Size: 4269 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/ecos-discuss/attachments/20060529/244de930/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: target.ld
Type: application/octet-stream
Size: 2274 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/ecos-discuss/attachments/20060529/244de930/attachment-0001.obj>
-------------- next part --------------
-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


More information about the Ecos-discuss mailing list