G:\ruby-2.1.2\win32>nmake
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
CC = cl -nologo
LD = cl -nologo
LDSHARED = cl -nologo -LD
CFLAGS = -MD -Zi -W2 -O2b2xg- -G6 -Zm600
XCFLAGS = -DRUBY_EXPORT -I. -I.ext/include/i386-mswin32 -IG:/ruby-2.1.2/
include -IG:/ruby-2.1.2 -IG:/ruby-2.1.2/missing
CPPFLAGS =
DLDFLAGS = -incremental:no -debug -opt:ref -opt:icf -dll
SOLIBS =
Creating config.h
.ext\include\i386-mswin32\ruby\config.h updated
Creating config.status
compiling G:/ruby-2.1.2/main.c
main.c
...
compiling file.c
file.c
compiling G:/ruby-2.1.2/gc.c
gc.c
G:/ruby-2.1.2/gc.c(4508) : warning C4244: '=' : conversion from 'double ' to 'un
signed int ', possible loss of data
G:/ruby-2.1.2/gc.c(4509) : warning C4244: '=' : conversion from 'double ' to 'un
signed int ', possible loss of data
compiling G:/ruby-2.1.2/hash.c
hash.c
...
compiling G:/ruby-2.1.2/dmyext.c
dmyext.c
oldnames.lib user32.lib advapi32.lib shell32.lib ws2_32.lib imagehlp.lib shlwapi
.lib
linking miniruby.exe
file.obj : error LNK2005: rb_file_expand_path_internal already defined in file.
obj
file.obj : error LNK2005: rb_file_load_ok already defined in file.obj
file.obj : error LNK2005: Init_w32_codepage already defined in file.obj
dir.obj : error LNK2001: unresolved external symbol rb_enc_path_skip_prefix
dir.obj : error LNK2001: unresolved external symbol _rb_str_encode_ospath
load.obj : error LNK2001: unresolved external symbol _rbstr_encode_ospath
io.obj : error LNK2001: unresolved external symbol _rb_str_encode_ospath
ruby.obj : error LNK2001: unresolved external symbol _rbstr_encode_ospath
dir.obj : error LNK2001: unresolved external symbol rb_file_const
dir.obj : error LNK2001: unresolved external symbol rb_cFile
io.obj : error LNK2001: unresolved external symbol _rbcFile
dir.obj : error LNK2001: unresolved external symbol _rbfile_directory_p
iseq.obj : error LNK2001: unresolved external symbol _rbget_path
dir.obj : error LNK2001: unresolved external symbol rb_get_path
load.obj : error LNK2001: unresolved external symbol rb_get_path
io.obj : error LNK2001: unresolved external symbol rb_get_path
process.obj : error LNK2001: unresolved external symbol _rbgetpath
dir.obj : error LNK2001: unresolved external symbol rb_enc_path_end
dir.obj : error LNK2001: unresolved external symbol _rbget_pathno_checksafe
dir.obj : error LNK2001: unresolved external symbol _rb_default_home_dir
dir.obj : error LNK2001: unresolved external symbol _rb_home_dir_of
dln_find.obj : error LNK2001: unresolved external symbol _eaccess
win32.obj : error LNK2001: unresolved external symbol _eaccess
eval.obj : error LNK2001: unresolved external symbol _rbfile_dirname
load.obj : error LNK2001: unresolved external symbol rb_file_dirname
load.obj : error LNK2001: unresolved external symbol rb_file_expand_path_fast
load.obj : error LNK2001: unresolved external symbol rb_get_path_check_convert
load.obj : error LNK2001: unresolved external symbol _rb_is_absolute_path
load.obj : error LNK2001: unresolved external symbol _rbget_path_check_to_strin
g
load.obj : error LNK2001: unresolved external symbol _rbfind_file
load.obj : error LNK2001: unresolved external symbol rb_realpath_internal
ruby.obj : error LNK2001: unresolved external symbol _rb_realpath_internal
iseq.obj : error LNK2001: unresolved external symbol _rbrealpath_internal
load.obj : error LNK2001: unresolved external symbol _rbfile_absolute_path
load.obj : error LNK2001: unresolved external symbol rb_find_file_ext_safe
load.obj : error LNK2001: unresolved external symbol rb_find_file_safe
gc.obj : error LNK2001: unresolved external symbol __aligned_malloc
gc.obj : error LNK2001: unresolved external symbol _aligned_free
hash.obj : error LNK2001: unresolved external symbol _rbpath_check
io.obj : error LNK2001: unresolved external symbol _Init_File
ruby.obj : error LNK2001: unresolved external symbol _rb_file_expand_path
miniruby.exe : fatal error LNK1120: 26 unresolved externals
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.