Try replacing LMSTR with LPWSTR in crypto/rand/rand_win.c



> I tried to compile on a Win32 platforom openssl engine beta2, and the
> OpenSSL beta2, and I recieve in both case this error:
> 
> cl /Fotmp32dll\rand_win.obj  -Iinc32 -Itmp32dll /MD /W3 /WX /G5 /Ox /O2 /Ob2
> /Gs0 /GF /Gy /nologo -DWIN32 -DWIN3
> 2_LEAN_AND_MEAN -DL_ENDIAN /Fdout32dll /GD -D_WINDLL -D_DLL  -c
> .\crypto\rand\rand_win.c
> rand_win.c
> .\crypto\rand\rand_win.c(175) : error C2143: syntax error : missing ')'
> before '*'
> .\crypto\rand\rand_win.c(175) : error C2143: syntax error : missing '{'
> before '*'
> .\crypto\rand\rand_win.c(175) : error C2059: syntax error : ')'
> .\crypto\rand\rand_win.c(175) : error C2059: syntax error : ';'
> .\crypto\rand\rand_win.c(190) : error C2065: 'NETSTATGET' : undeclared
> identifier
> .\crypto\rand\rand_win.c(190) : error C2146: syntax error : missing ';'
> before identifier 'netstatget'
> .\crypto\rand\rand_win.c(190) : error C2065: 'netstatget' : undeclared
> identifier
> .\crypto\rand\rand_win.c(191) : error C2275: 'NETFREE' : illegal use of this
> type as an expression
>         .\crypto\rand\rand_win.c(176) : see declaration of 'NETFREE'
> .\crypto\rand\rand_win.c(191) : error C2146: syntax error : missing ';'
> before identifier 'netfree'
> .\crypto\rand\rand_win.c(191) : error C2065: 'netfree' : undeclared
> identifier
> .\crypto\rand\rand_win.c(201) : error C2146: syntax error : missing ';'
> before identifier 'GetProcAddress'
> .\crypto\rand\rand_win.c(202) : warning C4047: '=' : 'int ' differs in
> levels of indirection from 'unsigned long (__stdc
> all *)(unsigned char *)'
> .\crypto\rand\rand_win.c(209) : error C2063: 'netstatget' : not a function
> .\crypto\rand\rand_win.c(212) : error C2063: 'netfree' : not a function
> .\crypto\rand\rand_win.c(214) : error C2063: 'netstatget' : not a function
> .\crypto\rand\rand_win.c(217) : error C2063: 'netfree' : not a function
> NMAKE : fatal error U1077: 'cl' : return code '0x2'
> 
> Is there a solution to this problem?
> 
> Thanks,
> ERIC
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    [EMAIL PROTECTED]
> Automated List Manager                           [EMAIL PROTECTED]
> 



                  Jeffrey Altman * Sr.Software Designer
                 The Kermit Project * Columbia University
               612 West 115th St * New York, NY * 10025 * USA
     http://www.kermit-project.org/ * [EMAIL PROTECTED]


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

Reply via email to