This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: multiple-definitions in redboot src ( build test fails)
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.
satish
On 20 Jun 2003 09:05:22 +0100
Nick Garnett <nickg@ecoscentric.com> wrote:
> Satish Kumar <satish@bvt.sc.sanyo.co.jp> writes:
>
> > Hi,
> > Is this a bug in the RedBoot source code..i was trying to build
> > redboot image for the innovator ARM board..the build was successful but
> > the test cases fail due to these errors shown below:
> >
>
> It looks to me like you are trying to build the tests from the same
> directory tree that you build RedBoot in. Don't do that. Use a new,
> empty, build directory and confgure for eCos in there.
>
> --
> Nick Garnett eCos Kernel Architect
> http://www.ecoscentric.com/ The eCos and RedBoot experts
--
Satish Kumar <satish@bvt.sc.sanyo.co.jp>
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss