* arm-elf & ecos
@ 2002-08-15 0:18 Mike A
2002-08-15 0:24 ` [ECOS] " Andrew Lunn
0 siblings, 1 reply; 2+ messages in thread
From: Mike A @ 2002-08-15 0:18 UTC (permalink / raw)
To: crossgcc, ecos-discuss; +Cc: bgat
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
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [ECOS] arm-elf & ecos
2002-08-15 0:18 arm-elf & ecos Mike A
@ 2002-08-15 0:24 ` Andrew Lunn
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Lunn @ 2002-08-15 0:24 UTC (permalink / raw)
To: Mike A; +Cc: crossgcc, ecos-discuss, bgat
Hi Mike
First thing to check is that you have all the mounts the correct type,
ie text or binary. This is a common problem, so look in the archive
and read the documentation.
Andrew
On Thu, Aug 15, 2002 at 07:18:07AM +0000, Mike A wrote:
> 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
>
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-08-15 7:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-15 0:18 arm-elf & ecos Mike A
2002-08-15 0:24 ` [ECOS] " Andrew Lunn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).