Project

General

Profile

Actions

Bug #10029

closed

miss probes.h when nmake

Added by sevk (kk kk) over 10 years ago. Updated over 5 years ago.

Status:
Closed
Target version:
-
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.

Updated by nobu (Nobuyoshi Nakada) over 10 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

Updated by usa (Usaku NAKAMURA) over 10 years ago

Nobuyoshi Nakada wrote:

I can't reproduce your environment.

Me too.

Updated by phasis68 (Heesob Park) over 10 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.

Updated by sevk (kk kk) over 10 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 ?

Updated by nobu (Nobuyoshi Nakada) over 10 years ago

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

Updated by sevk (kk kk) over 10 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 )

Actions #7

Updated by jeremyevans0 (Jeremy Evans) over 5 years ago

  • Status changed from Feedback to Closed
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0