This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

error: no memory region specified for loadable '.ram_vectors'


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.

In addition, I use ecos-2 but set the repository to ecos (not ecos-2, different
folder). I did that under fedore core 5.

Best regards,
Agus Ariffianto



-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/

----- End forwarded message -----




-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]