From: zhu qun-ying <[EMAIL PROTECTED]>
qyzhu> Error build under NT 4, VC6
qyzhu>
qyzhu> cl /Fotmp32dll\rand_win.obj -Iinc32 -Itmp32dll /MD /W3 /WX /G5 /Ox /O2
qyzhu> /Ob2 /Gs0 /GF /Gy /nologo -DWIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DBN_ASM -DMD
qyzhu> 5_ASM -DSHA1_ASM -DRMD160_ASM /Fdout32dll /GD -D_WINDLL -D_DLL -c .\crypto\rand
qyzhu> \rand_win.c
qyzhu> rand_win.c
qyzhu> .\crypto\rand\rand_win.c(175) : error C2143: syntax error : missing ')' before '
qyzhu> *'
qyzhu> .\crypto\rand\rand_win.c(175) : error C2143: syntax error : missing '{' before '
qyzhu> *'
qyzhu> .\crypto\rand\rand_win.c(175) : error C2059: syntax error : ')'
qyzhu> .\crypto\rand\rand_win.c(175) : error C2059: syntax error : ';'
qyzhu> .\crypto\rand\rand_win.c(190) : error C2065: 'NETSTATGET' : undeclared identifie
qyzhu> r
qyzhu> .\crypto\rand\rand_win.c(190) : error C2146: syntax error : missing ';' before i
qyzhu> dentifier 'netstatget'
qyzhu> .\crypto\rand\rand_win.c(190) : error C2065: 'netstatget' : undeclared identifie
qyzhu> r
qyzhu> .\crypto\rand\rand_win.c(191) : error C2275: 'NETFREE' : illegal use of this typ
qyzhu> e as an expression
qyzhu> .\crypto\rand\rand_win.c(176) : see declaration of 'NETFREE'
qyzhu> .\crypto\rand\rand_win.c(191) : error C2146: syntax error : missing ';' before i
qyzhu> dentifier 'netfree'
qyzhu> .\crypto\rand\rand_win.c(191) : error C2065: 'netfree' : undeclared identifier
qyzhu> .\crypto\rand\rand_win.c(201) : error C2146: syntax error : missing ';' before i
qyzhu> dentifier 'GetProcAddress'
qyzhu> .\crypto\rand\rand_win.c(202) : warning C4047: '=' : 'int ' differs in levels of
qyzhu> indirection from 'unsigned long (__stdcall *)(unsigned char *)'
qyzhu> .\crypto\rand\rand_win.c(209) : error C2063: 'netstatget' : not a function
qyzhu> .\crypto\rand\rand_win.c(212) : error C2063: 'netfree' : not a function
qyzhu> .\crypto\rand\rand_win.c(214) : error C2063: 'netstatget' : not a function
qyzhu> .\crypto\rand\rand_win.c(217) : error C2063: 'netfree' : not a function
qyzhu> NMAKE : fatal error U1077: 'cl' : return code '0x2'
qyzhu> Stop.
That should teach me to put in new code... It seems like the include
files that come with VC6 do not have LMSTR. Instead, the type name is
LPTSTR, and the strings should *not* be preceded by a L.
So, until further notice, I'll simply put an #if 0..#endif around the
netstatget code, since different environments apparently have
different needs. "Until further notice" means "until after the
release".
--
Richard Levitte \ Spannvägen 38, II \ [EMAIL PROTECTED]
Chairman@Stacken \ S-168 35 BROMMA \ T: +46-8-26 52 47
Redakteur@Stacken \ SWEDEN \ or +46-709-50 36 10
Procurator Odiosus Ex Infernis -- [EMAIL PROTECTED]
Member of the OpenSSL development team: http://www.openssl.org/
Software Engineer, Celo Communications: http://www.celocom.com/
Unsolicited commercial email is subject to an archival fee of $400.
See <http://www.stacken.kth.se/~levitte/mail/> for more info.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]