[EMAIL PROTECTED] - Wed Oct 27 14:55:15 2004]: > E:\openssl-0.9.7e\out32>openssl version -a > OpenSSL 0.9.7e 25 Oct 2004 > built on: Mon Oct 25 18:45:17 2004 > platform: VC-WIN32 > options: bn(64,32) rc4(idx,int) des(idx,cisc,4,long) > compiler: cl /MT /W3 /WX /G5 /Ox /O2 /Ob2 /Gs0 /GF /Gy > /nologo -DOPENSSL_SYSNAM > E_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DDSO_WIN32 -DBN_ASM > -DMD5_ASM -DSHA1_A > SM -DRMD160_ASM > /Fdout32dll -DOPENSSL_NO_IDEA -DOPENSSL_NO_RC5 -DOPENSSL_NO_MD2 > -DOPENSSL_NO_RIPEMD -DOPENSSL_NO_MDC2 -DOPENSSL_NO_BF > -DOPENSSL_NO_CAST -DOPENSS > L_NO_KRB5 -DOPENSSL_NO_EC -DOPENSSL_NO_ENGINE -DOPENSSL_NO_HW > OPENSSLDIR: "/usr/local/ssl" > > > I believe OpenSSL fails to build with the above configuration, > specifically > the "no-cast" option seems to be the culprit. > I'm using Visual C++ SP6 and the MASM extensions for building, the > output > from the compiler is: > > cl /Fotmp32\e_old.obj -Iinc32 -Itmp32 /MT /W3 /WX /G5 /Ox /O2 > /Ob2 > /Gs0 > /GF /Gy > /nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN > -DDSO_ > WIN32 -DBN_ASM -DMD5_ASM -DSHA1_ASM -DRMD160_ASM > /Fdout32 -DOPENSSL_NO_IDEA -DOP > ENSSL_NO_RC5 -DOPENSSL_NO_MD2 -DOPENSSL_NO_RIPEMD -DOPENSSL_NO_MDC2 > -DOPENSSL_NO > _BF -DOPENSSL_NO_CAST -DOPENSSL_NO_KRB5 -DOPENSSL_NO_EC > -DOPENSSL_NO_ENGINE > -DOP > ENSSL_NO_HW -c .\crypto\evp\e_old.c > e_old.c > ..\crypto\evp\e_old.c(93) : error C2220: warning treated as error - no > object > fil > e generated > ..\crypto\evp\e_old.c(93) : warning C4013: 'EVP_cast5_cfb64' > undefined; > assuming > extern returning int > ..\crypto\evp\e_old.c(93) : warning C4047: 'return' : 'const struct > evp_cipher_st > *' differs in levels of indirection from 'int ' > NMAKE : fatal error U1077: 'cl' : return code '0x2' > Stop. > E:\openssl-0.9.7e> > > Changing line 91 in e_old.c from #ifndef OPENSSL_NO_CAST5 to #ifndef > OPENSSL_NO_CAST remedies the problem. >
Fix committed. Steve. ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
