Compile openssl-1.0.0 under Windows XP (on)

Source: Internet
Author: User

Version
ActivePerl: 5.12.0 build 1200
VC: 6.0
OpenSSL: 1.0.0
MASM: 6.00.8168.0

 

ActivePerl, MASM, and vc6.0 are installed and the bin directory is in the path environment variable.

I,Nmake: Fatal error u1077: 'ml': return code '0x1'

When executed>Nmake-f ms/NTDLL. Mak

Error:
Microsoft (r) program maintenance utility version 6.00.8168.0
Copyright (c) Microsoft Corp 1988-1998. All rights reserved.

Building OpenSSL
ML/nologo/CP/COFF/C/CX/fotmp32dll/sha512-586.obj tmp32dll/sha512-5
86. ASM
Refreshing ing: tmp32dll/sha512-586.asm
MASM version 8.00 or later is strongly recommended.
Error a4910: cannot open file: C:/masm32/bin/ml. Err
Tmp32dll/sha512-586.asm (97): Error a2008: mm
Tmp32dll/sha512-586.asm (105): Error a2008: mm
Tmp32dll/sha512-586.asm (107): Error a2008: mm
Tmp32dll/sha512-586.asm (110): Error a2008: mm
Tmp32dll/sha512-586.asm (112): Error a2008: mm
Tmp32dll/sha512-586.asm (130): Error a2008: mm
Tmp32dll/sha512-586.asm (133): Error a2008: mm
Tmp32dll/sha512-586.asm (154): Error a2008: mm
Tmp32dll/sha512-586.asm (162): Error a2008: mm
Tmp32dll/sha512-586.asm (164): Error a2008: mm
Tmp32dll/sha512-586.asm (167): Error a2008: mm
Tmp32dll/sha512-586.asm (169): Error a2008: mm
Tmp32dll/sha512-586.asm (189): Error a2008: mm
Tmp32dll/sha512-586.asm (192): Error a2008: mm
Tmp32dll/sha512-586.asm (214): Error a2008: mm
Tmp32dll/sha512-586.asm (220): Error a2008: mm
Tmp32dll/sha512-586.asm (221): Error a2008: mm
Tmp32dll/sha512-586.asm (240): Error a2008: mm
Tmp32dll/sha512-586.asm (248): Error a2008: mm
Tmp32dll/sha512-586.asm (250): Error a2008: mm
Tmp32dll/sha512-586.asm (253): Error a2008: mm
Tmp32dll/sha512-586.asm (255): Error a2008: mm
Tmp32dll/sha512-586.asm (275): Error a2008: mm
Tmp32dll/sha512-586.asm (278): Error a2008: mm
Tmp32dll/sha512-586.asm (288): Error a2008: mm
Tmp32dll/sha512-586.asm (289): Error a2008: mm
Tmp32dll/sha512-586.asm (290): Error a2008: mm
Tmp32dll/sha512-586.asm (291): Error a2008: mm
Tmp32dll/sha512-586.asm (292): Error a2008: mm
Tmp32dll/sha512-586.asm (293): Error a2008: mm
Tmp32dll/sha512-586.asm (294): Error a2008: mm
Tmp32dll/sha512-586.asm (295): Error a2008: mm
Nmake: Fatal error u1077: 'ml': return code '0x1'
Stop.

Solution:
Google does not find a solution several times. Carefully analyze the error information. It turns out that the MASM version is too low. In the masm32 I installed
C:/masm32/bin> ML
Microsoft (r) macro Explorer version 6.14.8444
Copyright (c) Microsoft Corp 1981-1997. All rights reserv

The version is 6.14.8444, and 8.00 or later is recommended in the error prompt, so we have to download the high version of MASM.
Install masm8.0 here. For more information, see the following URL,
Http://finebree.blog.163.com/blog/static/878793552008102474254280/

Copy the generated ml.exe file to the C:/masm32/bindirectory and overwrite the original ml.exe file.

 

II,Nmake: Fatal error u1077: 'cl': return code '0x2'

When Error 1 is resolved, re-nmake-f ms/NTDLL. Mak will see this error

Solution:
This is found on the OpenSSL official website by disabling IPv6.
Perl configure VC-WIN32-dopenssl_use_ipv6 = 0

For details, refer
Http://rt.openssl.org/Ticket/Display.html? Id = 2097 & User = guest & pass = guest

Iii. Summary of openssl1.0.0 installation steps in Windows

Version requirements:
ActivePerl: 5.12.0 build 1200
VC: 6.0
OpenSSL: 1.0.0
MASM: 8.0

 

D:/development tools/openssl-1.0.0>Perl configure VC-WIN32-dopenssl_use_ipv6 = 0 -- prefix =
C:/openssl-1.0.0

D:/development tools/openssl-1.0.0>MS/do_ms

D:/development tools/openssl-1.0.0>Nmake-f ms/NTDLL. Mak

D:/development tools/openssl-1.0.0>Nmake-f ms/NTDLL. Mak Test

D:/development tools/openssl-1.0.0>Nmake-f ms/NTDLL. Mak install

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.