I'm having real trouble getting OpenSSL to build with Visual Studio 2013.

My build script  is here <http://pastebin.com/zxvNJZWN>  . The 32-bit build
works fine, but I can't get the 64-bit build to work.
My full compile  output is here <http://pastebin.com/abRM9wLQ>  .

*The interesting bit of my build script (batch file) is this.*

perl.exe Configure VC-WIN64A no-asm --prefix="..\OpenSSL-x64" || goto :ERROR
call ms\do_win64a || goto :ERROR
call "%VS120COMNTOOLS%..\..\VC\vcvarsall.bat" x64
nmake -f ms\ntdll.mak || goto :ERROR
nmake -f ms\ntdll.mak install || goto :ERROR

*The interesting bit of the build output is this.*

[04:42:58] :     [Step 1/1]      [exec]  ml64  /c ms\uptable.asm 
[04:42:58] :     [Step 1/1]      [exec] Microsoft (R) Macro Assembler (x64)
Version 12.00.30501.0
[04:42:58] :     [Step 1/1]      [exec] Copyright (C) Microsoft Corporation. 
All rights reserved.
[04:42:58] :     [Step 1/1]      [exec] 
[04:42:58] :     [Step 1/1]      [exec]  Assembling: ms\uptable.asm
[04:42:58] :     [Step 1/1]      [exec]  link /nologo /subsystem:console
/opt:ref /debug /dll /out:out32dll\libeay32.dll /def:ms/LIBEAY32.def
@C:\teamcity\temp\buildTmp\nm2039.tmp
[04:42:58] :     [Step 1/1]      [exec] LINK : fatal error LNK1181: cannot open
input file 'ms\uptable.obj'
[04:42:58] :     [Step 1/1]      [exec] NMAKE : fatal error U1077: '"C:\Program
Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\amd64\link.EXE"' : return
code '0x49d'
[04:42:58] :     [Step 1/1]      [exec] Stop.
[04:42:58] :     [Step 1/1]      [exec] Build FAILED with exit code 2

If you have any ideas to help me fix this issue please share them, I'd
appreciate it! I've tried calling "Configure" with and without the "no-asm"
directive. I've tried the build with and without "nasm.exe" available on the
path. My 32-bit build I build *with* "nasm.exe" and without the "no-asm"
directive.



--
View this message in context: 
http://openssl.6102.n7.nabble.com/Trouble-building-OpenSSL-with-Visual-Studio-2013-Linker-error-cites-ms-uptable-obj-tp51117.html
Sent from the OpenSSL - User mailing list archive at Nabble.com.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [email protected]
Automated List Manager                           [email protected]

Reply via email to