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

查看:33
本文介绍了错误“错误 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 Configure VC-WIN64A no-shared no-idea
  3. 执行msdo_win64a
  4. 编辑 ms t.mak 并将输出目录中的32"更改为64".
  5. 执行 nmake -f ms t.mak
  1. Run the "Visual Studio 2008 x64 Cross Tools Command Prompt".
  2. Execute perl Configure VC-WIN64A no-shared no-idea
  3. Execute msdo_win64a
  4. Edited ms t.mak and change "32" to "64" in the output dirs.
  5. Execute nmake -f ms t.mak

做完这一切后,我在第 5 步出现错误:

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

Assembling: tmp32md5-x86_64.asm
tmp32md5-x86_64.asm(8) : error A2009: syntax error in expression
tmp32md5-x86_64.asm(9) : error A2009: syntax error in expression
tmp32md5-x86_64.asm(677) : error A2009: syntax error in expression
tmp32md5-x86_64.asm(678) : error A2009: syntax error in expression
NMAKE : fatal error U1077: '"C:Program Files (x86)Microsoft Visual Studio 8VC
BINx86_amd64ml64.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天全站免登陆