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: References: Date: Fri, 14 May 2010 18:12:30 -0500 Message-ID: Subject: Re: Cygwin, Windows 7, GNU make, and error 31 From: Rance Hall To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 Fri, May 14, 2010 at 4:25 PM, Damien Kick 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