Cygwin, Windows 7, GNU make, and error 31

Rance Hall ranceh@gmail.com
Sat May 15 02:21:00 GMT 2010


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/Unidirec
> 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.exe'
> 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.  If I simply rerun the command without changing
> anything, it works just fine the second time.  Thanks in advance for any 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



More information about the Cygwin mailing list