This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
heapgen.tcl problem.
- To: "Ecos-List (E-mail)" <ecos-discuss at sourceware dot cygnus dot com>
- Subject: [ECOS] heapgen.tcl problem.
- From: Fabrice Gautier <Fabrice_Gautier at sdesigns dot com>
- Date: Mon, 27 Nov 2000 12:23:51 -0800
Hi,
heapgen.tcl fails,
I think it happened with the last cvs update:
make -r -C services/memalloc/common/current heaps.cxx
make[1]: Entering directory
'/e/xxx/xxx_build/services/memalloc/common/current'
sh -c "PWD=`pwd` ;
cd //E/cvswork/ecos-ng/ecos/packages/services/memalloc/common/current/src ;
sh heapgen.tcl \"//E/xxxx/xxxx_install\" \"$PWD\""
couldn't read file "heapgeninc.tcl": no such file or directory
while executing
"source [ file join $builddir heapgeninc.tcl ]"
(file "heapgen.tcl" line 85) make[1]: *** [heaps.cxx] Error 1
I don't know tcl but it seems that $buildir is not correct. I modified the
set debug line in the script to see that it is not.
I think the problem is in the command used to execute the script. Indeed the
cdl has been modified with the last update:
***************
*** 221,229 ****
# an absolute path.
make -priority 50 {
heaps.cxx : heapgeninc.tcl <PACKAGE>/src/heapgen.tcl
! sh -c "cd $(REPOSITORY)/$(PACKAGE)/src ; sh heapgen.tcl
$(PREFIX)`pwd`"
! @cp heaps.hxx $(PREFIX)/include/pkgconf/heaps.hxx
! @chmod u+w $(PREFIX)/include/pkgconf/heaps.hxx
}
make_object {
--- 231,239 ----
# an absolute path.
make -priority 50 {
heaps.cxx : heapgeninc.tcl <PACKAGE>/src/heapgen.tcl
! sh -c "PWD=`pwd` ; cd $(REPOSITORY)/$(PACKAGE)/src ; sh
heapgen.tcl \"$(PREFIX)\" \"$$PWD\""
! @cp heaps.hxx "$(PREFIX)"/include/pkgconf/heaps.hxx
! @chmod u+w "$(PREFIX)"/include/pkgconf/heaps.hxx
}
make_object {
Thanks
--
Fabrice Gautier
fabrice_gautier@sdesigns.com