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]

Re: AT91/Eb40 eCos build failure *** [heaps.cxx] Error 1


At 00:53 11/03/2002 +0000, Pete Barrie wrote:
>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...

Default tested and working with Atmel At51 board.

My tools spec:

Win2000 Cygwin  binutils 2.11.2

GCC native compiler:
$ gcc -v
Reading specs from /usr/local/lib/gcc-lib/i686-pc-cygwin/3.0.4/specs
Configured with: gccSource/gcc-3.0.4/configure --enable-threads=win32 
--enable-l
anguages=c,c++
Thread model: win32
gcc version 3.0.4

Used to build ARM gcc:

peter@PC-PETER2 /tools/H-i686-pc-cygwin/arm-elf/bin
$ ./gcc -v
Reading specs from /tools/H-i686-pc-cygwin/lib/gcc-lib/arm-elf/3.0.4/specs
Configured with: /src/gcc/gcc-20020225/configure --target=arm-elf 
--prefix=/tool
s --exec-prefix=/tools/H-i686-pc-cygwin --with-gnu-as --with-gnu-ld 
--with-newli
b -v : (reconfigured) /src/gcc/gcc-3.0.4/configure --target=arm-elf 
--prefix=/to
ols --exec-prefix=/tools/H-i686-pc-cygwin --with-gnu-as --with-gnu-ld 
--with-new
lib -v
Thread model: single
gcc version 3.1 20020225 (experimental)









>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


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