Thank you, I missed that step. I did add that step and noted that ML (MASM) is part of visual studio 9 and switched to DO_MASM.
After making that change, everything compiled but I had a link error: _bn_sub_part_words was multiply defined. I looked at the code and saw that _bm_sub_part_words was also in an assembler file which had been assembled. bn_sub_part_words was also in bm_mul.c after a #if defined(OPENSSL_NO_ASM) || !defined(OPENSSL_BN_ASM_PART_WORDS) statement. Looking at the make file, I could see OPENSSL_BN_ASM_PART_WORDS was defined and BN_ASM was defined and saw no obvious reference to OPENSSL_NO_ASM. I added the following lines before the make file #ifdef BN_ASM #undef OPENSSL_NO_ASM #endif after which nmake -f ms\do_masm ran to completion. Carter Carter Browne CBCS cbro...@cbcs-usa.com 781-721-2890 Dr. Stephen Henson wrote: > On Thu, Jan 08, 2009, Carter Browne wrote: > > >> I compiled openssl-0.9.8j without problems under Linux. When running >> under Windows XP SP3, Visual Studio 9, using option do_ms, nt.mak >> compiled without error. >> ntdll.mak had the following fatal compiler error: >> >> Building OpenSSL >> cl /Fotmp32dll\ec_asn1.obj -Iinc32 -Itmp32dll /MD /Ox /O2 /Ob2 /W3 >> /WX /Gs0 /GF /Gy /nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN >> -DL_ENDIAN -DDSO_WIN32 -D_CRT_SECURE_NO_DEPRECATE >> -D_CRT_NONSTDC_NO_DEPRECATE -DOPENSSL_USE_APPLINK -I. /Fdout32dll >> -DOPENSSL_NO_CAMELLIA -DOPENSSL_NO_SEED -DOPENSSL_NO_RC5 >> -DOPENSSL_NO_MDC2 -DOPENSSL_NO_CMS -DOPENSSL_NO_JPAKE >> -DOPENSSL_NO_CAPIENG -DOPENSSL_NO_KRB5 -DOPENSSL_NO_DYNAMIC_ENGINE >> -D_WINDLL -DOPENSSL_BUILD_SHLIBCRYPTO -c .\crypto\ec\ec_asn1.c >> ec_asn1.c >> .\crypto\ec\ec_asn1.c(261) : error C2370: 'ECPKPARAMETERS_it' : >> redefinition; different storage class >> .\crypto\ec\ec_asn1.c(259) : see declaration of 'ECPKPARAMETERS_it' >> .\crypto\ec\ec_asn1.c(262) : error C2370: 'ECPKPARAMETERS_it' : >> redefinition; different storage class >> .\crypto\ec\ec_asn1.c(259) : see declaration of 'ECPKPARAMETERS_it' >> .\crypto\ec\ec_asn1.c(273) : error C2370: 'EC_PRIVATEKEY_it' : >> redefinition; different storage class >> .\crypto\ec\ec_asn1.c(270) : see declaration of 'EC_PRIVATEKEY_it' >> .\crypto\ec\ec_asn1.c(274) : error C2370: 'EC_PRIVATEKEY_it' : >> redefinition; different storage class >> .\crypto\ec\ec_asn1.c(270) : see declaration of 'EC_PRIVATEKEY_it' >> >> Any idea on what to do to resolve this issue? >> >> > > Did you do: > > perl Configure VC-WIN32 > > first? > > Steve. > -- > Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage > OpenSSL project core developer and freelance consultant. > Homepage: http://www.drh-consultancy.demon.co.uk > ______________________________________________________________________ > OpenSSL Project http://www.openssl.org > User Support Mailing List openssl-users@openssl.org > Automated List Manager majord...@openssl.org > > > ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org