X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.6 required=5.0	tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <loom.20100514T230149-526@post.gmane.org>
References: <loom.20100514T230149-526@post.gmane.org>
Date: Fri, 14 May 2010 18:12:30 -0500
Message-ID: <AANLkTil656K188RU8x3TWPXD9_-c1fyCWZ2az8RIcQNj@mail.gmail.com>
Subject: Re: Cygwin, Windows 7, GNU make, and error 31
From: Rance Hall <ranceh@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Fri, May 14, 2010 at 4:25 PM, Damien Kick <dkick1@me.com> wrote:
> I keeping having 'make' error out on me in ways similar to this:
>
> c:/VS.NET2005/vc/bin/mt.exe /nologo /manifest
> c:/foo/bar/Unidirectional_1.t.exe.manifest /outputresource:'c:/foo/bar/Un=
idirec
> tional_1.t.exe;#1'
> C:\bin\gnumake.exe[2]: *** [c:/foo/bar/Unidirectional_1.t.exe] Error 31
> C:\bin\gnumake.exe[2]: *** Deleting file `c:/foo/bar/Unidirectional_1.t.e=
xe'
> C:\bin\gnumake.exe[2]: Leaving directory `C:/foo/bar'
> C:\bin\gnumake.exe[1]: *** [bar.build_tests] Error 2
> C:\bin\gnumake.exe[1]: Leaving directory `C:/foo'
> C:\bin\gnumake.exe: *** [foo.build_tests] Error 2
>
> It doesn't seem to me like 'mt.exe' is failing and so I can't figure out
> why 'make' is failing. =A0If I simply rerun the command without changing
> anything, it works just fine the second time. =A0Thanks in advance for an=
y help.
>
> Here is the version information.
>
> $ uname -a
> CYGWIN_NT-6.1-WOW64 DamienDesktop 1.7.5(0.225/5/3) 2010-04-12 19:07 i686 =
Cygwin
>


Something very similar happened to me some time ago with a another
project.  In that case, the first make was expecting temporary files,
It made them, but didn't wait for the IO to finish so that when the
file was opened, it really was there.  On the second make pass, the
file wasn't made because it was present.  Making the second attempt
succeed.

I can't say if this is your issue or not, but its worth looking at.

Hope this helps.

Rance

--
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

