From: Park Heesob Date: 2004-05-12T22:42:52+09:00 Subject: Re: popen3 on windows Hi, > > Park, > > I tried compiling this new release using the VC++ 6.0 and I got this error: > ------------------------------------------------------ > Microsoft Windows XP [Version 5.1.2600] > (C) Copyright 1985-2001 Microsoft Corp. > > C:\extract\_ruby\popen3>ruby extconf.rb > creating Makefile > > C:\extract\_ruby\popen3>nmake > > Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 > Copyright (C) Microsoft Corp 1988-1998. All rights reserved. > > > cl -nologo -MD -Zi -O2b2xg- -G6 -I. -Ic:/ruby/lib/ruby/1.8/i386-mswin32 -Ic: > /ruby/lib/ruby/1.8/i386-mswin32 -I. -I. -I./.. -I./../missing -c -Tcwin32_p > open.c > win32_popen.c > cl -nologo -LD -Fewin32_popen.so w9xpopen.obj win32_popen.obj > msvcrt-ruby18.lib oldnames.lib user32.lib advapi32.lib > wsock32.lib -link -incremental:no -debug -opt:ref -opt:icf -dll -libpath:"c > :/ruby/lib" -def:win32_popen-i386-mswin32.def > Creating library win32_popen.lib and object win32_popen.exp > LINK : warning LNK4089: all references to "USER32.dll" discarded by /OPT:REF > w9xpopen.obj : fatal error LNK1202: "C:\extract\_ruby\popen3\vc60.pdb" is > missing debugging information for referencing module > NMAKE : fatal error U1077: 'cl' : return code '0x2' > Stop. > It is due to w9xpopen.c included for Windows 98. Retry after remove w9xpopen.c, w9xpopen.obj and *.pdb Regards, Park Heesob