From: Bill Kelly Date: 2007-12-20T19:19:43+09:00 Subject: Re: Trunk failing to build on Win32 From: "Robert Hucik" > > cl -nologo -LD -Fe.ext/i386-mswin32/enc/iso8859_1.so > oldnames.lib user3 > 2.lib advapi32.lib shell32.lib ws2_32.lib -link -incremental:no - > debug -opt:ref -opt:icf -dll -def: -implib:iso8859_1-i386-mswin32.lib - > pdb:iso8859_1-i386-mswin32.pdb > LINK : fatal error LNK1146: no argument specified with option "/def:" > NMAKE : fatal error U1077: 'cl' : return code '0x2' > Stop. > NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~2\VC98\BIN\NMAKE.EXE' : > return code '0x2' > Stop. Hmm. I'm usually able to build trunk on win32. I was able to as recently as last week. (I'm using vs.net 2003.) As of tonight, though, after updating to SVN revision 14365, I'm getting an error while building extensions: compiling ripper Microsoft (R) Program Maintenance Utility Version 7.10.3077 Copyright (C) Microsoft Corporation. All rights reserved. NMAKE : fatal error U1073: don't know how to make 'ripper.c' Stop. NMAKE : fatal error U1077: '.\miniruby.exe' : return code '0x1' Stop. .... Hmm, strange, looks like ripper.c should have been built using the .y.c rule in the Makefile. I hacked in an explicit rule for ripper.c, based on the .y.c rule: ripper.c: ripper.y $(BISON) -t -v -oy.tab.c ripper.y sed -f $(top_srcdir)/tool/ytab.sed -e "/^#/s!y\.tab\.c!$@!" y.tab.c > $@ @$(RM) y.tab.c After that, all of trunk built for me. Note, I do have cygwin installed, which is providing some of the tools like `bison` and `sed` which are used during some parts of the build. Regards, Bill