按照openssl中自带的install-w32文件内容进行操作
执行ms\do_ms报错
no rule for crypto\md4 at util\mk1mf.pl line
在网上找到解决方案.
https://groups.google.com/forum/?fromgroups=#!topic/mailing.openssl.users/QqjyJvH8J58
但版本略有不同,要改动的行数也就有点变化。
搜索 RELATIVE_DIRECTORY找到位置 1.0.1c版中在332行。
chop;后加上
s/\r$//; #remove carriage return too!
后如下
#############################################
# We parse in input file and 'store' info for later printing.
open(IN,"<$infile") || die "unable to open $infile:$!\n";
$_=<IN>;
for (;;)
{
chop;
s/\r$//; #remove carriage return too!
($key,$val)=/^([^=]+)=(.*)/;
if ($key eq "RELATIVE_DIRECTORY")
{
if ($lib ne "")
执行ms\do_ms报错
no rule for crypto\md4 at util\mk1mf.pl line
在网上找到解决方案.
https://groups.google.com/forum/?fromgroups=#!topic/mailing.openssl.users/QqjyJvH8J58
但版本略有不同,要改动的行数也就有点变化。
搜索 RELATIVE_DIRECTORY找到位置 1.0.1c版中在332行。
chop;后加上
s/\r$//; #remove carriage return too!
后如下
#############################################
# We parse in input file and 'store' info for later printing.
open(IN,"<$infile") || die "unable to open $infile:$!\n";
$_=<IN>;
for (;;)
{
chop;
s/\r$//; #remove carriage return too!
($key,$val)=/^([^=]+)=(.*)/;
if ($key eq "RELATIVE_DIRECTORY")
{
if ($lib ne "")
本文介绍了解决OpenSSL在Windows环境下使用MS编译器进行编译时遇到的noruleforcryptomd4错误的方法。通过修改mk1mf.pl脚本中的特定行,可以成功移除回车符,确保编译过程顺利进行。
1804

被折叠的 条评论
为什么被折叠?



