I'm running this under the Visual Studio 2005 x64
Command Prompt (so that all the environment variables are
set.)
See if following error makes sense to you. ( I did unzip the tar using WinAce Archiver
)
I'm not sure why its
using the "out32dll" & "tmp32" etc. 32 bit target/references for 64 bit
build.
==================================================================
Setting
environment for using Microsoft Visual Studio 2005 x64 cross
tools.
C:\Program
Files\Microsoft Visual Studio 8\VC>cd\sources
C:\Sources>cd
openssl-0.9.8a
C:\Sources\openssl-0.9.8a>perl Configure
VC-WIN64A
Configuring for VC-WIN64A no-gmp [default] OPENSSL_NO_GMP (skip dir) no-krb5 [krb5-flavor not specified] OPENSSL_NO_KRB5 no-mdc2 [default] OPENSSL_NO_MDC2 (skip dir) no-rc5 [default] OPENSSL_NO_RC5 (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 RC5_ENC =rc5_enc.o MD5_OBJ_ASM = SHA1_OBJ_ASM = RMD160_OBJ_ASM= PROCESSOR = RANLIB =true ARFLAGS = PERL =perl SIXTY_FOUR_BIT mode DES_INT used RC4_CHUNK is unsigned long long Configured for
VC-WIN64A.
C:\Sources\openssl-0.9.8a>ms\do_win64a
C:\Sources\openssl-0.9.8a>perl util\mkfiles.pl
1>MINFO
C:\Sources\openssl-0.9.8a>perl ms\uplink.pl win64a
1>ms\uptable.asm
C:\Sources\openssl-0.9.8a>ml64 -c -Foms\uptable.obj
ms\uptable.asm
Microsoft (R) Macro Assembler (x64) Version 8.00.50727.42 Copyright (C) Microsoft Corporation. All rights reserved. Assembling: ms\uptable.asm
C:\Sources\openssl-0.9.8a>perl util\mk1mf.pl no-asm VC-WIN64A
1>ms\nt.mak
C:\Sources\openssl-0.9.8a>perl util\mk1mf.pl dll no-asm
VC-WIN64A 1>ms\ntdll.ma
k C:\Sources\openssl-0.9.8a>perl util\mkdef.pl 32 libeay
1>ms\libeay32.def
C:\Sources\openssl-0.9.8a>perl util\mkdef.pl 32 ssleay
1>ms\ssleay32.def
C:\Sources\openssl-0.9.8a>nmake -f
ms\ntdll.mak
Microsoft (R)
Program Maintenance Utility Version 8.00.50727.42
Copyright (C) Microsoft Corporation. All rights reserved. Building
OpenSSL
copy nul+ .\crypto\buildinf.h tmp32dll\buildinf.h nul .\crypto\buildinf.h 1 file(s) copied. copy nul+ .\crypto\opensslconf.h inc32\openssl\opensslconf.h nul .\crypto\opensslconf.h 1 file(s) copied. link /nologo /subsystem:console /opt:ref /dll /out:out32dll\libeay32.dll /def:ms/LIBEAY32.def @C:\DOCUME~1\pshah \LOCALS~1\Temp\nm59F.tmp tmp32dll\uplink.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64' NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\x86_amd64\link.EXE"' : return code '0x458 ' Stop. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thompson, Nigel (Colorado Springs) Sent: Wednesday, April 05, 2006 12:10 PM To: openssl-users@openssl.org Subject: RE: Is x64 working? I have built
OpenSSL for 64-bit Windows on an Itanium platform. Beware that if
you use WinZip to untar the files, by default WinZip converts \n to \r\n in the
makefiles and this breaks the Perl scripts. I built the
code on a 32-bit Windows box using the Set Win Svr 2003 IA64 Build Env (Debug)
command line that comes with VisualStudio 2003. I used the makefiles to run the
build process. Nigel From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Parind
Shah I'm new to this group
& want to use the openssl library on Win x64 platform. I want to build on
Visual Studio 2005 or 2003. I've tried to build the 0.9.8a release & latest
snapshots without success. I've followed instruction in the INSTALL.W64 file,
but it does not successfully compile &
link. Have any one
successfully build these on VS 2005 / x64 combination? Does anyone have
.sln or .vcproj files? |