This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: still some problem in redboot
- From: Gary Thomas <gthomas at ecoscentric dot com>
- To: "chia-yu (max) KUO" <cyk12 at it dot canterbury dot ac dot nz>
- Cc: eCos Discussion <ecos-discuss at sources dot redhat dot com>,al_chane at issc dot com dot tw
- Date: 27 Nov 2002 07:18:39 -0700
- Subject: Re: [ECOS] still some problem in redboot
- References: <3DE2D0A1@webmail>
On Wed, 2002-11-27 at 07:09, chia-yu (max) KUO wrote:
> hello:
> i try two way to solve the problem in last email
> i try to delete
> /ecosc/cygwin/opt/ecos/packages/hal/arm/arch/current/src/redboot_linux_exec.c
> in line 75 that #error
>
> or i unclick the include exec command under build redboot ROM elf image
>
> it works but have anothe error below
> can anyone suggest me how to solve it??
>
>
> make[1]: Leaving directory `/ecos-c/ecos_work/red2_build/hal/common/current'
> /ecos-c/ecos_work/red2_install/lib/libtarget.a(redboot_main.o): In function
> `bist':
> make: Leaving directory `/ecos-c/ecos_work/red2_build'
> /ecos-c/cygwin/cvs_27_11/ecos/packages/redboot/current/src/main.c:566:
> multiple definition of `cyg_start'
> tests/context.o:/ecos-c/cygwin/cvs_27_11/ecos/packages/hal/common/current/test
> s/context.c:117: first defined here
> /tools/H-i686-pc-linux-gnu/arm-elf/bin/ld: Warning: size of symbol `cyg_start'
> changed from 20 to 712 in redboot_main.o
> /ecos-c/ecos_work/red2_install/lib/libtarget.a(redboot_main.o): In function
> `do_go':
> /ecos-c/cygwin/cvs_27_11/ecos/packages/redboot/current/src/main.c:393:
> undefined reference to `RedBoot_version'
> collect2: ld returned 1 exit status
> make[1]: ***
> [/ecos-c/ecos_work/red2_install/tests/hal/common/current/tests/context] Error
You can't build the tests from a RedBoot configuration. First of all,
it simply doesn't make sense and secondly it can't work because RedBoot
defines a complete application by itself, not just a library.
If you want to build eCos applications, try something like this:
% ecosconfig new ipaq
% ecosconfig tree
% make; make tests
--
------------------------------------------------------------
Gary Thomas |
eCosCentric, Ltd. |
+1 (970) 229-1963 | eCos & RedBoot experts
gthomas@ecoscentric.com |
http://www.ecoscentric.com/ |
------------------------------------------------------------
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss