This is the mail archive of the ecos-discuss@sources.redhat.com 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]

Re: problem met when building the two threads example


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


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