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.
- download latest source distribution
- start applicable vc command prompt
- optionally, zlib, build dll
- get nasm , build executable
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.8run
c:\…\openssl-1.0.1g> perl configure vc-win64a zlib-dynamic --openssldir=c:\opt\opensslrun
c:\…\openssl-1.0.1g> ms\do_win64arun
c:\…\openssl-1.0.1g> nmake -f ms\ntdll.makcd out32dll, , run ..\ms\test
make sure tests pass:
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
Post a Comment