[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fwd: Issue with recursive includes, resource limits, and make-3.81?
From: |
Paul Smith |
Subject: |
Re: Fwd: Issue with recursive includes, resource limits, and make-3.81? |
Date: |
Wed, 21 May 2008 16:27:11 -0400 |
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.