c++ - OpenSSL: Nmake fatal error U1077: 'ias' : return code '0x1' -


i'm trying set openssl on windows 10 64-bit, having followed instructions far, after installing visual studio attempted nmake in openssl directory using visual c++ 2008 command prompt following error:

 "c:\strawberry\perl\bin\perl.exe" "-i." -mconfigdata "util\dofile.pl"  "-omakefile" "crypto\include\internal\bn_conf.h.in" > crypto\include\internal\bn_conf.h         "c:\strawberry\perl\bin\perl.exe" "-i." -mconfigdata "util\dofile.pl"  "-omakefile" "crypto\include\internal\dso_conf.h.in" > crypto\include\internal\dso_conf.h         "c:\strawberry\perl\bin\perl.exe" "-i." -mconfigdata "util\dofile.pl"  "-omakefile" "include\openssl\opensslconf.h.in" > include\openssl\opensslconf.h         ias -d debug -ocrypto\aes\aes-ia64.obj "crypto\aes\aes-ia64.asm" 'ias' not recognized internal or external command, operable program or batch file. nmake : fatal error u1077: 'ias' : return code '0x1' stop. 

this error different if try compile 32 bit version. results in error referencing nasm |i tried install no luck.

can suggest solution?

thank taking time read question.

the problem has nothing long filenames. @sebastian not have ias installed. should not using ias in case.

you need nasm if want openssl take advantage of assembly language optimizations.

if not, can pass no-asm configure.

depending on operating system

on windows (only pick 1 of targets configuration):

$ perl configure { vc-win32 | vc-win64a | vc-win64i | vc-ce } 

you need either vc-win32 or vc-win64a. here how did it. 1.0.1g current version @ time of post.

  1. download latest source distribution
  2. start applicable vc command prompt
  3. optionally, zlib, build dll
  4. get nasm , build executable
  5. if did ask zlib, add directories include , lib:

    c:\…\openssl-1.0.1g> set include=%include%;c:\…\zlib-1.2.8 c:\…\openssl-1.0.1g> set lib=%lib%;c:\…\zlib-1.2.8 
  6. run c:\…\openssl-1.0.1g> perl configure vc-win64a zlib-dynamic --openssldir=c:\opt\openssl

  7. run c:\…\openssl-1.0.1g> ms\do_win64a

  8. run c:\…\openssl-1.0.1g> nmake -f ms\ntdll.mak

  9. cd out32dll, , run ..\ms\test

  10. make sure tests pass:

  11. install doing:

    c:\…\openssl-1.0.1g\out32dll> cd .. c:\…\openssl-1.0.1g> nmake -f ms\ntdll.mak install 

ps: if building openssl use strawberry perl, note perl.exe have been compiled gcc, , therefore, should use gcc comes strawberry perl build openssl.

if building library use project you'll build msvc toolchain, can ignore comment.


Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

c# - Json.Net Serialize String from URI -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -