Bug #5706
closedBuild failure on io/wait extension with VC 2010
Description
I get the following failure on Windows 7 with VC 2010 while building trunk@33936.
C:\work\snapshot>nmake
Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.
CC = cl -nologo
LD = cl -nologo
LDSHARED = cl -nologo -LD
CFLAGS = -MD -Zi -W2 -wd4996 -we4028 -we4142 -O2sy- -Zm600
XCFLAGS = -DRUBY_EXPORT -I. -I.ext/include/i386-mswin32_100 -I./include -I. -I./missing
CPPFLAGS =
DLDFLAGS = -incremental:no -debug -opt:ref -opt:icf -dll
SOLIBS =
...
installing default nonblock libraries
linking shared-object io/wait.so
Creating library wait-i386-mswin32_100.lib and object wait-i386-mswin32_100.exp
wait.obj : error LNK2019: unresolved external symbol _rb_w32_ioctlsocket@12 referenced in function _io_nread
../../../.ext/i386-mswin32_100/io/wait.so : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\cl.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\nmake.EXE"' : return code '0x2'
Stop.
Updated by usa (Usaku NAKAMURA) almost 13 years ago
- Category set to build
- Status changed from Open to Assigned
- Assignee set to usa (Usaku NAKAMURA)
- Target version set to 2.0.0
Updated by usa (Usaku NAKAMURA) almost 13 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
This issue was solved with changeset r33947.
Heesob, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
-
include/ruby/{subst.h,win32.h}, ext/socket/rubysocket.h: revert
r33876. [ruby-core:41475] [Bug #5706] -
ext/socket/extconf.rb: the alternative hack for [Bug #5675].