miss probes.h when nmake
G:\ruby-2.1.2>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 -I./include -I. -I./missing CPPFLAGS = DLDFLAGS = -incremental:no -debug -opt:ref -opt:icf -dll SOLIBS = Creating config.h .ext\include\i386-mswin32\ruby\config.h unchanged Creating config.status compiling array.c array.c array.c(19) : fatal error C1083: Cannot open include file: 'probes.h': No such f ile or directory NMAKE : fatal error U1077: 'cl' : return code '0x2' Stop.
#1 [ruby-core:63661] Updated by nobu (Nobuyoshi Nakada) about 3 years ago
- Description updated (diff)
- Status changed from Open to Feedback
I can't reproduce your environment.
probes.h should be copied from probes.dmyh.
> nmake array.obj -n echo copying dummy probes.h if exist probes.dmyh ( @ copy > nul probes.dmyh probes.h ) else ( @ copy > nul ..\src\probes.dmyh probes.h ) echo compiling ../src/array.c cl -nologo -MD -Zi -W2 -O2b2xg- -G6 -Zm600 -DRUBY_EXPORT -I. -I.ext/include/i386-mswin32 -I../src/include -I../src -I../src/missing -Foarray.obj -c -Tc../src/array.c
#4 [ruby-core:63664] Updated by sevk (kk kk) about 3 years ago
G:\ruby-2.1.2>nmake array.obj -n Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved. echo compiling array.c cl -nologo -MD -Zi -W2 -O2b2xg- -G6 -Zm600 -DRUBY_EXPORT -I. -I.ext/inc lude/i386-mswin32 -I./include -I. -I./missing -Foarray.obj -c -Tcarray.c
you can install virtualbox and install vc6.0 :)
why my "nmake array.obj -n" is different from your's ?
#6 [ruby-core:63698] Updated by sevk (kk kk) about 3 years ago
Nobuyoshi Nakada wrote:
How did you get the source, and what is the exact revision?
I delete all source, and run
nmake array.obj -n ,the result is same to you. fixed.
( I think the reason is I run configure.bat at win32 dir , and I did't know how to clean the config files )