Problem with autoconf autodepend

Ken Brown kbrown@cornell.edu
Mon Nov 23 15:30:00 GMT 2009


On 11/22/2009 10:39 PM, Dave Korn wrote:
> Ken Brown wrote:
> 
>> I guess so.  I wonder if there's a timing problem so that the deps
>> directory isn't being created before it needs to be used.  But here's
>> something very strange:  Angelo Graziosi, who is also playing with this,
>> told me that he *doesn't* get error if he does 'make -j4', but he gets
>> the same error I get with just plain 'make'.  I would expect the
>> opposite if it were a timing problem.
> 
>   No, that (potentially) makes perfect sense to me.  There's a bug in the
> makefile; it either has no or wrong dependency for the deps subdir, so it
> doesn't get created until later in the dependency order than it is first
> actually needed.  If you run at -j4, some of the things later in the
> dependency order get to happen earlier, including perhaps creating the deps
> directory, but if you run it in serial dependency order at -j1 the deps dir
> isn't created in time before it's first used.
> 
>   Can't say for sure whether or not that is what's actually happening, but
> it's quite plausible.

Thanks for the explanations, Dave.  I was confused.

There was indeed a missing dependency in the makefile, which they have 
now fixed.

Ken

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list