Bug #5706

Build failure on io/wait extension with VC 2010

Added by phasis68 (Heesob Park) 6 months ago. Updated 6 months ago.

[ruby-core:41475]
Status:Closed Start date:12/04/2011
Priority:Normal Due date:
Assignee:usa (Usaku NAKAMURA) % Done:

100%

Category:build
Target version:2.0.0
ruby -v:ruby 2.0.0dev (2011-12-03 trunk 33936)

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.

Associated revisions

Revision 33947
Added by usa (Usaku NAKAMURA) 6 months ago

* 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].

History

Updated by usa (Usaku NAKAMURA) 6 months 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) 6 months 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].

Also available in: Atom PDF