[Win32utils-devel] Compilation errors

Shashank Date sdate at everestkc.net
Sun Feb 27 11:26:14 EST 2005

Hi Park,

One more thing. I have the following (see below) Microsoft products 
installed on  my machine.
Notice that there many places (in bold) where you find the compiler. Do 
you think
I am compiling/linking with the wrong INCLUDE and LIB files? This is how 
I have set them:

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Program Files\Microsoft Visual C++ Toolkit 2003\bin;
C:\Program Files\Microsoft SDK\Bin\Win64;
C:\Program Files\Microsoft SDK\Bin;C:\bison\bin;c:\ruby\bin;

C:\win32utils>Set INCLUDE=C:\Program Files\Microsoft Visual C++ Toolkit 
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\include;
C:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK\include;
C:\OpenSSL\include;C:\Program Files\Microsoft Visual Studio\VC98\Include;

C:\win32utils>Set LIB=C:\Program Files\Microsoft Visual C++ Toolkit 
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\lib;
C:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK\Lib\;
C:\OpenSSL\lib\VC;C:\Program Files\Microsoft VisualStudio\VC98\LIB

C:\win32utils>cd ..

C:\>cd "Program Files"

C:\Program Files>dir  Micro*
 Volume in drive C has no label.
 Volume Serial Number is 6B0E-6992

 Directory of C:\Program Files

01/20/2005  11:59 PM    <DIR>          Microsoft ACT
10/04/2003  03:14 PM    <DIR>          Microsoft ActiveSync
11/05/2003  08:28 AM    <DIR>          Microsoft Expedia
01/01/2003  04:49 AM    <DIR>          microsoft frontpage
01/20/2005  11:59 PM    <DIR>          Microsoft Office
*10/29/2004  07:16 PM    <DIR>          Microsoft Platform SDK for 
Windows XP SP2
02/29/2004  01:27 PM    <DIR>          Microsoft SDK*
03/05/2004  08:04 PM    <DIR>          Microsoft SQL Server
*10/29/2004  07:23 PM    <DIR>          Microsoft Visual C++ Toolkit 2003
10/04/2003  03:43 PM    <DIR>          Microsoft Visual Studio
01/21/2005  12:29 AM    <DIR>          Microsoft Visual Studio .NET
12/02/2003  11:31 PM    <DIR>          Microsoft Visual Studio .NET 2003
01/20/2005  11:59 PM    <DIR>          Microsoft.NET*
               0 File(s)              0 bytes
              13 Dir(s)   6,174,777,344 bytes free

C:\Program Files>

Park Heesob wrote:

>>Any ideas of what could be wrong with my process?
>>-- shanko
>>creating Makefile
>> cl -nologo -MD -Zi -O2b2xg- -G5 -I. 
>>-Ic:/ruby/lib/ruby/1.8/i386-mswin32 -Ic:/ruby/lib/ruby/1.8/i386-mswin32 
>>-I.  -I. -I./.. -I./../missing -c -Tcpipe.c
>> cl -nologo -LD -Fepipe.so pipe.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:pipe-i386-mswin32.def
>>  Creating library pipe.lib and object pipe.exp
>>pipe.obj : error LNK2019: unresolved external symbol __ftol2 referenced 
>>in function _pipe_wait
>>pipe.so : fatal error LNK1120: 1 unresolved externals

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/win32utils-devel/attachments/20050227/fef87125/attachment.htm

More information about the win32utils-devel mailing list