Re: 0.9.7a & Win32-VC++ 6.0 Compilation problem

2003-02-24 Thread Rabellino Sergio
Dr. Stephen Henson wrote:
On Mon, Feb 24, 2003, Rabellino Sergio wrote:


Dear developers,
I had a little (maybe) trouble to get compile the latest release of the 
package:

the compiler is telling me about a redefinition of NETSCAPE_ENCRYPTED_PKEY 
and NETSCAPE_PKEY

in the file crypto/asn1/n_pkey.c at line 96 and 109 ( 
DECLARE_ASN1_ENCODE_FUNCTIONS_const  ).

Commenting out the lines, the compilation job is ok, and so the test 
suite, but which are the implications of this line removal ??



I've tested compiling OpenSSL 0.9.7a with VC++ and various SPs and never
had any problems like that: it should compile without any warnings.
Check that the line:

#define EXPORT_VAR_AS_FUNCTION

appears in crypto\opensslconf.h if not then the configuration didn't work.
Make sure you follow all the steps in INSTALL.W32 to the letter.
normally I follow all the steps, as I recompile openssl for my project as soon as a new version is available...

The define was not present, so I run again perl Configure and the the define appear ...

All the things go fine ... maybe i've missed the first step ?? Maybe ...

Thanks again.
--
Dott. Sergio Rabellino
 Technical Staff
 Department of Computer Science
 University of Torino (Italy)
 Member of the Internet Society
http://www.di.unito.it/~rabser
Tel. +39-0116706701
Fax. +39-011751603
__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]


Re: 0.9.7a & Win32-VC++ 6.0 Compilation problem

2003-02-24 Thread Dr. Stephen Henson
On Mon, Feb 24, 2003, Rabellino Sergio wrote:

> Dear developers,
>  I had a little (maybe) trouble to get compile the latest release of the 
>  package:
> 
>  the compiler is telling me about a redefinition of NETSCAPE_ENCRYPTED_PKEY 
>  and NETSCAPE_PKEY
> 
>  in the file crypto/asn1/n_pkey.c at line 96 and 109 ( 
>  DECLARE_ASN1_ENCODE_FUNCTIONS_const  ).
> 
>  Commenting out the lines, the compilation job is ok, and so the test 
>  suite, but which are the implications of this line removal ??
> 

I've tested compiling OpenSSL 0.9.7a with VC++ and various SPs and never
had any problems like that: it should compile without any warnings.

Check that the line:

#define EXPORT_VAR_AS_FUNCTION

appears in crypto\opensslconf.h if not then the configuration didn't work.
Make sure you follow all the steps in INSTALL.W32 to the letter.

Steve.
--
Dr Stephen N. Henson.
Core developer of the   OpenSSL project: http://www.openssl.org/
Freelance consultant see: http://www.drh-consultancy.demon.co.uk/
Email: [EMAIL PROTECTED], PGP key: via homepage.
__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]


0.9.7a & Win32-VC++ 6.0 Compilation problem

2003-02-24 Thread Rabellino Sergio
Dear developers,
 I had a little (maybe) trouble to get compile the latest release of the package:
 the compiler is telling me about a redefinition of NETSCAPE_ENCRYPTED_PKEY and NETSCAPE_PKEY

 in the file crypto/asn1/n_pkey.c at line 96 and 109 ( DECLARE_ASN1_ENCODE_FUNCTIONS_const  ).

 Commenting out the lines, the compilation job is ok, and so the test suite, but which are the implications of this 
line removal ??

Thanks a lot.
--
Dott. Sergio Rabellino
 Technical Staff
 Department of Computer Science
 University of Torino (Italy)
 Member of the Internet Society
http://www.di.unito.it/~rabser
Tel. +39-0116706701
Fax. +39-011751603
__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]