[ECOS] Question about eCos files pass building Libs but fail builing tests.

Paul Chien paul_chien@lannerinc.com
Wed Apr 2 06:15:00 GMT 2003


Dear Sir:
    I work on eCos Configuration Tool 2.11 on redhat Linux 8.0
I  implement redboot ,ROM version which pass "build Libs" but fail "build tets"

    The following messages are shown on view window.
//////////////////////////////////////////////////////////////////////
make -r -C hal/arm/arch/current tests
make[1]: Entering directory `/root/0328ixp425/redboot3_build/hal/arm/arch/current'
make[1]: Nothing to be done for `tests'.
make[1]: Leaving directory `/root/0328ixp425/redboot3_build/hal/arm/arch/current'
make -r -C hal/arm/brh/current tests
make[1]: Entering directory `/root/0328ixp425/redboot3_build/hal/arm/brh/current'
make[1]: Nothing to be done for `tests'.
make[1]: Leaving directory `/root/0328ixp425/redboot3_build/hal/arm/brh/current'
make -r -C io/pci/current tests
make[1]: Entering directory `/root/0328ixp425/redboot3_build/io/pci/current'
xscale-elf-gcc -Wl,--gc-sections -Wl,-static -gdwarf-2 -O2 -nostdlib -L/root/0328ixp425/redboot3_install/lib -Ttarget.ld -o /root/0328ixp425/redboot3_install/tests/io/pci/current/tests/pci1 tests/pci1.o
make[1]: Leaving directory `/root/0328ixp425/redboot3_build/io/pci/current'
/root/0328ixp425/redboot3_install/lib/libtarget.a(redboot_main.o): In function `cyg_start':
make: Leaving directory `/root/0328ixp425/redboot3_build'
/usr/Paul/ixp425_xscale_redboot/os/ecos/packages/redboot/current/src/main.c:188: multiple definition of `cyg_start'
tests/pci1.o:/usr/Paul/ixp425_xscale_redboot/os/ecos/packages/io/pci/current/tests/pci1.c:438: first defined here
/usr/cygnus/H-i686-pc-linux-gnulibc2.1/bin/../lib/gcc-lib/xscale-elf/3.1-xscale-020523/../../../../xscale-elf/bin/ld: Warning: size of symbol `cyg_start' changed from 48 to 708 in /root/0328ixp425/redboot3_install/lib/libtarget.a(redboot_main.o)
/root/0328ixp425/redboot3_install/lib/libtarget.a(redboot_main.o): In function `do_version':
/usr/Paul/ixp425_xscale_redboot/os/ecos/packages/redboot/current/src/main.c:157: undefined reference to `RedBoot_version'
collect2: ld returned 1 exit status
make[1]: *** [/root/0328ixp425/redboot3_install/tests/io/pci/current/tests/pci1] Error 1
make: *** [tests] Error 2
////////////////////////////////////////////////

what else point that I need to modify?

Thanks a lot.

                             Paul Chien 04/02/2003
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sourceware.org/pipermail/ecos-discuss/attachments/20030402/9d6a961c/attachment.htm>
-------------- next part --------------
-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


More information about the Ecos-discuss mailing list