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