From: Austin Ziegler Date: 2005-12-27T13:01:45+09:00 Subject: Re: Problems building 1.8.4 with VS8 C++ Express Edition (cl 14.00) On 26/12/05, U.Nakamura wrote: > In message "Problems building 1.8.4 with VS8 C++ Express Edition (cl 14.00)" > on Dec.27,2005 11:09:27, wrote: > | Unfortunately, my process died with: > | > | .\miniruby.exe ./../win32/mkexports.rb -output=msvcr80-ruby18.def > | msvcr80-ruby18-static.lib > | This application has requested the Runtime to terminate it in an > | unusual way. Please contact the application's support team for more > | information. > | > | ./../win32/mkexports.rb:6: [BUG] Segmentation fault > | ruby 1.8.4 (2005-12-24) [i386-mswin32] > | > | NMAKE : fatal error U1077: '.\miniruby.exe' : return code '0x3' > | Stop. > > Does this patch help you? > > --- win32.c.orig 2005-11-28 13:24:26.000000000 +0900 > +++ win32.c 2005-12-27 11:15:19.911393600 +0900 > @@ -1559,2 +1559,6 @@ typedef struct { > #endif > +#if _MSC_VER >= 1400 > + char textmode; > + char pipech2[2]; > +#endif > } ioinfo; Partially. Bizarrely, the Makefile patch that I gave only suppresses most of the warnings about deprecation. I now get an error around: compiling nkf Microsoft (R) Program Maintenance Utility Version 7.00.8882 Copyright (C) Microsoft Corp 1988-2000. All rights reserved. ..\..\miniruby.exe -I'../..' -I'../.././../lib' -e "puts 'EXPORTS', 'Init_nkf'" > nkf-i386-mswin32.def cl -nologo -MD -Zi -O2b2xty- -G6 -I. -I../.. -I../.././.. -I../.././../ext/nkf -c -Tc../.././../ext/nkf/nkf.c cl : Command line warning D9002 : ignoring unknown option '-G6' nkf.c cl -nologo -LD -Fe../../.ext/i386-mswin32/nkf.so nkf.obj msvcr80-ruby18.lib oldnames.lib user32.lib advapi32.lib wsock32.lib -link -incremental:no -debug -opt:ref -opt:icf -dll -libpath:"../.." -def:nkf-i386-mswin32.def -implib:nkf-i386-mswin32.lib -pdb:nkf-i386-mswin32.pdb Creating library nkf-i386-mswin32.lib and object nkf-i386-mswin32.exp copy > nul ..\..\.\..\ext\nkf\lib\kconv.rb ..\..\.ext compiling openssl NMAKE : fatal error U1077: '.\miniruby.exe' : return code '0xc000000d' Stop. Once I can get everything built with this, I will be looking at making sure that some of the prerequisites are there (e.g., zlib, openssl, etc.). -austin -- Austin Ziegler * halostatue@gmail.com * Alternate: austin@halostatue.ca