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: Re: multiple-definitions in redboot src ( build test fails)


Satish Kumar <satish@bvt.sc.sanyo.co.jp> writes:

> well, No, i m building these tests in a different directory..but still 
> i m facing problems in Building the redboot tests..for arm pid.
> it fails to build the tests with the following output:
> build finished
> make -r -C hal/common/v2_0 tests
> make[1]: Entering directory `/ecos-c/saty/build/innov/pid_build/hal/common/v2_0'
> arm-elf-gcc -mcpu=arm7tdmi -g -nostdlib -Wl,--gc-sections -Wl,-static -L/ecos-c/saty/build/innov/pid_install/lib -Ttarget.ld -o /ecos-c/saty/build/innov/pid_install/tests/hal/common/v2_0/tests/context tests/context.o
> make[1]: Leaving directory `/ecos-c/saty/build/innov/pid_build/hal/common/v2_0'
> /ecos-c/saty/build/innov/pid_install/lib/libtarget.a(redboot_main.o): In function `cyg_start':
> make: Leaving directory `/ecos-c/saty/build/innov/pid_build'
> /ecos-c/PROGRA~1/REDHAT~1/ecos/packages/redboot/v2_0/src/main.c:274: undefined reference to `RedBoot_version'
> collect2: ld returned 1 exit status
> make[1]: *** [/ecos-c/saty/build/innov/pid_install/tests/hal/common/v2_0/tests/context] Error 1
> make: *** [tests] Error 2
> 
> 
> my pid_install/bin directory contains the following files after building
> the redboot library for arm pid:
> redboot,
> redboot.elf,
> redboot.img,
> redboot.srec
> 
> well, but building redboot test for arm pid fails..(btw, am i doing
> correct by building the redboot test for arm-pid or is it something 
> that i shouldn`t do..)i m building all this on win2k+cygwin environment.
> 

There are no "RedBoot tests", only ecos test. You should not try to
make any tests in a RedBoot build directory. Configure eCos in a
separate directory and build the tests there.

-- 
Nick Garnett                    eCos Kernel Architect
http://www.ecoscentric.com/     The eCos and RedBoot experts


-- 
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]