This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: AT91/Eb40 eCos build failure *** [heaps.cxx] Error 1
- From: Pete Barrie <peter at cis dot strath dot ac dot uk>
- To: ecos-discuss at sources dot redhat dot com
- Date: Mon, 11 Mar 2002 00:53:28 +0000
- Subject: Re: [ECOS] AT91/Eb40 eCos build failure *** [heaps.cxx] Error 1
At 14:54 04/03/2002 +0000, Pete Barrie wrote:
>Win2000 Cygwin binutils 2.11.2
>arm-elf-gcc (GCC) 3.1 20020225
>built with Cygwin native 2.95.3-5 gcc
>
>AT91/Eb40 eCos build problem
>
>I _can_ build Minimal kernel
>Default (and other) build fails as shown below.
>
>Any help appreciated.
>Thanks
>Pete
This is now sorted. I've built gcc 3.0.4 native and
ARM cross compiler on Cygwin
and have now managed to build Minimal and Default
libraries for eCos without errors.
I haven't had time to test them yet...
Pete
>fgrep .equ hal_mk_defs.tmp | sed s/#// > arm.inc
>make[1]: Leaving directory
>`/ecos-c/temp/ecos_build/at91kernel_build/hal/arm/arch/current'
>make -r -C services/memalloc/common/current heapgeninc.tcl
>make[1]: Entering directory
>`/ecos-c/temp/ecos_build/at91kernel_build/services/memalloc/common/current'
>arm-elf-gcc -mcpu=arm7tdmi -mno-short-load-words -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/temp/ecos_build/at91kernel_install/include
>-I/ecos-c/cygwin/devel_ecos/ecos/packages/services/memalloc/common/current
>-I/ecos-c/cygwin/devel_ecos/ecos/packages/services/memalloc/common/current/src
>-I/ecos-c/cygwin/devel_ecos/ecos/packages/services/memalloc/common/current/tests
>-I. -Wp,-MD,heapgen.tmp -E
>/ecos-c/cygwin/devel_ecos/ecos/packages/services/memalloc/common/current/src/heapgen.cpp
>-o heapgeninc.tcl
>make[1]: Leaving directory
>`/ecos-c/temp/ecos_build/at91kernel_build/services/memalloc/common/current'
>make -r -C services/memalloc/common/current heaps.cxx
>make[1]: Entering directory
>`/ecos-c/temp/ecos_build/at91kernel_build/services/memalloc/common/current'
>XPWD=`pwd` ; cd
>/ecos-c/cygwin/devel_ecos/ecos/packages/services/memalloc/common/current/src
>; sh heapgen.tcl "/ecos-c/temp/ecos_build/at91kernel_install" "$XPWD"
>can't read "memlayout_h": no such variable
> while executing
>"dputs "memlayout_h=" $memlayout_h"
> (file "heapgen.tcl" line 90)
>
>make[1]: *** [heaps.cxx] Error 1
>make[1]: Leaving directory
>`/ecos-c/temp/ecos_build/at91kernel_build/services/memalloc/common/current'
>make: *** [build] Error 2
>
>
>
>
>
>--
>Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
>and search the list archive: http://sources.redhat.com/ml/ecos-discuss
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss