Hi,

I'm trying to compile and run Net::SSLeay (1.05) under Windows NT
using VC++ 6.0, i have modified Makefile.PL in order to adjust it
to my current configuration.

I got a lot of errors, so after some changes it looks better...
but i don't know how to resolve this error message (and i don't
know if it is the last one...):

 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
 SSLeay.c(2508) : error C2440: '=' : cannot convert from 'const char *' to
'char *'
        Conversion loses qualifiers
 SSLeay.c(2541) : error C2440: '=' : cannot convert from 'const char *' to
'char *'
        Conversion loses qualifiers
 NMAKE : fatal error U1077: 'cl.exe' : return code '0x2'
 Stop.


RETVAL = SSL_get_cipher_list(s, n);   //  <--- line 2508

RETVAL = SSL_get_cipher(s);   //  <--- line 2541


Does anybody know how to compile and run Net::SSLeay (1.05)
under Windows NT?
Or where i could find somebody who could answer my questions
on this matter?

Thanks in advance

Miguel Angel Fraga



// -----------------------------------------------------------------

bn.h
----
 BIGNUM *modulo; /* just a reference */    // line 255

BN_BLINDING *BN_BLINDING_new(BIGNUM *A,BIGNUM *Ai,BIGNUM *modulo);  // line
405


ssl.h
-----
void SSL_set_client_CA_list(SSL *s, STACK_OF(X509_NAME) *listxxx);  // line
1013
void SSL_CTX_set_client_CA_list(SSL_CTX *ctx, STACK_OF(X509_NAME) *listxxx);
// line 1014


rand.h
------
 void (*seedxxx)(const void *buf, int num);  // line 68


SSLeay.xs
---------
#include "openssl/rand.h"   // line 54 (new)

not_here(char *s)    // line 73
// char *s;     // line 74

constant(char *name, int arg)    // line 83
// char *name;      // line 84
// int arg;      // line 85



// -------------------  makefile  -------------------
>perl makefile.pl

Checking for OpenSSL-0.9.3a or newer...
You have OpenSSL-0.9.3 installed in \OpenSSL-0.9.3
Checking if your kit is complete...
Looks good
Writing Makefile for Net::SSLeay


// -------------------  nmake  -------------------
>nmake

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

mkdir blib
...
mkdir blib\man3
cp SSLeay.pm blib\lib\Net\SSLeay.pm
AutoSplitting blib\lib\Net\SSLeay.pm (blib\lib\auto/Net\SSLeay)
blib\lib\Net\SSLeay.pm: some names are not unique when truncated to 8
characters:
 directory blib\lib\auto/Net\SSLeay:
  ssl_read_all.al, ssl_read_until.al, ssl_read_CRLF.al truncate to ssl_read
  ssl_write_all.al, ssl_write_CRLF.al truncate to ssl_writ
        C:\Perl\bin\perl.exe -IC:\Perl\lib -IC:\Perl\lib
C:\Perl\lib\ExtUtils/xs
ubpp  -typemap C:\Perl\lib\ExtUtils\typemap -typemap typemap SSLeay.xs
>SSLeay.t
c && C:\Perl\bin\perl.exe -IC:\Perl\lib -IC:\Perl\lib -MExtUtils::Command -e
mv
SSLeay.tc SSLeay.c




    cl.exe -c -I\OpenSSL-0.9.3/_inc -O2 -MD -DNDEBUG -TP -GX -DWIN32 -D_CONS
OLE -DNO_STRICT -DHAVE_DES_FCRYPT -DPERL_OBJECT -O2 -MD -DNDEBUG -TP -GX    
 -DV
ERSION=\"1.05\"  -DXS_VERSION=\"1.05\"  -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
SSLeay.c(2508) : error C2440: '=' : cannot convert from 'const char *' to
'char *'
        Conversion loses qualifiers
SSLeay.c(2541) : error C2440: '=' : cannot convert from 'const char *' to
'char *'
        Conversion loses qualifiers
NMAKE : fatal error U1077: 'cl.exe' : return code '0x2'
Stop.












______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to