Project

General

Profile

Actions

Bug #6049

closed

Build failure on enc/mktable.so with VC 2010Build failure on enc/mktable.so with VC 2010

Added by phasis68 (Heesob Park) about 12 years ago. Updated about 12 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.0.0dev (2012-02-19) [i386-mswin32_100]
Backport:
[ruby-core:42760]

Description

I got the following failure on Windows XP with VC 2010 while building trunk.

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 =

...
compiling ./enc/mktable.c
mktable.c
linking encoding mktable.so
mktable.def : error LNK2001: unresolved external symbol "Init_mktable"
enc/mktable.lib : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: '"F:\Program Files\Microsoft Visual Studio 10.0\VC\BIN\cl.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"F:\Program Files\Microsoft Visual Studio 10.0\VC\BIN\nmake.EXE"' : return code '0x2'
Stop.

If I run nmake again, the build succeeded without error.

Actions

Also available in: Atom PDF

Like0
Like0