I tried building the sources (openssl-0.9.7m, openssl-0.9.8g,
openssl-0.9.8h) with 2008 express and failed every time with the same
error.
cl /Fotmp32dll\cversion.obj -Iinc32 -Itmp32dll /MD /W3 /WX /
Ox /O2 /Ob2
/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 -
DBN_ASM -DMD5
_ASM -DSHA1_ASM -DRMD160_ASM /Fdout32dll -DOPENSSL_NO_KRB5 -D_WINDLL -
DOPENSSL_
BUILD_SHLIBCRYPTO -DMK1MF_BUILD -DMK1MF_PLATFORM_VC_WIN32 -c .\crypto
\cversion.c
cversion.c
.\crypto\cversion.c(108) : error C2220: warning treated as error - no
'object' f
ile generated
.\crypto\cversion.c(108) : warning C4129: 'o' : unrecognized character
escape se
quence
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
9.0\VC\BIN
\cl.EXE"' : return code '0x2'
Stop.
I was ready to pull out my eyes.... and then i spotted the problem.
in the configure line:
C:\Src\openssl-0.9.8g>perl Configure VC-WIN32 --prefix=c:\openssl
failed....
C:\Src\openssl-0.9.8g>perl Configure VC-WIN32 --prefix=c:/openssl
works...
even though you might expect to use a backslash on win32 I needed to
use a forward slash
now I get a new failure only with openssl-0.9.8h:
cl /Fotmp32dll\sha1dgst.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_CPUI
D_OBJ -DOPENSSL_IA32_SSE2 -DAES_ASM -DBN_ASM -
DOPENSSL_BN_ASM_PART_WORDS -DMD5_A
SM -DSHA1_ASM -DRMD160_ASM -DOPENSSL_USE_APPLINK -I. /Fdout32dll -
DOPENSSL_NO_CA
MELLIA -DOPENSSL_NO_SEED -DOPENSSL_NO_RC5 -DOPENSSL_NO_MDC2 -
DOPENSSL_NO_TLSEXT
-DOPENSSL_NO_CMS -DOPENSSL_NO_KRB5 -DOPENSSL_NO_DYNAMIC_ENGINE -
D_WINDLL -DOPEN
SSL_BUILD_SHLIBCRYPTO -c .\crypto\sha\sha1dgst.c
sha1dgst.c
ml /Cp /coff /c /Cx /Focrypto\sha\asm\s1_win32.obj .\crypto
\sha\asm\s1_w
in32.asm
Microsoft (R) Macro Assembler Version 9.00.30729.01
Copyright (C) Microsoft Corporation. All rights reserved.
Assembling: .\crypto\sha\asm\s1_win32.asm
.\crypto\sha\asm\s1_win32.asm(13) : error A2008:syntax error : integer
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
9.0\VC\BIN
\ml.EXE"' : return code '0x1'
Stop.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager [EMAIL PROTECTED]