* [ECOS] Re: example compile problem
[not found] <00fa01c81c27$2a9e2a50$c0bdc77a@Joshua>
@ 2007-11-01 11:45 ` Jonathan Larmour
0 siblings, 0 replies; only message in thread
From: Jonathan Larmour @ 2007-11-01 11:45 UTC (permalink / raw)
To: 전룡; +Cc: eCos discussion
ì 룡 wrote:
> I' m just a begginer of eCos.
>
> and I got a problem when I compile the example which is provided by
> ecos-2.0
>
> ===============================================================================================================================
> [root@122 examples]# make
> INSTALL_DIR=/home/qnlong/ecos/Evaluator7/evaluator7_install
>
> arm-elf-gcc -nostartfiles
> -L/home/qnlong/ecos/Evaluator7/evaluator7_install/lib -Ttarget.ld
> -mcpu=arm7tdmi -mno-short-load-words -Wl,--gc-sections -Wl,-static -g
> -nostdlib -o hello hello.o
>
> /home/qnlong/ecos/Evaluator7/evaluator7_install/lib/libtarget.a(redboot_main.o):
> In function `do_go':
>
> /opt/ecos/ecos-2.0/packages/redboot/v2_0/src/main.c:491: undefined
> reference to `RedBoot_version'
>
> collect2: ld returned 1 exit status
You are trying to build applications against a build of eCos configured
specifically for building the RedBoot ROM monitor. Only RedBoot should use
that build.
For eCos applications, you should have a separate build. To use the
default one:
ecosconfig new e7t
ecosconfig tree
make
After this you can link your own application. You can also build the eCos
testsuite:
make tests
Jifl
--
eCosCentric Limited http://www.eCosCentric.com/ The eCos experts
Barnwell House, Barnwell Drive, Cambridge, UK. Tel: +44 1223 245571
Registered in England and Wales: Reg No 4422071.
------["The best things in life aren't things."]------ Opinions==mine
--
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] only message in thread
only message in thread, other threads:[~2007-11-01 11:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <00fa01c81c27$2a9e2a50$c0bdc77a@Joshua>
2007-11-01 11:45 ` [ECOS] Re: example compile problem Jonathan Larmour
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).