public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] error: no memory region specified for loadable '.ram_vectors'
@ 2006-05-29  9:20 Agus Ariffianto
  2006-05-29  9:44 ` Andrew Lunn
  0 siblings, 1 reply; 19+ messages in thread
From: Agus Ariffianto @ 2006-05-29  9:20 UTC (permalink / raw)
  To: ecos-discuss

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

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2006-06-13  9:31 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-29  9:20 [ECOS] error: no memory region specified for loadable '.ram_vectors' Agus Ariffianto
2006-05-29  9:44 ` Andrew Lunn
2006-05-29 10:40   ` Agus Ariffianto
2006-05-29 12:20     ` Andrew Lunn
2006-05-30  4:00       ` Agus Ariffianto
2006-05-30  7:28         ` AW: " Ram Sudhir Tadavarthi
2006-05-30  7:38           ` Andrew Lunn
2006-05-30 11:49           ` Agus Ariffianto
2006-05-30 12:02             ` Andrew Lunn
2006-05-30 12:40               ` Agus Ariffianto
2006-05-30 12:59                 ` Andrew Lunn
2006-05-30 13:02               ` Agus Ariffianto
2006-05-30 13:18                 ` Andrew Lunn
2006-05-30 13:28                   ` Agus Ariffianto
2006-06-13  9:31                   ` [ECOS] error: no memory region specified for loadable '.ram_vectors' => Now it works Agus Ariffianto
2006-05-30  4:06       ` [ECOS] error: no memory region specified for loadable '.ram_vectors' Agus Ariffianto
2006-05-30  7:43         ` Andrew Lunn
2006-05-30  9:36           ` Agus Ariffianto
2006-05-30 11:19             ` Andrew Lunn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).