BTW, I noticed that ssl.h was in the include\openssl directory (which wasn't picked up by the Makefile.PL script), so I modified the Makefile.PL script to force it to use openssl\ssl.h. It gets farther, but hates it anyway. Help! :(
--Scott
========================================
BUILD INFORMATION
========================================
ssl dir: d:\cygwin\home\administrator\openssl-0.9.6
libraries: -lssleay32 -llibeay32 -lRSAglue -lrsaref
include dir: d:\cygwin\home\administrator\openssl-0.9.6\include -Id:\cygwin\home\administrator\openssl-0.9.6\inc32
ssl header: openssl\ssl.h
========================================
Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for '-lrsaref'
Writing Makefile for Crypt::SSLeay
D:\cygwin\home\administrator\Crypt-SSLeay-0.18>nmake
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
mkdir blib
mkdir blib\lib
mkdir blib\lib\Crypt
mkdir blib\arch
mkdir blib\arch\auto
mkdir blib\arch\auto\Crypt
mkdir blib\arch\auto\Crypt\SSLeay
mkdir blib\lib\auto
mkdir blib\lib\auto\Crypt
mkdir blib\lib\auto\Crypt\SSLeay
cp lib/Net/SSL.pm blib\lib\Net\SSL.pm
cp lib/Crypt/SSLeay/MainContext.pm blib\lib\Crypt\SSLeay\MainContext.pm
cp lib/Crypt/SSLeay/CTX.pm blib\lib\Crypt\SSLeay\CTX.pm
cp SSLeay.pm blib\lib\Crypt\SSLeay.pm
cp lib/Crypt/SSLeay/Conn.pm blib\lib\Crypt\SSLeay\Conn.pm
cp lib/Crypt/SSLeay/Err.pm blib\lib\Crypt\SSLeay\Err.pm
cp lib/Crypt/SSLeay/X509.pm blib\lib\Crypt\SSLeay\X509.pm
C:\Perl\bin\Perl.exe -IC:\Perl\lib -IC:\Perl\lib C:\Perl\lib\ExtUtils/xsubpp -typemap C:\Perl\lib\ExtUtils\type
map -typemap typemap SSLeay.xs > SSLeay.xsc && C:\Perl\bin\Perl.exe -IC:\Perl\lib -IC:\Perl\lib -MExtUtils::Command -e m
v SSLeay.xsc SSLeay.c
cl -c -Id:\cygwin\home\administrator\openssl-0.9.6\include -Id:\cygwin\home\administrator\openssl-0.9.6\inc32 -O
1 -MD -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DPERL_MSVCR
T_READFIX -O1 -MD -DNDEBUG -DVERSION=\"0.18\" -DXS_VERSION=\"0.18\" -IC:\Perl\lib\CORE SSLeay.c
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
SSLeay.c
d:\cygwin\home\administrator\openssl-0.9.6\include\openssl\ssl.h(1) : error C2059: syntax error : '!'
SSLeay.c(122) : error C2065: 'SSL_CTX' : undeclared identifier
SSLeay.c(122) : error C2065: 'RETVAL' : undeclared identifier
SSLeay.c(122) : warning C4552: '*' : operator has no effect; expected operator with side-effect
SSLeay.c(165) : error C2065: 'ctx' : undeclared identifier
SSLeay.c(165) : warning C4552: '*' : operator has no effect; expected operator with side-effect
SSLeay.c(169) : error C2059: syntax error : ')'
SSLeay.c(185) : warning C4552: '*' : operator has no effect; expected operator with side-effect
SSLeay.c(186) : error C2143: syntax error : missing ';' before 'type'
SSLeay.c(187) : error C2143: syntax error : missing ';' before 'type'
SSLeay.c(188) : error C2275: 'SV' : illegal use of this type as an expression
C:\Perl\lib\CORE\perl.h(1404) : see declaration of 'SV'
SSLeay.c(188) : error C2065: 'targ' : undeclared identifier
SSLeay.c(192) : error C2059: syntax error : ')'
SSLeay.c(197) : error C2065: 'ciphers' : undeclared identifier
SSLeay.c(198) : warning C4047: 'function' : 'struct sv *' differs in levels of indirection from 'int '
SSLeay.c(198) : warning C4024: 'Perl_sv_setiv' : different types for formal and actual parameter 2
SSLeay.c(198) : error C2223: left of '->sv_flags' must point to struct/union
SSLeay.c(198) : warning C4047: 'function' : 'struct sv *' differs in levels of indirection from 'int '
SSLeay.c(198) : warning C4024: 'Perl_mg_set' : different types for formal and actual parameter 2
SSLeay.c(198) : warning C4047: '=' : 'struct sv *' differs in levels of indirection from 'int '
SSLeay.c(210) : warning C4552: '*' : operator has no effect; expected operator with side-effect
SSLeay.c(211) : error C2065: 'SSL' : undeclared identifier
SSLeay.c(211) : warning C4552: '*' : operator has no effect; expected operator with side-effect
SSLeay.c(215) : error C2059: syntax error : ')'
SSLeay.c(246) : error C2065: 'ssl' : undeclared identifier
SSLeay.c(246) : warning C4552: '*' : operator has no effect; expected operator with side-effect
SSLeay.c(250) : error C2059: syntax error : ')'
SSLeay.c(266) : warning C4552: '*' : operator has no effect; expected operator with side-effect
SSLeay.c(267) : error C2143: syntax error : missing ';' before 'type'
SSLeay.c(268) : error C2143: syntax error : missing ';' before 'type'
SSLeay.c(269) : error C2275: 'SV' : illegal use of this type as an expression
C:\Perl\lib\CORE\perl.h(1404) : see declaration of 'SV'
SSLeay.c(273) : error C2059: syntax error : ')'
SSLeay.c(278) : error C2065: 'fd' : undeclared identifier
SSLeay.c(279) : warning C4047: 'function' : 'struct sv *' differs in levels of indirection from 'int '
SSLeay.c(279) : warning C4024: 'Perl_sv_setiv' : different types for formal and actual parameter 2
SSLeay.c(279) : error C2223: left of '->sv_flags' must point to struct/union
SSLeay.c(279) : warning C4047: 'function' : 'struct sv *' differs in levels of indirection from 'int '
SSLeay.c(279) : warning C4024: 'Perl_mg_set' : different types for formal and actual parameter 2
SSLeay.c(279) : warning C4047: '=' : 'struct sv *' differs in levels of indirection from 'int '
SSLeay.c(290) : warning C4552: '*' : operator has no effect; expected operator with side-effect
SSLeay.c(291) : error C2143: syntax error : missing ';' before 'type'
SSLeay.c(292) : error C2275: 'SV' : illegal use of this type as an expression
C:\Perl\lib\CORE\perl.h(1404) : see declaration of 'SV'
SSLeay.c(296) : error C2059: syntax error : ')'
SSLeay.c(302) : warning C4047: 'function' : 'struct sv *' differs in levels of indirection from 'int '
SSLeay.c(302) : warning C4024: 'Perl_sv_setiv' : different types for formal and actual parameter 2
SSLeay.c(302) : error C2223: left of '->sv_flags' must point to struct/union
SSLeay.c(302) : warning C4047: 'function' : 'struct sv *' differs in levels of indirection from 'int '
SSLeay.c(302) : warning C4024: 'Perl_mg_set' : different types for formal and actual parameter 2
SSLeay.c(302) : warning C4047: '=' : 'struct sv *' differs in levels of indirection from 'int '
SSLeay.c(313) : warning C4552: '*' : operator has no effect; expected operator with side-effect
SSLeay.c(314) : error C2143: syntax error : missing ';' before 'type'
SSLeay.c(315) : error C2275: 'SV' : illegal use of this type as an expression
C:\Perl\lib\CORE\perl.h(1404) : see declaration of 'SV'
SSLeay.c(319) : error C2059: syntax error : ')'
SSLeay.c(325) : warning C4047: 'function' : 'struct sv *' differs in levels of indirection from 'int '
SSLeay.c(325) : warning C4024: 'Perl_sv_setiv' : different types for formal and actual parameter 2
SSLeay.c(325) : error C2223: left of '->sv_flags' must point to struct/union
SSLeay.c(325) : warning C4047: 'function' : 'struct sv *' differs in levels of indirection from 'int '
SSLeay.c(325) : warning C4024: 'Perl_mg_set' : different types for formal and actual parameter 2
SSLeay.c(325) : warning C4047: '=' : 'struct sv *' differs in levels of indirection from 'int '
SSLeay.c(336) : warning C4552: '*' : operator has no effect; expected operator with side-effect
SSLeay.xs(191) : error C2275: 'STRLEN' : illegal use of this type as an expression
C:\Perl\lib\CORE\perl.h(1389) : see declaration of 'STRLEN'
SSLeay.xs(191) : error C2146: syntax error : missing ';' before identifier 'blen'
SSLeay.xs(191) : error C2065: 'blen' : undeclared identifier
SSLeay.xs(192) : error C2143: syntax error : missing ';' before 'type'
SSLeay.xs(193) : error C2143: syntax error : missing ';' before 'type'
SSLeay.xs(194) : error C2143: syntax error : missing ';' before 'type'
SSLeay.c(343) : error C2143: syntax error : missing ';' before 'type'
SSLeay.c(344) : error C2275: 'SV' : illegal use of this type as an expression
C:\Perl\lib\CORE\perl.h(1404) : see declaration of 'SV'
SSLeay.c(348) : error C2059: syntax error : ')'
SSLeay.xs(199) : error C2065: 'len' : undeclared identifier
SSLeay.xs(201) : error C2065: 'offset' : undeclared identifier
SSLeay.xs(214) : error C2065: 'n' : undeclared identifier
SSLeay.xs(214) : error C2065: 'buf' : undeclared identifier
SSLeay.xs(216) : warning C4047: '=' : 'int ' differs in levels of indirection from 'struct sv *'
SSLeay.xs(218) : warning C4047: '=' : 'int ' differs in levels of indirection from 'struct sv *'
SSLeay.c(376) : warning C4047: '=' : 'struct sv *' differs in levels of indirection from 'int '
SSLeay.c(388) : warning C4552: '*' : operator has no effect; expected operator with side-effect
SSLeay.c(389) : error C2143: syntax error : missing ';' before 'type'
SSLeay.xs(229) : error C2143: syntax error : missing ';' before 'type'
SSLeay.xs(230) : error C2275: 'STRLEN' : illegal use of this type as an expression
C:\Perl\lib\CORE\perl.h(1389) : see declaration of 'STRLEN'
SSLeay.xs(230) : error C2146: syntax error : missing ';' before identifier 'blen'
SSLeay.xs(231) : error C2143: syntax error : missing ';' before 'type'
SSLeay.xs(232) : error C2143: syntax error : missing ';' before 'type'
SSLeay.c(396) : error C2275: 'SV' : illegal use of this type as an expression
C:\Perl\lib\CORE\perl.h(1404) : see declaration of 'SV'
SSLeay.c(396) : error C2065: 'sv' : undeclared identifier
SSLeay.c(397) : error C2275: 'SV' : illegal use of this type as an expression
C:\Perl\lib\CORE\perl.h(1404) : see declaration of 'SV'
SSLeay.c(401) : error C2059: syntax error : ')'
SSLeay.xs(236) : error C2223: left of '->sv_flags' must point to struct/union
SSLeay.xs(236) : error C2223: left of '->sv_any' must point to struct/union
SSLeay.xs(236) : error C2223: left of '->sv_any' must point to struct/union
SSLeay.xs(236) : warning C4047: 'function' : 'struct sv *' differs in levels of indirection from 'int '
SSLeay.xs(236) : warning C4024: 'Perl_sv_pvn_force' : different types for formal and actual parameter 2
SSLeay.xs(249) : warning C4047: 'function' : 'struct sv *' differs in levels of indirection from 'int '
SSLeay.xs(249) : warning C4024: 'Perl_sv_catpvn' : different types for formal and actual parameter 2
SSLeay.xs(256) : error C2223: left of '->sv_any' must point to struct/union
SSLeay.xs(256) : warning C4047: 'function' : 'struct sv *' differs in levels of indirection from 'int '
SSLeay.xs(256) : warning C4024: 'Perl_sv_grow' : different types for formal and actual parameter 2
SSLeay.xs(256) : error C2223: left of '->sv_any' must point to struct/union
SSLeay.xs(257) : error C2223: left of '->sv_any' must point to struct/union
SSLeay.xs(262) : error C2223: left of '->sv_any' must point to struct/union
SSLeay.xs(263) : error C2109: subscript requires array or pointer type
SSLeay.xs(263) : error C2106: '=' : left operand must be l-value
SSLeay.xs(264) : warning C4047: '=' : 'int ' differs in levels of indirection from 'struct sv *'
SSLeay.xs(266) : warning C4047: '=' : 'int ' differs in levels of indirection from 'struct sv *'
SSLeay.c(440) : warning C4047: '=' : 'struct sv *' differs in levels of indirection from 'int '
SSLeay.c(452) : warning C4552: '*' : operator has no effect; expected operator with side-effect
SSLeay.c(453) : error C2065: 'X509' : undeclared identifier
SSLeay.c(453) : warning C4552: '*' : operator has no effect; expected operator with side-effect
SSLeay.c(457) : error C2059: syntax error : ')'
SSLeay.c(475) : warning C4552: '*' : operator has no effect; expected operator with side-effect
SSLeay.xs(280) : error C2143: syntax error : missing ';' before 'type'
SSLeay.c(479) : error C2143: syntax error : missing ';' before 'type'
SSLeay.c(480) : error C2275: 'SV' : illegal use of this type as an expression
C:\Perl\lib\CORE\perl.h(1404) : see declaration of 'SV'
SSLeay.c(484) : error C2059: syntax error : ')'
SSLeay.c(491) : warning C4047: 'function' : 'struct sv *' differs in levels of indirection from 'int '
SSLeay.c(491) : warning C4024: 'Perl_sv_setpv' : different types for formal and actual parameter 2
SSLeay.c(491) : warning C4047: 'function' : 'const char *' differs in levels of indirection from 'int '
SSLeay.c(491) : warning C4024: 'Perl_sv_setpv' : different types for formal and actual parameter 3
SSLeay.c(491) : error C2223: left of '->sv_flags' must point to struct/union
SSLeay.c(491) : warning C4047: 'function' : 'struct sv *' differs in levels of indirection from 'int '
SSLeay.c(491) : warning C4024: 'Perl_mg_set' : different types for formal and actual parameter 2
SSLeay.c(491) : warning C4047: '=' : 'struct sv *' differs in levels of indirection from 'int '
SSLeay.c(502) : warning C4552: '*' : operator has no effect; expected operator with side-effect
SSLeay.c(503) : error C2143: syntax error : missing ';' before 'type'
SSLeay.c(504) : error C2275: 'SV' : illegal use of this type as an expression
C:\Perl\lib\CORE\perl.h(1404) : see declaration of 'SV'
SSLeay.c(508) : error C2059: syntax error : ')'
SSLeay.xs(290) : warning C4047: '=' : 'int ' differs in levels of indirection from 'char *'
SSLeay.c(515) : warning C4047: 'function' : 'struct sv *' differs in levels of indirection from 'int '
SSLeay.c(515) : warning C4024: 'Perl_sv_setpv' : different types for formal and actual parameter 2
SSLeay.c(515) : warning C4047: 'function' : 'const char *' differs in levels of indirection from 'int '
SSLeay.c(515) : warning C4024: 'Perl_sv_setpv' : different types for formal and actual parameter 3
SSLeay.c(515) : error C2223: left of '->sv_flags' must point to struct/union
SSLeay.c(515) : warning C4047: 'function' : 'struct sv *' differs in levels of indirection from 'int '
SSLeay.c(515) : warning C4024: 'Perl_mg_set' : different types for formal and actual parameter 2
SSLeay.c(515) : warning C4047: '=' : 'struct sv *' differs in levels of indirection from 'int '
SSLeay.c(526) : error C2065: 'cert' : undeclared identifier
SSLeay.c(526) : warning C4552: '*' : operator has no effect; expected operator with side-effect
SSLeay.c(530) : error C2059: syntax error : ')'
SSLeay.c(546) : warning C4552: '*' : operator has no effect; expected operator with side-effect
SSLeay.xs(304) : error C2143: syntax error : missing ';' before 'type'
SSLeay.c(550) : error C2275: 'SV' : illegal use of this type as an expression
C:\Perl\lib\CORE\perl.h(1404) : see declaration of 'SV'
SSLeay.c(554) : error C2059: syntax error : ')'
SSLeay.xs(309) : error C2065: 'str' : undeclared identifier
SSLeay.xs(311) : warning C4047: 'function' : 'const char *' differs in levels of indirection from 'int '
SSLeay.xs(311) : warning C4024: 'Perl_newSVpv' : different types for formal and actual parameter 2
SSLeay.xs(311) : warning C4047: '=' : 'int ' differs in levels of indirection from 'struct sv *'
SSLeay.xs(312) : warning C4022: 'function through pointer' : pointer mismatch for actual parameter 2
SSLeay.c(567) : warning C4047: '=' : 'struct sv *' differs in levels of indirection from 'int '
SSLeay.c(579) : warning C4552: '*' : operator has no effect; expected operator with side-effect
SSLeay.xs(320) : error C2143: syntax error : missing ';' before 'type'
SSLeay.c(583) : error C2275: 'SV' : illegal use of this type as an expression
C:\Perl\lib\CORE\perl.h(1404) : see declaration of 'SV'
SSLeay.c(587) : error C2059: syntax error : ')'
SSLeay.xs(327) : warning C4047: 'function' : 'const char *' differs in levels of indirection from 'int '
SSLeay.xs(327) : warning C4024: 'Perl_newSVpv' : different types for formal and actual parameter 2
SSLeay.xs(327) : warning C4047: '=' : 'int ' differs in levels of indirection from 'struct sv *'
SSLeay.xs(328) : warning C4022: 'function through pointer' : pointer mismatch for actual parameter 2
SSLeay.c(600) : warning C4047: '=' : 'struct sv *' differs in levels of indirection from 'int '
SSLeay.c(616) : error C2065: 'XS_Crypt__SSLeay__Err_get_error_string' : undeclared identifier
SSLeay.c(616) : warning C4047: 'function' : 'void (__cdecl *)(struct interpreter *,struct cv *)' differs in levels of in
direction from 'int '
SSLeay.c(616) : warning C4024: 'Perl_newXS' : different types for formal and actual parameter 3
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.