From: Cayce Balara Date: 2008-10-08T02:55:48+09:00 Subject: Re: Making/Compiling Gems on Windows with MinGW Okay - I have gotten rid of MinGW and installed VC6. At least now I am getting something, but still receiving errors. Would anyone who has responded be able to point me in the right direction for a resolution to the error below? thanks. c. c:/server/ruby/bin/ruby.exe extconf.rb install eventmachine checking for windows.h... yes checking for winsock.h... yes checking for main() in kernel32.lib... yes checking for main() in rpcrt4.lib... yes checking for main() in gdi32.lib... yes checking for main() in ssleay32.lib... no creating Makefile nmake Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved. cl -I. -I. -Ic:/server/ruby/lib/ruby/1.8/i386-mswin32 -I. -MD -Zi -O2b2xg- -G6 -DHAVE_WINDOWS_H -DHAVE_WINSOCK_H -D OS_WIN32 -D BUILD_FOR_RUBY -EHs -GR -D WITHOUT_SSL -c -Tpbinder.cpp Microsoft (R) 32-bit C/C++ Standard Compiler Version 12.00.8168 for 80x86 Copyright (C) Microsoft Corp 1984-1998. All rights reserved. Command line warning D4002 : ignoring unknown option '-Ob2' Command line warning D4002 : ignoring unknown option '-Og-' binder.cpp cl -I. -I. -Ic:/server/ruby/lib/ruby/1.8/i386-mswin32 -I. -MD -Zi -O2b2xg- -G6 -DHAVE_WINDOWS_H -DHAVE_WINSOCK_H -D OS_WIN32 -D BUILD_FOR_RUBY -EHs -GR -D WITHOUT_SSL -c -Tpcmain.cpp Microsoft (R) 32-bit C/C++ Standard Compiler Version 12.00.8168 for 80x86 Copyright (C) Microsoft Corp 1984-1998. All rights reserved. Command line warning D4002 : ignoring unknown option '-Ob2' Command line warning D4002 : ignoring unknown option '-Og-' cmain.cpp cl -I. -I. -Ic:/server/ruby/lib/ruby/1.8/i386-mswin32 -I. -MD -Zi -O2b2xg- -G6 -DHAVE_WINDOWS_H -DHAVE_WINSOCK_H -D OS_WIN32 -D BUILD_FOR_RUBY -EHs -GR -D WITHOUT_SSL -c -Tpcplusplus.cpp Microsoft (R) 32-bit C/C++ Standard Compiler Version 12.00.8168 for 80x86 Copyright (C) Microsoft Corp 1984-1998. All rights reserved. Command line warning D4002 : ignoring unknown option '-Ob2' Command line warning D4002 : ignoring unknown option '-Og-' cplusplus.cpp cl -I. -I. -Ic:/server/ruby/lib/ruby/1.8/i386-mswin32 -I. -MD -Zi -O2b2xg- -G6 -DHAVE_WINDOWS_H -DHAVE_WINSOCK_H -D OS_WIN32 -D BUILD_FOR_RUBY -EHs -GR -D WITHOUT_SSL -c -Tped.cpp Microsoft (R) 32-bit C/C++ Standard Compiler Version 12.00.8168 for 80x86 Copyright (C) Microsoft Corp 1984-1998. All rights reserved. Command line warning D4002 : ignoring unknown option '-Ob2' Command line warning D4002 : ignoring unknown option '-Og-' ed.cpp cl -I. -I. -Ic:/server/ruby/lib/ruby/1.8/i386-mswin32 -I. -MD -Zi -O2b2xg- -G6 -DHAVE_WINDOWS_H -DHAVE_WINSOCK_H -D OS_WIN32 -D BUILD_FOR_RUBY -EHs -GR -D WITHOUT_SSL -c -Tpem.cpp Microsoft (R) 32-bit C/C++ Standard Compiler Version 12.00.8168 for 80x86 Copyright (C) Microsoft Corp 1984-1998. All rights reserved. Command line warning D4002 : ignoring unknown option '-Ob2' Command line warning D4002 : ignoring unknown option '-Og-' em.cpp em.cpp(1193) : error C2374: 'i' : redefinition; multiple initialization em.cpp(1186) : see declaration of 'i' NMAKE : fatal error U1077: 'cl' : return code '0x2' Stop. -- Posted via http://www.ruby-forum.com/.