This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: problem met when building the two threads example
- From: Jonathan Larmour <jifl at eCosCentric dot com>
- To: ying_hu at alliedtelesyn dot com
- Cc: "Ecos-Discuss (E-mail)" <ecos-discuss at sources dot redhat dot com>
- Date: Sat, 14 Feb 2004 06:00:11 +0000
- Subject: Re: [ECOS] problem met when building the two threads example
- References: <002501c3f201$df6b5bf0$cc492395@sg.alliedtelesyn.com>
Hu Ying wrote:
> Hi all,
>
> When I am trying to build the two threads example in eCos user guide, I
> get the following errors.
>
> /gnutools/lib/gcc-lib/arm-elf/3.2.1/../../../../arm-elf/bin/ld: Warning:
> /gnutoo
> ls/lib/gcc-lib/arm-elf/3.2.1/libgcc.a(_ashldi3.o) does not support
> interworking,
> whereas example2 does
> /project/ecos/ecos_install/lib/libtarget.a(redboot_main.o): In function
> `do_go':
>
> /ecos-k/cygwin/opt/ecos/ecos-2.0/packages/redboot/v2_0/src/main.c:491:
> undefined
> reference to `RedBoot_version'
> collect2: ld returned 1 exit status
> make: *** [example2] Error 1
You are building against a configuration using the redboot template. The
redboot template is only for building redboot itself. Instead you hvae to
create a new configuration (and in a new directory) e.g. using the default
template. Have a read of http://ecos.sourceware.org/docs.html
Jifl
--
eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
Visit us at Embedded World 2004, Nürnberg, Germany, 17-19 Feb, Stand 12-449
--["No sense being pessimistic, it wouldn't work anyway"]-- 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