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]

Re: Build error...


Fabrice Gautier wrote:
> 
> I've a build error I cna't explain. It compiled fine, and I think I changed
> something in memory allocation configuration and now:
> 
> make -r -C services/memalloc/common/current heapgeninc.tcl
> make[1]: Entering directory
> `/e/projects/antilles/Curacao/OS/CelesteRPM/pci-115200_build/services/memall
> oc/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//E/projects/antilles/Curacao/OS/CelesteRPM/pci-115200_install/include
> -I//E/cvswork/ecos-20000904/ecos/packages/services/memalloc/common/current
> -I//E/cvswork/ecos-20000904/ecos/packages/services/memalloc/common/current/s
> rc
> -I//E/cvswork/ecos-20000904/ecos/packages/services/memalloc/common/current/t
> ests -I. -Wp,-MD,heapgen.tmp -E
> //E/cvswork/ecos-20000904/ecos/packages/services/memalloc/common/current/src
> /heapgen.cpp > heapgeninc.tcl
> //E/cvswork/ecos-20000904/ecos/packages/services/memalloc/common/current/src
> /heapgen.cpp:50: pkgconf/system.h: No such file or directory
> //E/cvswork/ecos-20000904/ecos/packages/services/memalloc/common/current/src
> /heapgen.cpp:51: pkgconf/memalloc.h: No such file or directory
> //E/cvswork/ecos-20000904/ecos/packages/services/memalloc/common/current/src
> /heapgen.cpp:60: `#include' expects "FILENAME" or <FILENAME>
> make[1]: *** [heapgeninc.tcl] Error 1
> make[1]: Leaving directory
> `/e/projects/antilles/Curacao/OS/CelesteRPM/pci-115200_build/services/memall
> oc/common/current'
> make: *** [build] Error 2
> 
> I tried to clean everything and rebuild but ....

Well it's just a simple invocation of the C preprocessor, so it should be
able to find pkgconf/system.h if it exists in
//E/projects/antilles/Curacao/OS/CelesteRPM/pci-115200_install/include

Perhaps try rerunning "ecosconfig tree", or equivalent in the Config Tool
to regenerate the build tree.

> And what is this tcl thing in eCos ??

TCL is the chosen scripting language for eCos due to its portability. CDL
is built on TCL. But it hasn't got as far as running the TCL script yet so
that's irrelevant anyway.
 
> It seems like a "heap-generator" thing (??) . Is that part of the stuff
> that's supposed to give malloc all the available memory?

Yes, when enabled in the platform MLT configuration, although this hasn't
been done for many platforms yet. Two examples already exist though,
mn10300 and ARM-ebsa285.

If you're interested in how it works, read
services/memalloc/common/current/doc/notes.txt.

Jifl
-- 
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS  Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow."  ||  These opinions are all my own fault

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