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: still some problem in redboot


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


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