X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00,SPF_NEUTRAL X-Spam-Check-By: sourceware.org Message-ID: <4B09F60F.40100@cornell.edu> Date: Sun, 22 Nov 2009 21:40:15 -0500 From: Ken Brown User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Problem with autoconf autodepend References: <4B09B81C DOT 5010806 AT cornell DOT edu> <4B09CA68 DOT 7080805 AT gmail DOT com> In-Reply-To: <4B09CA68.7080805@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 11/22/2009 6:34 PM, Dave Korn wrote: > Ken Brown wrote: > >> And here's the build failure: >> >> gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/tmp/emacs/src >> -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 >> -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 >> -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 >> -I/usr/include/freetype2 -I/usr/include/libpng12 >> -I/usr/include/freetype2 -g -O2 -Wdeclaration-after-statement >> -Wno-pointer-sign -MMD -MF deps/ecrt0.d /tmp/emacs/src/ecrt0.c >> /tmp/emacs/src/ecrt0.c:106: fatal error: opening dependency file >> deps/ecrt0.d: No such file or directory > > A similar command-line with a random .c file I had lying around worked fine > - unless I didn't create the deps directory first. Is that what happened here? 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. I'm also confused about what the configure test is supposed to be doing (see my original post). I can't see that it creates the deps directory, so I don't understand why it succeeds. 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