From: nobu.nokada@... Date: 2002-08-16T10:58:12+09:00 Subject: Re: Win32 build problems Hi, # why lines are concatenated? At Fri, 16 Aug 2002 08:15:35 +0900, John Aronson wrote: > 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. -- Nobu Nakada