Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

OpenSSL Windows x64 Compilation error

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.

like image 229
rkellerm Avatar asked Oct 14 '22 06:10

rkellerm


2 Answers

You've probably chosen VC-WIN64I (as an argument for the perl Configure command), which is a wrong platform in your case and will give a compilation error if you try to compile OpenSSL for Windows 64-bit (x86-64 also known as AMD64). 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.

like image 198
Maxim Masiutin Avatar answered Oct 20 '22 17:10

Maxim Masiutin


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.

like image 31
rkellerm Avatar answered Oct 20 '22 16:10

rkellerm