Hi All, Thanks a lot for the prompt reply. Here are the steps that I followed to build openssl-0.9.7e in Windows Visual Studio 2005 Environment. The machine does not have VS2003. ONly has VS2005. Steps to build openssl-0.9.7e 0) Download file openssl-0.9.7e.tar.gz and save to c:\apps\tao to make C:\apps\tao\openssl-0.9.7e a valid path 1) Download Perl from http://www.perl.com/download.csp which redirects to http://www.activestate.com/Products/ActivePerl/?_x=1 2) Follow instructions in openssl-0.9.7e\INSTALL.W32 3) Command prompt > cd C:\apps\tao\openssl-0.9.7e 4) > perl Configure VC-WIN32 5) > ms\do_ms 6) Then from the Visual Studio 2005 Command Prompt > cd C:\apps\tao\openssl-0.9.7e 7) > nmake -f ms\ntdll.mak (In VS2005 I get the error as below) 8) > cd out32dll 9) > ..\ms\test VS2005 Error ------------------------ .\.\e_os2.h 1 file(s) copied. copy nul+ .\crypto\crypto.h inc32\openssl\crypto.h nul .\crypto\crypto.h 1 file(s) copied. copy nul+ .\crypto\tmdiff.h inc32\openssl\tmdiff.h nul .\crypto\tmdiff.h 1 file(s) copied. copy nul+ .\crypto\opensslv.h inc32\openssl\opensslv.h nul .\crypto\opensslv.h 1 file(s) copied. copy nul+ .\crypto\opensslconf.h inc32\openssl\opensslconf.h nul .\crypto\opensslconf.h 1 file(s) copied. copy nul+ .\crypto\ebcdic.h inc32\openssl\ebcdic.h nul .\crypto\ebcdic.h 1 file(s) copied. copy nul+ .\crypto\symhacks.h inc32\openssl\symhacks.h nul .\crypto\symhacks.h 1 file(s) copied. copy nul+ .\crypto\ossl_typ.h inc32\openssl\ossl_typ.h nul .\crypto\ossl_typ.h 1 file(s) copied. copy nul+ .\crypto\md2\md2.h inc32\openssl\md2.h nul .\crypto\md2\md2.h 1 file(s) copied. copy nul+ .\crypto\md4\md4.h inc32\openssl\md4.h nul .\crypto\md4\md4.h 1 file(s) copied. copy nul+ .\crypto\md5\md5.h inc32\openssl\md5.h nul .\crypto\md5\md5.h 1 file(s) copied. copy nul+ .\crypto\sha\sha.h inc32\openssl\sha.h nul .\crypto\sha\sha.h 1 file(s) copied. copy nul+ .\crypto\mdc2\mdc2.h inc32\openssl\mdc2.h nul .\crypto\mdc2\mdc2.h 1 file(s) copied. copy nul+ .\crypto\hmac\hmac.h inc32\openssl\hmac.h nul .\crypto\hmac\hmac.h 1 file(s) copied. copy nul+ .\crypto\ripemd\ripemd.h inc32\openssl\ripemd.h nul .\crypto\ripemd\ripemd.h 1 file(s) copied. copy nul+ .\crypto\des\des.h inc32\openssl\des.h nul .\crypto\des\des.h 1 file(s) copied. copy nul+ .\crypto\des\des_old.h inc32\openssl\des_old.h nul .\crypto\des\des_old.h 1 file(s) copied. copy nul+ .\crypto\rc2\rc2.h inc32\openssl\rc2.h nul .\crypto\rc2\rc2.h 1 file(s) copied. copy nul+ .\crypto\rc4\rc4.h inc32\openssl\rc4.h nul .\crypto\rc4\rc4.h 1 file(s) copied. copy nul+ .\crypto\rc5\rc5.h inc32\openssl\rc5.h nul .\crypto\rc5\rc5.h 1 file(s) copied. copy nul+ .\crypto\idea\idea.h inc32\openssl\idea.h nul .\crypto\idea\idea.h 1 file(s) copied. copy nul+ .\crypto\bf\blowfish.h inc32\openssl\blowfish.h nul .\crypto\bf\blowfish.h 1 file(s) copied. copy nul+ .\crypto\cast\cast.h inc32\openssl\cast.h nul .\crypto\cast\cast.h 1 file(s) copied. copy nul+ .\crypto\aes\aes.h inc32\openssl\aes.h nul .\crypto\aes\aes.h 1 file(s) copied. copy nul+ .\crypto\bn\bn.h inc32\openssl\bn.h nul .\crypto\bn\bn.h 1 file(s) copied. copy nul+ .\crypto\rsa\rsa.h inc32\openssl\rsa.h nul .\crypto\rsa\rsa.h 1 file(s) copied. copy nul+ .\crypto\dsa\dsa.h inc32\openssl\dsa.h nul .\crypto\dsa\dsa.h 1 file(s) copied. copy nul+ .\crypto\dso\dso.h inc32\openssl\dso.h nul .\crypto\dso\dso.h 1 file(s) copied. copy nul+ .\crypto\dh\dh.h inc32\openssl\dh.h nul .\crypto\dh\dh.h 1 file(s) copied. copy nul+ .\crypto\ec\ec.h inc32\openssl\ec.h nul .\crypto\ec\ec.h 1 file(s) copied. copy nul+ .\crypto\buffer\buffer.h inc32\openssl\buffer.h nul .\crypto\buffer\buffer.h 1 file(s) copied. copy nul+ .\crypto\bio\bio.h inc32\openssl\bio.h nul .\crypto\bio\bio.h 1 file(s) copied. copy nul+ .\crypto\stack\stack.h inc32\openssl\stack.h nul .\crypto\stack\stack.h 1 file(s) copied. copy nul+ .\crypto\stack\safestack.h inc32\openssl\safestack.h nul .\crypto\stack\safestack.h 1 file(s) copied. copy nul+ .\crypto\lhash\lhash.h inc32\openssl\lhash.h nul .\crypto\lhash\lhash.h 1 file(s) copied. copy nul+ .\crypto\rand\rand.h inc32\openssl\rand.h nul .\crypto\rand\rand.h 1 file(s) copied. copy nul+ .\crypto\err\err.h inc32\openssl\err.h nul .\crypto\err\err.h 1 file(s) copied. copy nul+ .\crypto\objects\objects.h inc32\openssl\objects.h nul .\crypto\objects\objects.h 1 file(s) copied. copy nul+ .\crypto\objects\obj_mac.h inc32\openssl\obj_mac.h nul .\crypto\objects\obj_mac.h 1 file(s) copied. copy nul+ .\crypto\evp\evp.h inc32\openssl\evp.h nul .\crypto\evp\evp.h 1 file(s) copied. copy nul+ .\crypto\asn1\asn1.h inc32\openssl\asn1.h nul .\crypto\asn1\asn1.h 1 file(s) copied. copy nul+ .\crypto\asn1\asn1_mac.h inc32\openssl\asn1_mac.h nul .\crypto\asn1\asn1_mac.h 1 file(s) copied. copy nul+ .\crypto\asn1\asn1t.h inc32\openssl\asn1t.h nul .\crypto\asn1\asn1t.h 1 file(s) copied. copy nul+ .\crypto\pem\pem.h inc32\openssl\pem.h nul .\crypto\pem\pem.h 1 file(s) copied. copy nul+ .\crypto\pem\pem2.h inc32\openssl\pem2.h nul .\crypto\pem\pem2.h 1 file(s) copied. copy nul+ .\crypto\x509\x509.h inc32\openssl\x509.h nul .\crypto\x509\x509.h 1 file(s) copied. copy nul+ .\crypto\x509\x509_vfy.h inc32\openssl\x509_vfy.h nul .\crypto\x509\x509_vfy.h 1 file(s) copied. copy nul+ .\crypto\x509v3\x509v3.h inc32\openssl\x509v3.h nul .\crypto\x509v3\x509v3.h 1 file(s) copied. copy nul+ .\crypto\conf\conf.h inc32\openssl\conf.h nul .\crypto\conf\conf.h 1 file(s) copied. copy nul+ .\crypto\conf\conf_api.h inc32\openssl\conf_api.h nul .\crypto\conf\conf_api.h 1 file(s) copied. copy nul+ .\crypto\txt_db\txt_db.h inc32\openssl\txt_db.h nul .\crypto\txt_db\txt_db.h 1 file(s) copied. copy nul+ .\crypto\pkcs7\pkcs7.h inc32\openssl\pkcs7.h nul .\crypto\pkcs7\pkcs7.h 1 file(s) copied. copy nul+ .\crypto\pkcs12\pkcs12.h inc32\openssl\pkcs12.h nul .\crypto\pkcs12\pkcs12.h 1 file(s) copied. copy nul+ .\crypto\comp\comp.h inc32\openssl\comp.h nul .\crypto\comp\comp.h 1 file(s) copied. copy nul+ .\crypto\engine\engine.h inc32\openssl\engine.h nul .\crypto\engine\engine.h 1 file(s) copied. copy nul+ .\crypto\ocsp\ocsp.h inc32\openssl\ocsp.h nul .\crypto\ocsp\ocsp.h 1 file(s) copied. copy nul+ .\crypto\ui\ui.h inc32\openssl\ui.h nul .\crypto\ui\ui.h 1 file(s) copied. copy nul+ .\crypto\ui\ui_compat.h inc32\openssl\ui_compat.h nul .\crypto\ui\ui_compat.h 1 file(s) copied. copy nul+ .\crypto\krb5\krb5_asn.h inc32\openssl\krb5_asn.h nul .\crypto\krb5\krb5_asn.h 1 file(s) copied. copy nul+ .\fips\fips.h inc32\openssl\fips.h nul .\fips\fips.h 1 file(s) copied. copy nul+ .\fips\rand\fips_rand.h inc32\openssl\fips_rand.h nul .\fips\rand\fips_rand.h 1 file(s) copied. copy nul+ .\ssl\ssl.h inc32\openssl\ssl.h nul .\ssl\ssl.h 1 file(s) copied. copy nul+ .\ssl\ssl2.h inc32\openssl\ssl2.h nul .\ssl\ssl2.h 1 file(s) copied. copy nul+ .\ssl\ssl3.h inc32\openssl\ssl3.h nul .\ssl\ssl3.h 1 file(s) copied. copy nul+ .\ssl\ssl23.h inc32\openssl\ssl23.h nul .\ssl\ssl23.h 1 file(s) copied. copy nul+ .\ssl\tls1.h inc32\openssl\tls1.h nul .\ssl\tls1.h 1 file(s) copied. copy nul+ .\ssl\kssl.h inc32\openssl\kssl.h nul .\ssl\kssl.h 1 file(s) copied. cl /Fotmp32dll\cryptlib.obj -Iinc32 -Itmp32dll /MD /W3 /WX /G5 /Ox /O2 /Ob2 /Gs0 /GF /Gy /nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDI AN -DDSO_WIN32 /Fdout32dll -DOPENSSL_NO_KRB5 -D_WINDLL -DOPENSSL_BUILD_SHLIBCRY PTO -c .\crypto\cryptlib.c cl : Command line warning D9002 : ignoring unknown option '/G5' cryptlib.c cl /Fotmp32dll\mem.obj -Iinc32 -Itmp32dll /MD /W3 /WX /G5 /Ox /O2 /Ob2 /Gs0 /GF /Gy /nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -D DSO_WIN32 /Fdout32dll -DOPENSSL_NO_KRB5 -D_WINDLL -DOPENSSL_BUILD_SHLIBCRYPTO - c .\crypto\mem.c cl : Command line warning D9002 : ignoring unknown option '/G5' mem.c cl /Fotmp32dll\mem_clr.obj -Iinc32 -Itmp32dll /MD /W3 /WX /G5 /Ox /O2 / Ob2 /Gs0 /GF /Gy /nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIA N -DDSO_WIN32 /Fdout32dll -DOPENSSL_NO_KRB5 -D_WINDLL -DOPENSSL_BUILD_SHLIBCRYP TO -c .\crypto\mem_clr.c cl : Command line warning D9002 : ignoring unknown option '/G5' mem_clr.c cl /Fotmp32dll\mem_dbg.obj -Iinc32 -Itmp32dll /MD /W3 /WX /G5 /Ox /O2 / Ob2 /Gs0 /GF /Gy /nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIA N -DDSO_WIN32 /Fdout32dll -DOPENSSL_NO_KRB5 -D_WINDLL -DOPENSSL_BUILD_SHLIBCRYP TO -c .\crypto\mem_dbg.c cl : Command line warning D9002 : ignoring unknown option '/G5' mem_dbg.c .\crypto\mem_dbg.c(607) : error C2220: warning treated as error - no 'object' fi le generated .\crypto\mem_dbg.c(607) : warning C4996: 'localtime' was declared deprecated C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\time.inl(94) : see declaration of 'localtime' NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\c l.exe"' : return code '0x2' Stop. C:\apps\tao\openssl-0.9.7e> ---------------------- Since build failed out32dll was not formed. The same openssl build successfully with the same steps in VS2003. I think I am missing some setting for VS2005. Thanks and Regards, Kamalesh
________________________________ From: [EMAIL PROTECTED] on behalf of Richard Levitte - VMS Whacker via RT Sent: Mon 8/8/2005 4:27 AM To: Kamalesh Nandi Cc: openssl-dev@openssl.org Subject: Re: [openssl.org #1183] Building openssl-0.9.7e in Windows Visual Studio 2005 Environment Kamalesh Nandi via RT writes: > I was trying to build openssl-0.9.7e in Windows Visual Studio 2005 Beta2 > Environment. I was getting an error. But the same openssl-0.9.7e builds fine > in Windows Visual Studio 2003 Environment. Is there any additional steps to > be performed specific to Visual Studio 2005? Well, you could start by giving us the build log in both cases. Just telling that you "get an error" is like telling us there are cars roaming in London. ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager [EMAIL PROTECTED]