Project

General

Profile

Bug #10029

miss probes.h when nmake

Added by kk kk about 2 years ago. Updated about 2 years ago.

Status:
Feedback
Priority:
Normal
ruby -v:
2.1.2
[ruby-core:63660]

Description

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.

History

#1 [ruby-core:63661] Updated by Nobuyoshi Nakada about 2 years ago

  • Status changed from Open to Feedback
  • Description updated (diff)

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

#2 [ruby-core:63662] Updated by Usaku NAKAMURA about 2 years ago

Nobuyoshi Nakada wrote:

I can't reproduce your environment.

Me too.

#3 [ruby-core:63663] Updated by Heesob Park about 2 years ago

The version 6.00.8168.0 of nmake.exe is a part of Visual Studio 6.0.
It seems that ruby-2.1.2 cannot be built with Visual C++ 6.0.

#4 [ruby-core:63664] Updated by kk kk about 2 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 ?

#5 [ruby-core:63665] Updated by Nobuyoshi Nakada about 2 years ago

How did you get the source, and what is the exact revision?

#6 [ruby-core:63698] Updated by kk kk about 2 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 )

Also available in: Atom PDF