[ECOS] building the ecos library

paape@Hi-Techniques.com paape@Hi-Techniques.com
Fri Jan 31 17:22:00 GMT 2003


Hello,
I've recently purchased Anthony Massa's book on eCos and am
trying to build the library from the included CD.  I had a 1.3.1 version
loaded on my system just for the cygwin tools but I believe that I have
effectively disabled them (prior to installing from the CD).  I have loaded
the pre-configured i386 compiler, etc. from the CD as well as the eCos
repository. I have selected the i386 PC target but didn't modify any of
the preset configuration.  The build yields the following:
...
headers finished
make -r -C services/memalloc/common/current heapgeninc.tcl
make[1]: Entering directory
`/ecos-c/ecos/ZFmicro/i386_build/services/memalloc/common/current'
i386-elf-gcc -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/ecos/ZFmicro/i386_install/include
-I/ecos-c/ecos/packages/services/memalloc/common/current
-I/ecos-c/ecos/packages/services/memalloc/common/current/src
-I/ecos-c/ecos/packages/services/memalloc/common/current/tests -I.
-Wp,-MD,heapgen.tmp -E
/ecos-c/ecos/packages/services/memalloc/common/current/src/heapgen.cpp -o
heapgeninc.tcl
make[1]: Leaving directory
`/ecos-c/ecos/ZFmicro/i386_build/services/memalloc/common/current'
cpp: heapgen.tmp: No such file or directory
make: Leaving directory `/ecos-c/ecos/ZFmicro/i386_build'
cpp: Warning: `-x c' after last input file has no effect
make[1]: *** [heapgeninc.tcl] Error 1
make: *** [build] Error 2

Has anyone else seen this?  It looks like compilation flags are the problem
but I don't
understand why.  Any help please?

Thanks,
Dan

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



More information about the Ecos-discuss mailing list