On May 21, 2008, at 1:27 PM, Paul Smith wrote:
On Wed, 2008-05-21 at 13:22 -0700, Garrett Cooper wrote:
Trying out a recursive include, I seem to have run into a resource
issue:
make[2]: Entering directory `/scratch/ltp-full-20080430/tools/apicmds
../Makefile.inc:4: ../Makefile.inc: Too many open files
make[2]: *** No rule to make target `all'. Stop.
Running FC8 with a self-rolled copy of make-3.81. No patches or
functional changes apart from a few debug lines.
What sections of the make code (i.e. which parts in read.c?) should I
look into for solving this issue / finding "leaky filehandles", or is
this a known issue?
This looks like a bug in your makefile, where you're including the
same
file recursively, forever. I expect if you run with -d you'll see
this.
You're absolutely right once again -_-... forgot that the a relative
path isn't established for child makefiles. Fixed.
-Garrett
_______________________________________________
Bug-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-make