[ruby-core:76247] Ruby 2.1.9 compilation error

From: Ivan Serdyuk <local.tourist.kiev@...>
Date: 2016-07-03 12:24:24 UTC
List: ruby-core #76247
Using Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.42
for 80x86 (VS 2005)

Tried to compile Ruby for Windows XP. Got this bug:

compiling win32/win32.c
win32.c
win32/win32.c(3886) : error C2143: syntax error : missing ')' before '*'
win32/win32.c(3886) : error C2081: 'NET_LUID' : name in formal parameter
list il
legal
win32/win32.c(3886) : error C2143: syntax error : missing '{' before '*'
win32/win32.c(3886) : error C2059: syntax error : ')'
win32/win32.c(3886) : error C2059: syntax error : ';'
win32/win32.c(3887) : error C2143: syntax error : missing ')' before '*'
win32/win32.c(3887) : error C2143: syntax error : missing '{' before '*'
win32/win32.c(3887) : error C2059: syntax error : ','
win32/win32.c(3887) : error C2059: syntax error : ')'
win32/win32.c(3888) : error C2061: syntax error : identifier
'pConvertInterfaceG
uidToLuid'
win32/win32.c(3888) : error C2059: syntax error : ';'
win32/win32.c(3888) : error C2513: '/*global*/ ' : no variable declared
before '
='
win32/win32.c(3889) : error C2061: syntax error : identifier
'pConvertInterfaceL
uidToNameA'
win32/win32.c(3889) : error C2059: syntax error : ';'
win32/win32.c(3889) : error C2513: '/*global*/ ' : no variable declared
before '
='
win32/win32.c(3912) : error C2065: 'pConvertInterfaceGuidToLuid' :
undeclared id
entifier
win32/win32.c(3914) : error C2065: 'cigl_t' : undeclared identifier
win32/win32.c(3914) : error C2146: syntax error : missing ';' before
identifier
'get_proc_address'
win32/win32.c(3916) : error C2065: 'pConvertInterfaceLuidToNameA' :
undeclared i
dentifier
win32/win32.c(3918) : error C2065: 'cilnA_t' : undeclared identifier
win32/win32.c(3918) : error C2146: syntax error : missing ';' before
identifier
'get_proc_address'
win32/win32.c(3925) : error C2065: 'NET_LUID' : undeclared identifier
win32/win32.c(3925) : error C2146: syntax error : missing ';' before
identifier
'luid'
win32/win32.c(3925) : error C2065: 'luid' : undeclared identifier
win32/win32.c(3934) : error C2063: 'pConvertInterfaceGuidToLuid' : not a
functio
n
win32/win32.c(3935) : error C2063: 'pConvertInterfaceLuidToNameA' : not a
functi
on
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
8\VC\BIN\c
l.EXE"' : return code '0x2'
Stop.

Got this even for latest Ruby 2.3.1 source code

Regards
Ivan

Unsubscribe: <mailto:[email protected]?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next