Win32 build problems

Hi,

I’m trying to build Ruby 1.6.7 on a Win32 machine and I got this error:

win32.obj : error LNK2001: unresolved external symbol __imp____pioinfominiruby.exe : fatal error LNK1120: 1 unresolved externalsNMAKE : fatal error U1077: ‘cl’ : return code '0x2’Stop.
Has anyone seen this error before? Google gave me a hit on the symbol name, but the web page was in Japanese. I’m using a fresh install of Visual C++ 4.0 and my environment is:

include=c:\msdev\include;c:\msdev\mfc\include;%include%
lib=c:\msdev\lib;c:\msdev\mfc\lib;%lib%

John Aronson

Hi,

why lines are concatenated?

I’m trying to build Ruby 1.6.7 on a Win32 machine and I got this error:

win32.obj : error LNK2001: unresolved external symbol __imp____pioinfo
miniruby.exe : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: ‘cl’ : return code '0x2’
Stop.

Has anyone seen this error before? Google gave me a hit on
the symbol name, but the web page was in Japanese. I’m using
a fresh install of Visual C++ 4.0 and my environment is:

Insert following line before !INCLUDE line in Makefile created
by configure.bat.

CFLAGS = -nologo -DNT=1 -ML -Zi -O2b2x -G5

While CFLAGS is defaulted to use `-MD’ in win32/Makefile.sub
for VC 5.0 or later, msvcrt.dll in VC 4.0 doesn’t have/export
__pioinfo needed by ruby. So you should link with libc.lib
instead of msvcrt.lib.

···

At Fri, 16 Aug 2002 08:15:35 +0900, John Aronson wrote:


Nobu Nakada