错误“错误A2009:表达式中的语法错误”。构建OpenSSL x64静态库时 [英] Error "error A2009: syntax error in expression" when building OpenSSL x64 static libs

查看:260
本文介绍了错误“错误A2009:表达式中的语法错误”。构建OpenSSL x64静态库时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要Openssl的静态库。我遵循了此处中的说明。我所做的步骤如下:

I need the static libs of Openssl. I followed the instructions from here. The steps I did were as follows:


  1. 运行 Visual Studio 2008 x64交叉工具命令提示符。

  2. 执行 perl配置VC-WIN64A无共享的无意识

  3. 执行 ms\do_win64a

  4. 编辑 ms\nt.mak ,然后在输出目录中将 32更改为 64。

  5. 执行 nmake -f ms\nt.mak

  1. Run the "Visual Studio 2008 x64 Cross Tools Command Prompt".
  2. Execute perl Configure VC-WIN64A no-shared no-idea
  3. Execute ms\do_win64a
  4. Edited ms\nt.mak and change "32" to "64" in the output dirs.
  5. Execute nmake -f ms\nt.mak

完成所有这些操作后,在第五步出现错误:

After doing all this, I get an error on the 5th step:

Assembling: tmp32\md5-x86_64.asm
tmp32\md5-x86_64.asm(8) : error A2009: syntax error in expression
tmp32\md5-x86_64.asm(9) : error A2009: syntax error in expression
tmp32\md5-x86_64.asm(677) : error A2009: syntax error in expression
tmp32\md5-x86_64.asm(678) : error A2009: syntax error in expression
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 8\VC
\BIN\x86_amd64\ml64.EXE"' : return code '0x1'
Stop.

这里出了什么问题?还是有人可以给我提供指向我可以在Visual Studio 20005中使用的Openssl静态库的链接?

What is going wrong here? Or can anyone provide me a link to the static libs of Openssl that I can use in my Visual Studio 20005?

推荐答案

这个问题的答案。不知何故,我的计算机中没有安装 nasm 。这里显示的错误也没有说明nasm。

I found the answer to this problem. Somehow, nasm wasn't installed in my machine. The error shown here also didn't say anything about nasm either.

这篇关于错误“错误A2009:表达式中的语法错误”。构建OpenSSL x64静态库时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆