[openssl.org #1906] Bug Report - openssl-0.9.8k unable to build on Win XP
Very old release, old platform and toolchain, closing ticket. __ OpenSSL Project http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager majord...@openssl.org
RE: [openssl.org #1906] Bug Report - openssl-0.9.8k unable to build on Win XP
From: owner-openssl-...@openssl.org On Behalf Of Paul Kelley via RT Sent: Saturday, 25 April, 2009 09:03 I was only able to build using openssl-0.9.8h - Newer versions (i.e. newer than 9.8h) will not build according to the instructions found in the install.w32 file. Help! Windows XP SP3 (32-bit) Visual Studio 2005 C:\download\openssl\unzip\openssl-0.9.8kperl Configure VC-WIN32 --prefix=C:\dow nload\openssl\unzip\openssl-0.9.8k\installPath Use a --prefix (or --openssldir) pathname with slashes, not backslashes. Even on Windows. This hasn't changed recently; you should have gotten the same error on earlier release(s) *if* using the same or similar pathname(s), and perhaps the same compiler and compiler options (though I don't seem any default options changed that I think should affect this). C:\download\openssl\unzip\openssl-0.9.8kms\do_ms C:\download\openssl\unzip\openssl-0.9.8kperl util\mk1mf.pl no-asm VC-CE 1ms\c e.mak %OSVERSION% is not defined at util/pl/VC-32.pl line 57. Compilation failed in require at util\mk1mf.pl line 151. C:\download\openssl\unzip\openssl-0.9.8kperl util\mk1mf.pl dll no-asm VC-CE 1 ms\cedll.mak %OSVERSION% is not defined at util/pl/VC-32.pl line 57. Compilation failed in require at util\mk1mf.pl line 151. You can ignore these two. See my answer 4-16 22:18 to Bob Barnes of 4-15 17:32. __ OpenSSL Project http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager majord...@openssl.org
[openssl.org #1906] Bug Report - openssl-0.9.8k unable to build on Win XP
I was only able to build using openssl-0.9.8h - Newer versions (i.e. newer than 9.8h) will not build according to the instructions found in the install.w32 file. Help! My Setup: Windows XP SP3 (32-bit) Visual Studio 2005 X86 Using instructions from install.w32 file: perl Configure VC-WIN32 --prefix=c:/some/openssl/dir Where the prefix argument specifies where OpenSSL will be installed to. Next you need to build the Makefiles and optionally the assembly language files: - If you don't want to use the assembly language files at all then run: ms\do_ms Then from the VC++ environment at a prompt do: nmake -f ms\ntdll.mak [ Results ] C:\download\openssl\unzip\openssl-0.9.8kperl Configure VC-WIN32 --prefix=C:\dow nload\openssl\unzip\openssl-0.9.8k\installPath Configuring for VC-WIN32 no-camellia [default] OPENSSL_NO_CAMELLIA (skip dir) no-capieng [default] OPENSSL_NO_CAPIENG (skip dir) no-cms [default] OPENSSL_NO_CMS (skip dir) no-gmp [default] OPENSSL_NO_GMP (skip dir) no-jpake[experimental] OPENSSL_NO_JPAKE (skip dir) no-krb5 [krb5-flavor not specified] OPENSSL_NO_KRB5 no-mdc2 [default] OPENSSL_NO_MDC2 (skip dir) no-montasm [default] no-rc5 [default] OPENSSL_NO_RC5 (skip dir) no-rfc3779 [default] OPENSSL_NO_RFC3779 (skip dir) no-seed [default] OPENSSL_NO_SEED (skip dir) no-shared [default] no-zlib [default] no-zlib-dynamic [default] IsMK1MF=1 CC=cl CFLAG =-DOPENSSL_THREADS -DDSO_WIN32 EX_LIBS = CPUID_OBJ = BN_ASM=bn_asm.o DES_ENC =des_enc.o fcrypt_b.o AES_ASM_OBJ =aes_core.o aes_cbc.o BF_ENC=bf_enc.o CAST_ENC =c_enc.o RC4_ENC =rc4_enc.o rc4_skey.o RC5_ENC =rc5_enc.o MD5_OBJ_ASM = SHA1_OBJ_ASM = RMD160_OBJ_ASM= PROCESSOR = RANLIB=true ARFLAGS = PERL =perl THIRTY_TWO_BIT mode BN_LLONG mode RC4_INDEX mode RC4_CHUNK is undefined Configured for VC-WIN32. C:\download\openssl\unzip\openssl-0.9.8kms\do_ms C:\download\openssl\unzip\openssl-0.9.8kperl util\mkfiles.pl 1MINFO C:\download\openssl\unzip\openssl-0.9.8kperl util\mk1mf.pl no-asm VC-WIN32 1m s\nt.mak C:\download\openssl\unzip\openssl-0.9.8kperl util\mk1mf.pl dll no-asm VC-WIN32 1ms\ntdll.mak C:\download\openssl\unzip\openssl-0.9.8kperl util\mk1mf.pl no-asm VC-CE 1ms\c e.mak %OSVERSION% is not defined at util/pl/VC-32.pl line 57. Compilation failed in require at util\mk1mf.pl line 151. C:\download\openssl\unzip\openssl-0.9.8kperl util\mk1mf.pl dll no-asm VC-CE 1 ms\cedll.mak %OSVERSION% is not defined at util/pl/VC-32.pl line 57. Compilation failed in require at util\mk1mf.pl line 151. C:\download\openssl\unzip\openssl-0.9.8kperl util\mkdef.pl 32 libeay 1ms\libe ay32.def C:\download\openssl\unzip\openssl-0.9.8kperl util\mkdef.pl 32 ssleay 1ms\ssle ay32.def C:\download\openssl\unzip\openssl-0.9.8kvcvars32.bat C:\download\openssl\unzip\openssl-0.9.8kC:\apps\Microsoft Visual Studio 2005\r un\Common7\Tools\vsvars32.bat Setting environment for using Microsoft Visual Studio 2005 x86 tools. C:\download\openssl\unzip\openssl-0.9.8knmake -f ms\ntdll.mak Microsoft (R) Program Maintenance Utility Version 8.00.50727.762 Copyright (C) Microsoft Corporation. All rights reserved. Building OpenSSL perl util/copy.pl .\crypto\buildinf.h tmp32dll\buildinf.h Copying: ./crypto/buildinf.h to tmp32dll/buildinf.h perl util/copy.pl .\crypto\opensslconf.h inc32\openssl\opensslconf.h Copying: ./crypto/opensslconf.h to inc32/openssl/opensslconf.h cl /Fotmp32dll\cversion.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 -DOP ENSSL_NO_KRB5 -DOPENSSL_NO_DYNAMIC_ENGINE -D_WINDLL -DOPENSSL_BUILD_SHLIBCRYPTO -DMK1MF_BUILD -DMK1MF_PLATFORM_VC_WIN32 -c .\crypto\cversion.c cversion.c .\crypto\cversion.c(105) : error C2220: warning treated as error - no 'object' f ile generated .\crypto\cversion.c(105) : warning C4129: 'd' : unrecognized character escape se quence .\crypto\cversion.c(105) : warning C4129: 'o' : unrecognized character escape se quence .\crypto\cversion.c(105) : warning C4129: 'o' : unrecognized character escape se quence .\crypto\cversion.c(105) : warning C4129: 'i' : unrecognized character escape se quence NMAKE : fatal error U1077: 'C:\apps\Microsoft Visual Studio 2005\run\VC\BIN\cl. EXE' : return code '0x2' Stop. C:\download\openssl\unzip\openssl-0.9.8k [ End Results ] Paul Kelley | Software Engineer, Interface Development | Digital Technology