This is the mail archive of the ecos-discuss@sourceware.org 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 for freescale_twr_k60n512 failing under Cygwin


I am attempting to exercise the eCos port to the Freescale
TWR-K60N512. However, I am currently unable to get it to even build
under Cygwin. I have followed the same procedure under Ubuntu 10.04
LTS and the build succeeds without issue. Unfortunately, for various
reasons, I need this to work on a Windows machine under Cygwin.

My current setup is:
Windows XP Pro SP3 32-bit
Latest cygwin (1.7.10) with tcl-tk bin and src v8.5
Current arm-eabi toolchain downloaded from an eCos mirror site
eCos from CVS (pulled down today: 2/12/2012)
ecosconfig binary from eCosCentric (I have also built my own, but same result)

The recipe I am using is:
mkdir ~/ecos-twr
cd ~/ecos-twr
cvs -z3 -d :pserver:anoncvs@ecos.sourceware.org:/cvs/ecos co -P ecos ecos-host
ECOS_REPOSITORY=~/ecos-twr/ecos/packages
export ECOS_REPOSITORY
mkdir ecosbuild
cd ecosbuild
ecosconfig new freescale_twr_k60n512 default
ecosconfig tree
make

The build eventually terminates with the following:
{...}
make[1]: Entering directory
`/cygdrive/c/cygwin/home/twrk60n512/ecosbuild/io/wallclock/current'
make[1]: Leaving directory
`/cygdrive/c/cygwin/home/twrk60n512/ecosbuild/io/wallclock/current'
make -r -C error/current headers
make[1]: Entering directory
`/cygdrive/c/cygwin/home/twrk60n512/ecosbuild/error/current'
make[1]: Leaving directory
`/cygdrive/c/cygwin/home/twrk60n512/ecosbuild/error/current'
headers finished
make -r -C services/memalloc/common/current heapgeninc.tcl
make[1]: Entering directory
`/cygdrive/c/cygwin/home/twrk60n512/ecosbuild/services/memalloc/common/current'
arm-eabi-gcc -finline-limit=7000 -Wall -Wpointer-arith  -Wundef
-Woverloaded-virtual -Wno-write-strings -mcpu=cortex-m3 -mthumb -g -O2
-ffunction-sections -fda
a-sections -fno-rtti -fno-exceptions
-I/cygdrive/c/cygwin/home/twrk60n512/ecosbuild/install/include
-I/cygdrive/c/cygwin/home/twrk60n512/ecos/packages/service
/memalloc/common/current
-I/cygdrive/c/cygwin/home/twrk60n512/ecos/packages/services/memalloc/common/current/src
-I/cygdrive/c/cygwin/home/twrk60n512/ecos/pack
ges/services/memalloc/common/current/tests -I. -Wp,-MD,heapgen.tmp -E
/cygdrive/c/cygwin/home/twrk60n512/ecos/packages/services/memalloc/common/current/src/hea
gen.cpp -o heapgeninc.tcl
arm-eabi-gcc.exe:
/cygdrive/c/cygwin/home/twrk60n512/ecos/packages/services/memalloc/common/current/src/heapgen.cpp:
No such file or directory
arm-eabi-gcc.exe: no input files
makefile:43: recipe for target `heapgeninc.tcl' failed
make[1]: *** [heapgeninc.tcl] Error 1
make[1]: Leaving directory
`/cygdrive/c/cygwin/home/twrk60n512/ecosbuild/services/memalloc/common/current'
makefile:15: recipe for target `build' failed
make: *** [build] Error 2
Build failed

It looks to me like ecosconfig is not pulling over the source for the
memalloc service. Any ideas?

Thank you,

-- 
Mike

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]