OpenSSL compilation process and errors in Windows

Source: Internet
Author: User

The compilation of OpenSSL had plagued me for almost two nights and finally compiled it today .......

 

Record the compilation of this database.

For details about the normal process, refer to this article.
 

Http://blog.chinaunix.net/space.php? Uid = 20479991 & Do = Blog & id = 216269

To put it simply
1) install the actionperl compiling environment
2) Open the CMD command line and enter the OpenSSL file path.
3) Input Perl
Configure VC-WIN32 command, run
4) input the MS \ do_ms command (Note: '\') and run
5)
Open the compiler (such as vc6 and vc9) You want to use, find vcvars32.bat in the bin directory, drag it into cmd, run it, and automatically configure the compiling environment.
6) Input nmake
-F ms/NTDLL. Mak, run
 
Basically, the stop operation is successful. In out32dll, libeay32.dll, libeay32.lib, and ssleay32.dll,
Ssleay32.lib is the compiled library.

Error
1) nmake: Fatal error u1077: 'ml': return code
'0x1'
The solution is to download a new MASM with version 8 or later. For details, see

Http://finebree.blog.163.com/blog/static/878793552008102474254280/

Overwrite the ml.exe in C:/masm32/bin.
2) nmake: Fatal error u1077: 'cl': return code
'0x2'
The solution is to disable IPv6.
Convert the original Perl
Replace configure VC-WIN32 with Perl
Configure VC-WIN32-dopenssl_use_ipv6 = 0

3) ml is not an internal or external command or can be run.ProgramOr batch files
Solution:
Right-click my computer-> properties-> advanced system settings-> environment variable-> system variable to add the ml.exe path in path. For example, if the path of my ml.exe is c: \ masm32 \ bin, add c: \ masm32 \ bin to the path;

4) fatal error lnk1103: debugging information
Extends upt; recompile Module
The solution is to enter the MS path in OpenSSL After typing the MS \ do_ms command, find the ntdll. Mak file, delete all the/debug files in the file, and save them. Step 5

 
For more information, see
 

Http://www.metsky.com/archives/536.html

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.