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]

Building Redboot Test cases


Hi.....

	I am trying to get the test cases to compile for redboot.... It
fails on the first test.

	Any clues ????

Compile output follows


i386-elf-gcc -c  -I/ecos-d/ecos/i386pc/redboot_install/include
-I/ecos-c/PROGRA~1/REDHAT~1/ecos/packages/io/pci/current
-I/ecos-c/PROGRA~1/REDHAT~1/ecos/packages/io/pci/current/src
-I/ecos-c/PROGRA~1/REDHAT~1/ecos/packages/io/pci/current/tests -I.
-I/ecos-c/PROGRA~1/REDHAT~1/ecos/packages/io/pci/current/tests/ -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/pci1.tmp -o tests/pci1.o
/ecos-c/PROGRA~1/REDHAT~1/ecos/packages/io/pci/current/tests/pci1.c
i386-elf-gcc -g -nostdlib -Wl,--gc-sections -Wl,-static
-L/ecos-d/ecos/i386pc/redboot_install/lib -Ttarget.ld -o
/ecos-d/ecos/i386pc/redboot_install/tests/io/pci/current/tests/pci1
tests/pci1.o
/
ecos-d/ecos/i386pc/redboot_install/lib/libtarget.a(redboot_main.o): In
function `bist':
/ecos-c/PROGRA~1/REDHAT~1/ecos/packages/redboot/current/src/main.c:547:
multiple definition of `cyg_start'
tests/pci1.o:/ecos-c/PROGRA~1/REDHAT~1/ecos/packages/io/pci/current/tests/pc
i1.c:448: first defined here
/tools/H-I686~1/bin/../lib/gcc-lib/i386-elf/3.1/../../../../i386-elf/bin/ld:
Warning: 
size of symbol `cyg_start' changed from 38 to 595 in
/ecos-d/ecos/i386pc/redboot_install/lib/libtarget.a(redboot_main.o)
/ecos-d/ecos/i386pc/redboot_install/lib/libtarget.a(redboot_main.o): In
function `bist':
make[1]: Leaving directory
`/ecos-d/ecos/i386pc/redboot_build/io/pci/current'
/ecos-c/PROGRA~1/REDHAT~1/ecos/packages/redboot/current/src/main.c:548:
undefined reference to `RedBoot_version'
make: Leaving directory `/ecos-d/ecos/i386pc/redboot_build'
collect2: ld returned 1 exit status
make[1]: ***
[/ecos-d/ecos/i386pc/redboot_install/tests/io/pci/current/tests/pci1] Error
1
make: *** [tests] Error 2



Roman F. Rycerz
Engineering Section Manager
Core Engineering Test and Tools Group
Powertrain and Powertrain Systems Division
Automotive and Industrial Electronics Group


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