This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem with autoconf autodepend

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.


Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]