[Win32utils-devel] Compilation errors

Shashank Date sdate at everestkc.net
Sun Feb 27 02:14:25 EST 2005


Dan, Park,

I am working on building the one-click installer for win32-utils and am 
using the free Microsoft Visual C++ Toolkit 2003 to compile it. All 
components compile fine except these two: win32-pipe, win32-taskscheduler

Any ideas of what could be wrong with my process?

Thanks,
-- shanko

win32-pipe:
-------------------------

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
pipe.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

win32-taskscheduler:
-------------------------

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 -Tptaskscheduler.c
taskscheduler.c
c:\win32utils\win32-taskscheduler\taskscheduler.h(51) : error C2668: 
'log' : ambiguous call to overloaded function
        C:\Program Files\Microsoft Visual C++ Toolkit 
2003\include\math.h(612): could be 'long double log(long double)'
        C:\Program Files\Microsoft Visual C++ Toolkit 
2003\include\math.h(564): or       'float log(float)'
        C:\Program Files\Microsoft Visual C++ Toolkit 
2003\include\math.h(193): or       'double log(double)'
        while trying to match the argument list '(DWORD)'
c:\win32utils\win32-taskscheduler\taskscheduler.h(51) : error C2668: 
'log' : ambiguous call to overloaded function
        C:\Program Files\Microsoft Visual C++ Toolkit 
2003\include\math.h(612): could be 'long double log(long double)'
        C:\Program Files\Microsoft Visual C++ Toolkit 
2003\include\math.h(564): or       'float log(float)'
        C:\Program Files\Microsoft Visual C++ Toolkit 
2003\include\math.h(193): or       'double log(double)'
        while trying to match the argument list '(int)'




More information about the win32utils-devel mailing list