I have downloaded the latest OpenSSL source package. I want to build it with VC++ 2010 x64. Following the instructions doesn’t seem to work. Configure step looks fine, but then:
C:\1>ms\do_win64a.bat
C:\1>perl util\mkfiles.pl 1>MINFO
C:\1>perl ms\uplink.pl win64a 1>ms\uptable.asm
C:\1>ml64 -c -Foms\uptable.obj ms\uptable.asm
Microsoft (R) Macro Assembler (x64) Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.
Assembling: ms\uptable.asm
C:\1>perl util\mk1mf.pl no-asm VC-WIN64A 1>ms\nt.mak
no rule for crypto\md4 at util\mk1mf.pl line 907.
C:\1>perl util\mk1mf.pl dll no-asm VC-WIN64A 1>ms\ntdll.mak
no rule for crypto\md4 at util\mk1mf.pl line 907.
C:\1>perl util\mkdef.pl 32 libeay 1>ms\libeay32.def
C:\1>perl util\mkdef.pl 32 ssleay 1>ms\ssleay32.def
Win 32 (do_ms) output looks a bit different, but “no rule for crypto\md4 at util\mk1mf.pl line 907” remains.
Could anyone help me in building the library or share vc2010-built binaries?.. Or a VS2010 project file for the library?
The problem seems to be related to eol (end of lines). The solution is to patch mk1mf.pl to make it remove the carriage-return:
Found the solution in openssl users mailing:
http://groups.google.com/group/mailing.openssl.users/browse_thread/thread/42a8f226f1fc279f)