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]

arm-elf & ecos


Hi,

I could successfully build the arm-elf-gcc tool-chain on my Win 2000 machine under cygwin by following the instruction given by William A. Gatliff.

1. Then I installed eocs configuration tool 2.08.
2. Synced to the ecos repository using WinCVS 1.3.
3. Then when I tried building the Tests for ARM PID (using the ARM PID template) I got the following errors:


make tests -j1 --directory "/ecos-c/rep/examples/arm/arm_build"

make: Entering directory `/ecos-c/rep/examples/arm/arm_build'
make -r -C hal/arm/arch/v1_3_1 headers
make[1]: Entering directory `/ecos-c/rep/examples/arm/arm_build/hal/arm/arch/v1_3_1'
make[1]: Nothing to be done for `headers'.
make[1]: Leaving directory `/ecos-c/rep/examples/arm/arm_build/hal/arm/arch/v1_3_1'
make -r -C hal/arm/pid/v1_3_1 headers
make[1]: Entering directory `/ecos-c/rep/examples/arm/arm_build/hal/arm/pid/v1_3_1'
make[1]: Leaving directory `/ecos-c/rep/examples/arm/arm_build/hal/arm/pid/v1_3_1'
make -r -C io/serial/v1_3_1 headers
make[1]: Entering directory `/ecos-c/rep/examples/arm/arm_build/io/serial/v1_3_1'
make[1]: Nothing to be done for `headers'.
make[1]: Leaving directory `/ecos-c/rep/examples/arm/arm_build/io/serial/v1_3_1'
make -r -C hal/common/v1_3_1 headers
make[1]: Entering directory `/ecos-c/rep/examples/arm/arm_build/hal/common/v1_3_1'
make[1]: Nothing to be done for `headers'.
make[1]: Leaving directory `/ecos-c/rep/examples/arm/arm_build/hal/common/v1_3_1'
make -r -C io/common/v1_3_1 headers
make[1]: Entering directory `/ecos-c/rep/examples/arm/arm_build/io/common/v1_3_1'
make[1]: Nothing to be done for `headers'.
make[1]: Leaving directory `/ecos-c/rep/examples/arm/arm_build/io/common/v1_3_1'
make -r -C infra/v1_3_1 headers
make[1]: Entering directory `/ecos-c/rep/examples/arm/arm_build/infra/v1_3_1'
make[1]: Nothing to be done for `headers'.
make[1]: Leaving directory `/ecos-c/rep/examples/arm/arm_build/infra/v1_3_1'
make -r -C kernel/v1_3_1 headers
make[1]: Entering directory `/ecos-c/rep/examples/arm/arm_build/kernel/v1_3_1'
make[1]: Nothing to be done for `headers'.
make[1]: Leaving directory `/ecos-c/rep/examples/arm/arm_build/kernel/v1_3_1'
make -r -C language/c/libc/v1_3_1 headers
make[1]: Entering directory `/ecos-c/rep/examples/arm/arm_build/language/c/libc/v1_3_1'
make[1]: Nothing to be done for `headers'.
make[1]: Leaving directory `/ecos-c/rep/examples/arm/arm_build/language/c/libc/v1_3_1'
make -r -C language/c/libm/v1_3_1 headers
make[1]: Entering directory `/ecos-c/rep/examples/arm/arm_build/language/c/libm/v1_3_1'
make[1]: Nothing to be done for `headers'.
make[1]: Leaving directory `/ecos-c/rep/examples/arm/arm_build/language/c/libm/v1_3_1'
make -r -C devs/wallclock/v1_3_1 headers
make[1]: Entering directory `/ecos-c/rep/examples/arm/arm_build/devs/wallclock/v1_3_1'
make[1]: Nothing to be done for `headers'.
make[1]: Leaving directory `/ecos-c/rep/examples/arm/arm_build/devs/wallclock/v1_3_1'
make -r -C error/v1_3_1 headers
make[1]: Entering directory `/ecos-c/rep/examples/arm/arm_build/error/v1_3_1'
make[1]: Nothing to be done for `headers'.
make[1]: Leaving directory `/ecos-c/rep/examples/arm/arm_build/error/v1_3_1'
headers finished
make -r -C hal/arm/arch/v1_3_1 arm.inc
make[1]: Entering directory `/ecos-c/rep/examples/arm/arm_build/hal/arm/arch/v1_3_1'
arm-elf-gcc -mcpu=arm7tdmi -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority -I/ecos-c/rep/examples/arm/arm_install/include -I/ecos-c/PROGRA~1/REDHAT~1/eCos/packages/hal/arm/arch/v1_3_1 -I/ecos-c/PROGRA~1/REDHAT~1/eCos/packages/hal/arm/arch/v1_3_1/src -I/ecos-c/PROGRA~1/REDHAT~1/eCos/packages/hal/arm/arch/v1_3_1/tests -I. -Wp,-MD,arm.tmp -o hal_mk_defs.tmp -S /ecos-c/PROGRA~1/REDHAT~1/eCos/packages/hal/arm/arch/v1_3_1/src/hal_mk_defs.c
In file included from /ecos-c/rep/examples/arm/arm_install/include/cyg/hal/hal_arch.h:49,
from /ecos-c/PROGRA~1/REDHAT~1/eCos/packages/hal/arm/arch/v1_3_1/src/hal_mk_defs.c:48:
/ecos-c/rep/examples/arm/arm_install/include/cyg/infra/cyg_type.h:160: parse error before `__tmp1'
/ecos-c/rep/examples/arm/arm_install/include/cyg/infra/cyg_type.h:160: warning: type defaults to `int' in declaration of `__tmp1'
/ecos-c/rep/examples/arm/arm_install/include/cyg/infra/cyg_type.h:160: `_name_' undeclared here (not in a function)
/ecos-c/rep/examples/arm/arm_install/include/cyg/infra/cyg_type.h:160: warning: data definition has no type or storage class
/ecos-c/rep/examples/arm/arm_install/include/cyg/infra/cyg_type.h:160: stray '\' in program
/ecos-c/rep/examples/arm/arm_install/include/cyg/infra/cyg_type.h:161: parse error before `__tmp2'
/ecos-c/rep/examples/arm/arm_install/include/cyg/infra/cyg_type.h:161: warning: type defaults to `int' in declaration of `__tmp2'
/ecos-c/rep/examples/arm/arm_install/include/cyg/infra/cyg_type.h:161: initializer element is not constant
/ecos-c/rep/examples/arm/arm_install/include/cyg/infra/cyg_type.h:161: warning: data definition has no type or storage class
/ecos-c/rep/examples/arm/arm_install/include/cyg/infra/cyg_type.h:161: stray '\' in program
/ecos-c/rep/examples/arm/arm_install/include/cyg/infra/cyg_type.h:162: warning: type defaults to `int' in declaration of `__tmp1'
/ecos-c/rep/examples/arm/arm_install/include/cyg/infra/cyg_type.h:162: redefinition of `__tmp1'
/ecos-c/rep/examples/arm/arm_install/include/cyg/infra/cyg_type.h:160: `__tmp1' previously defined here
/ecos-c/rep/examples/arm/arm_install/include/cyg/infra/cyg_type.h:162: initializer element is not constant
/ecos-c/rep/examples/arm/arm_install/include/cyg/infra/cyg_type.h:162: warning: data definition has no type or storage class
/ecos-c/rep/examples/arm/arm_install/include/cyg/infra/cyg_type.h:162: stray '\' in program
/ecos-c/rep/examples/arm/arm_install/include/cyg/infra/cyg_type.h:163: parse error before `}'
/ecos-c/rep/examples/arm/arm_install/include/cyg/infra/cyg_type.h:171: stray '\' in program
/ecos-c/rep/examples/arm/arm_install/include/cyg/infra/cyg_type.h:172: stray '\' in program
/ecos-c/rep/examples/arm/arm_install/include/cyg/infra/cyg_type.h:173: stray '\' in program
/ecos-c/rep/examples/arm/arm_install/include/cyg/infra/cyg_type.h:223:
parse error before `CYG_BYTE'
/ecos-c/rep/examples/arm/arm_install/include/cyg/infra/cyg_type.h:223: warning: type defaults to `int' in declaration of `CYG_BYTE'
/ecos-c/rep/examples/arm/arm_install/include/cyg/infra/cyg_type.h:223: warning: data definition has no type or storage class
/ecos-c/rep/examples/arm/arm_install/include/cyg/infra/cyg_type.h:282: parse error before `#'
/ecos-c/rep/examples/arm/arm_install/include/cyg/infra/cyg_type.h:317: stray '\' in program
/ecos-c/rep/examples/arm/arm_install/include/cyg/infra/cyg_type.h:341: warning: This file contains more `}'s than `{'s.
In file included from /ecos-c/PROGRA~1/REDHAT~1/eCos/packages/hal/arm/arch/v1_3_1/src/hal_mk_defs.c:48:
/ecos-c/rep/examples/arm/arm_install/include/cyg/hal/hal_arch.h:86: stray '\' in program
/ecos-c/rep/examples/arm/arm_install/include/cyg/hal/hal_arch.h:99: parse error before `}'
/ecos-c/rep/examples/arm/arm_install/include/cyg/hal/hal_arch.h:99: warning: type defaults to `int' in declaration of `HAL_SavedRegisters'
/ecos-c/rep/examples/arm/arm_install/include/cyg/hal/hal_arch.h:99: warning: data definition has no type or storage class
/ecos-c/rep/examples/arm/arm_install/include/cyg/hal/hal_arch.h:129: parse error before `do'


It goes on like this for long. Please help me straighten this issue. Thanks a lot for your help!

-Mike.


_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


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