http://www.perlmonks.org?node_id=1169356

jobinjoseph121 has asked for the wisdom of the Perl Monks concerning the following question:

Hi,

We are using Net::SSLeay 1.77 module source from cpan and compile it locally.
This perl module got compiled successfully till the openssl upgrade to latest version 1.0.2h.

Now we are receiving the following error in the Windows build (both x64 and x86).
SSLeay.xs(6060) : error C2143: syntax error : missing ';' before 'type +' SSLeay.xs(6061) : error C2065: 'first' : undeclared identifier SSLeay.xs(6063) : error C2065: 'first' : undeclared identifier SSLeay.xs(6068) : error C2143: syntax error : missing ';' before 'type +' SSLeay.xs(6069) : error C2275: 'ASN1_GENERALIZEDTIME' : illegal use of + this type as an expression ../../include/openssl/ossl_typ.h(95) : see declaration of 'ASN +1_GENERALIZEDTIME' SSLeay.xs(6069) : error C2065: 'revocationTime' : undeclared identifie +r SSLeay.xs(6069) : error C2065: 'thisupdate' : undeclared identifier SSLeay.xs(6069) : error C2100: illegal indirection SSLeay.xs(6069) : error C2065: 'nextupdate' : undeclared identifier SSLeay.xs(6069) : error C2100: illegal indirection SSLeay.xs(6075) : error C2065: 'status' : undeclared identifier SSLeay.xs(6076) : error C2065: 'revocationTime' : undeclared identifie +r

Checking the SSLeay.xs file, all the variables for which this error is seen seem to be declared in the same file itself.

Since i am new to this, could you please help to identify what should be wrong here?

Thanks,
Jobin