delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/05/14/19:12:39

X-Recipient: archive-cygwin AT delorie DOT 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 DOT 20100514T230149-526 AT post DOT gmane DOT 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 AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 Fri, May 14, 2010 at 4:25 PM, Damien Kick <dkick1 AT me DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019