This is the mail archive of the ecos-devel@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]

multiple-definitions in redboot src ( build test fails)


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:

build finished
make -r -C hal/common/v2_0 tests
make[1]: Entering directory `/ecos-c/saty/build/innov/ina9_build/hal/common/v2_0'
arm-elf-gcc -c  -I/ecos-c/saty/build/innov/ina9_install/include -I/ecos-c/PROGRA~1/REDHAT~1/ecos/packages/hal/common/v2_0 -I/ecos-c/PROGRA~1/REDHAT~1/ecos/packages/hal/common/v2_0/src -I/ecos-c/PROGRA~1/REDHAT~1/ecos/packages/hal/common/v2_0/tests -I. -I/ecos-c/PROGRA~1/REDHAT~1/ecos/packages/hal/common/v2_0/tests/ -mcpu=arm9 -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority -Wp,-MD,tests/context.tmp -o tests/context.o /ecos-c/PROGRA~1/REDHAT~1/ecos/packages/hal/common/v2_0/tests/context.c
arm-elf-gcc --no-target-default-spec -Wl,--gc-sections -Wl,-static -g -O2 -nostdlib -L/ecos-c/saty/build/innov/ina9_install/lib -Ttarget.ld -o /ecos-c/saty/build/innov/ina9_install/tests/hal/common/v2_0/tests/context tests/context.o
/ecos-c/saty/build/innov/ina9_install/lib/libtarget.a(redboot_main.o): In function `bist':
/ecos-c/PROGRA~1/REDHAT~1/ecos/packages/redboot/v2_0/src/main.c:626: multiple definition of `cyg_start'
tests/context.o:/ecos-c/PROGRA~1/REDHAT~1/ecos/packages/hal/common/v2_0/tests/context.c:118: first defined here
/tools/H-I686~1/arm-elf/bin/../lib/gcc-lib/arm-elf/3.2.1/../../../../arm-elf/bin/ld: Warning: size of symbol `cyg_start' changed from 12 to 716 in /ecos-c/saty/build/innov/ina9_install/lib/libtarget.a(redboot_main.o)
make[1]: Leaving directory `/ecos-c/saty/build/innov/ina9_build/hal/common/v2_0'
collect2: ld returned 1 exit status
make: Leaving directory `/ecos-c/saty/build/innov/ina9_build'
make[1]: *** [/ecos-c/saty/build/innov/ina9_install/tests/hal/common/v2_0/tests/context] Error 1
make: *** [tests] Error 2


what need to be modified to build the test successfully.


thanks
satish
-- 
Satish Kumar <satish@bvt.sc.sanyo.co.jp>


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