OpenSSL Windows x64 Compilation error

谁说我不能喝 提交于 2019-12-30 20:27:22

问题


I'm getting the following error when trying to compile OpenSSL 1.0, 64 bit:

    ias -o tmp32\ia64cpuid.obj tmp32\ia64cpuid.asm
'ias' is not recognized as an internal or external command,
operable program or batch file.
NMAKE : fatal error U1077: 'ias' : return code '0x1'
Stop.

Does someone know what can I do? (I do it on Windows 2008 x64 OS)

Thanks.


回答1:


You've probably chosen VC-WIN64I (as an argument for the perl Configure command), which is a wrong platform in your case. You should have passed VC-WIN64A. "I" stands for "Itanium" and "A" still stands "AMD64".

Run

perl Configure VC-WIN64A

and then run "nmake" again, it should work this time.




回答2:


For the former problem - I just added to the Path environment variable the path of ias: C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\x86_ia64.

But after all I compiled it for x64 (VC-WIN64A) with NASM and it worked.

Thanks.




回答3:


I normally get my OpenSSL windows builds from here. The guy who runs the site has the 64 bit version built so may be able to help if you email him. He's also looking for beta testers I think.




回答4:


Forget all that building - its a nightmare! Someone has done all the hardwork for Win7 64 and kindly put it here

https://code.google.com/p/openssl-for-windows/downloads/detail?name=openssl-0.9.8k_X64.zip&can=2&q=



来源:https://stackoverflow.com/questions/2753960/openssl-windows-x64-compilation-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!