Bug #7421

Build failure of snapshot with VC 2010

Added by Heesob Park over 1 year ago. Updated over 1 year ago.

[ruby-core:49839]
Status:Closed
Priority:Normal
Assignee:-
Category:-
Target version:-
ruby -v:ruby 2.0.0dev (2012-11-22 trunk 37790) [i386-mswin32_100] Backport:

Description

I get the following failure with VC 2010 while building snapshot(trunk@37790).

C:\work\snapshot>win32\configure.bat
Creating Makefile.new
"type `nmake' to make ruby."

C:\work\snapshot>nmake

Microsoft(R) Program Maintenance Utility 버전 10.00.30319.01
Copyright (c) Microsoft Corporation. 모든 권리 보유.

    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 =
Creating config.h
.ext\include\i386-mswin32_100\ruby\config.h updated.
Creating verconf.h
verconf.h updated.
Creating config.status
compiling main.c
main.c
compiling dmydln.c
dmydln.c
compiling miniruby.rc
compiling dmyencoding.c
dmyencoding.c
compiling version.c
version.c
compiling dmyversion.c
dmyversion.c
compiling miniprelude.c
miniprelude.c
compiling array.c
array.c
array.c(19) : fatal error C1083: 포함 파일을 열 수 없습니다. 'probes.h': No such file or directory
NMAKE : fatal error U1077: '"F:\Program Files\Microsoft Visual Studio 10.0\VC\BIN\cl.EXE"' : '0x2' 반환 코드입니다.
Stop.

After copying probes.dhmyh to probes.h, I could build snapshot version.

Associated revisions

Revision 37802
Added by Usaku NAKAMURA over 1 year ago

  • common.mk, Makefile.in, win32/Makefile.sub (.dmyh.h): nmake merges explicit rules for same target, but not merges exlicit rules and implicit rules -- always explict rules win. So, need to add an explist rule for probes.h. reported by Heesob Park at [Bug #7421]

History

#1 Updated by Usaku NAKAMURA over 1 year ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r37802.
Heesob, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


  • common.mk, Makefile.in, win32/Makefile.sub (.dmyh.h): nmake merges explicit rules for same target, but not merges exlicit rules and implicit rules -- always explict rules win. So, need to add an explist rule for probes.h. reported by Heesob Park at [Bug #7421]

Also available in: Atom PDF