急问!有人用过inline::ruby模块吗?

急问!有人用过inline::ruby模块吗?
为什么我这里老是编译出错? win xp下
D:\>cd d:\Inline-Ruby-0.02

D:\Inline-Ruby-0.02>perl Makefile.PL
Found 6 ruby executables on your PATH.
1.
2.
3.
4.
5.
6.
Use which? [1]
Using d:\ruby\bin/ruby
Using these settings:
Extra Libs: oldnames.lib user32.lib advapi32.lib wsock32.lib
Ruby Lib: -Ld:/ruby/lib msvcrt-ruby18.lib
Includes: -Id:/ruby/lib/ruby/1.8/i386-mswin32
Extra Flags: none (perl Makefile.PL --help for details)
Checking if your kit is complete...
Looks good
Have D:\perl\lib\Config.pm expected F:\Perl\lib\Config.pm
Your perl and your Config.pm seem to have different ideas about the
architecture they are running on.
Perl thinks: [lib]
Config says: [MSWin32-x86-multi-thread]
This may or may not cause problems. Please check your installation of perl
if you have problems building this extension.
Writing Makefile for Inline::Ruby

D:\Inline-Ruby-0.02>nmake

Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

cp lib/Inline/Ruby.pod blib\lib\Inline\Ruby.pod
cp Ruby.pm blib\lib\Inline\Ruby.pm
D:\perl\bin\perl.exe D:\perl\lib\ExtUtils/xsubpp -typemap F:\Perl\lib\E
xtUtils\typemap Ruby.xs > Ruby.xsc && D:\perl\bin\perl.exe -MExtUtils::Command
-e mv Ruby.xsc Ruby.c
cl -c -Id:/ruby/lib/ruby/1.8/i386-mswin32 -nologo -Gf -W3 -MD -Zi -DND
EBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DBUILT_BY_ACTIVESTATE
-DNO_HASH_SEED -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS
-DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1 -DVERSION=\"0.02\" -
DXS_VERSION=\"0.02\" "-IF:\Perl\lib\CORE" -UEXPOSE_PERL -DCREATE_RUBY -UCREATE
_PERL Ruby.c
Ruby.c
D:\Program Files\Microsoft Visual Studio\VC98\include\signal.h(102) : error C205
9: syntax error : '('
D:\Program Files\Microsoft Visual Studio\VC98\include\malloc.h(106) : error C205
9: syntax error : '('
D:\Program Files\Microsoft Visual Studio\VC98\include\malloc.h(107) : error C205
9: syntax error : '('
D:\Program Files\Microsoft Visual Studio\VC98\include\malloc.h(108) : error C205
9: syntax error : '('
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(75) : warning C4005: 'WNOHANG' :
macro redefinition
F:\Perl\lib\CORE\win32.h(165) : see previous definition of 'WNOHANG'
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(99) : warning C4005: 'close' : m
acro redefinition
F:\Perl\lib\CORE\XSUB.h(430) : see previous definition of 'close'
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(100) : warning C4005: 'fclose' :
macro redefinition
F:\Perl\lib\CORE\XSUB.h(402) : see previous definition of 'fclose'
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(101) : warning C4005: 'getpid' :
macro redefinition
F:\Perl\lib\CORE\XSUB.h(479) : see previous definition of 'getpid'
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(102) : warning C4005: 'sleep' :
macro redefinition
F:\Perl\lib\CORE\XSUB.h(473) : see previous definition of 'sleep'
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(140) : error C2143: syntax error
: missing ')' before '('
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(140) : error C2143: syntax error
: missing ')' before '('
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(140) : error C2091: function ret
urns function
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(140) : error C2091: function ret
urns function
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(140) : error C2146: syntax error
: missing ')' before identifier 'Perl_get_context'
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(178) : warning C4028: formal par
ameter 2 different from declaration
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(178) : warning C4028: formal par
ameter 3 different from declaration
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(179) : error C2143: syntax error
: missing ')' before '('
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(179) : error C2143: syntax error
: missing ')' before '('
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(179) : error C2091: function ret
urns function
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(179) : error C2091: function ret
urns function
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(179) : error C2146: syntax error
: missing ')' before identifier 'Perl_get_context'
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(180) : error C2143: syntax error
: missing ')' before '('
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(180) : error C2143: syntax error
: missing ')' before '('
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(180) : error C2091: function ret
urns function
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(180) : error C2091: function ret
urns function
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(180) : error C2146: syntax error
: missing ')' before identifier 'Perl_get_context'
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(182) : warning C4002: too many a
ctual parameters for macro 'do_spawn'
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(182) : error C2143: syntax error
: missing ')' before '('
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(182) : error C2143: syntax error
: missing ')' before '('
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(182) : error C2091: function ret
urns function
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(182) : error C2091: function ret
urns function
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(182) : error C2061: syntax error
: identifier 'Perl_get_context'
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(182) : error C2059: syntax error
: ';'
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(182) : error C2059: syntax error
: ')'
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(183) : error C2143: syntax error
: missing ')' before '('
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(183) : error C2143: syntax error
: missing ')' before '('
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(183) : error C2091: function ret
urns function
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(183) : error C2091: function ret
urns function
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(183) : error C2061: syntax error
: identifier 'Perl_get_context'
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(183) : error C2059: syntax error
: ';'
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(183) : error C2059: syntax error
: ')'
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(184) : error C2143: syntax error
: missing ')' before '('
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(184) : error C2143: syntax error
: missing ')' before '('
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(184) : error C2091: function ret
urns function
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(184) : error C2091: function ret
urns function
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(184) : error C2146: syntax error
: missing ')' before identifier 'Perl_get_context'
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(260) : error C2143: syntax error
: missing ')' before '('
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(260) : error C2143: syntax error
: missing ')' before '('
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(260) : error C2091: function ret
urns function
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(260) : error C2091: function ret
urns function
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(260) : error C2146: syntax error
: missing ')' before identifier 'Perl_get_context'
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(262) : warning C4002: too many a
ctual parameters for macro 'PerlProc_getuid'
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(262) : error C2143: syntax error
: missing ')' before '('
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(262) : error C2143: syntax error
: missing ')' before '('
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(262) : error C2091: function ret
urns function
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(262) : error C2091: function ret
urns function
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(262) : error C2146: syntax error
: missing ')' before identifier 'Perl_get_context'
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(263) : warning C4002: too many a
ctual parameters for macro 'PerlProc_geteuid'
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(263) : error C2143: syntax error
: missing ')' before '('
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(263) : error C2143: syntax error
: missing ')' before '('
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(263) : error C2091: function ret
urns function
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(263) : error C2091: function ret
urns function
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(263) : error C2146: syntax error
: missing ')' before identifier 'Perl_get_context'
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(264) : warning C4002: too many a
ctual parameters for macro 'PerlProc_getgid'
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(264) : error C2143: syntax error
: missing ')' before '('
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(264) : error C2143: syntax error
: missing ')' before '('
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(264) : error C2091: function ret
urns function
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(264) : error C2091: function ret
urns function
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(264) : error C2146: syntax error
: missing ')' before identifier 'Perl_get_context'
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(265) : warning C4002: too many a
ctual parameters for macro 'PerlProc_getegid'
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(265) : error C2143: syntax error
: missing ')' before '('
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(265) : error C2143: syntax error
: missing ')' before '('
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(265) : error C2091: function ret
urns function
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(265) : error C2091: function ret
urns function
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(265) : error C2146: syntax error
: missing ')' before identifier 'Perl_get_context'
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(266) : error C2143: syntax error
: missing ')' before '('
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(266) : error C2143: syntax error
: missing ')' before '('
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(266) : error C2091: function ret
urns function
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(266) : error C2091: function ret
urns function
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(266) : error C2146: syntax error
: missing ')' before identifier 'Perl_get_context'
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(267) : error C2143: syntax error
: missing ')' before '('
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(267) : error C2143: syntax error
: missing ')' before '('
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(267) : error C2091: function ret
urns function
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(267) : error C2091: function ret
urns function
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(267) : error C2146: syntax error
: missing ')' before identifier 'Perl_get_context'
d:/ruby/lib/ruby/1.8/i386-mswin32\win32/win32.h(473) : error C2011: 'tms' : 'str
uct' type redefinition
Ruby.xs(79) : warning C4273: 'rb_argv' : inconsistent dll linkage. dllexport as
sumed.
Ruby.xs(80) : warning C4273: 'rb_argv0' : inconsistent dll linkage. dllexport a
ssumed.
Ruby.xs(96) : warning C4013: 'Init_ext' undefined; assuming extern returning int

Ruby.xs(190) : warning C4013: 'do_chomp' undefined; assuming extern returning in
t
Ruby.xs(283) : warning C4113: 'unsigned long (__cdecl *)()' differs in parameter
lists from 'unsigned long (__cdecl *)(unsigned long )'
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.