安装OpenSsl时报错:fatal error U1077: 'cl' : return code '0x2' 具体请看问题补充

具体如下:D:\OpenSSL>nmake-fms\ntdll.makMicrosoft(R)ProgramMaintenanceUtilityVersion6.00.8... 具体如下:
D:\OpenSSL>nmake -f ms\ntdll.mak

Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

Building OpenSSL
cl /Fotmp32dll\gost_crypt.obj -Iinc32 -Itmp32dll /MD /Ox /O2 /Ob2 -DOPE
NSSL_THREADS -DDSO_WIN32 -DOPENSSL_USE_IPV6=0 -W3 -WX -Gs0 -GF -Gy -nologo -DOP
ENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -D_CRT_SECURE_NO_DEPRECATE
-DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DSHA1_ASM
-DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM -DWHIRLPOOL_ASM -DOP
ENSSL_USE_APPLINK -I. /Fdout32dll -DOPENSSL_NO_RC5 -DOPENSSL_NO_MD2 -DOPENSSL_NO
_MDC2 -DOPENSSL_NO_KRB5 -DOPENSSL_NO_JPAKE -DOPENSSL_NO_STATIC_ENGINE -D_WINDLL
-DOPENSSL_BUILD_SHLIBCRYPTO -c .\engines\ccgost\gost_crypt.c
gost_crypt.c
.\engines\ccgost\gost_crypt.c(44) : error C2220: warning treated as error - no o
bject file generated
.\engines\ccgost\gost_crypt.c(44) : warning C4047: 'initializing' : 'unsigned lo
ng ' differs in levels of indirection from 'int (__cdecl *)(struct evp_cipher_ct
x_st *,struct asn1_type_st *)'
.\engines\ccgost\gost_crypt.c(45) : warning C4113: 'int (__cdecl *)(struct evp_c
ipher_ctx_st *,struct asn1_type_st *)' differs in parameter lists from 'int (__c
decl *)(struct evp_cipher_ctx_st *,const unsigned char *,const unsigned char *,i
nt )'
.\engines\ccgost\gost_crypt.c(46) : warning C4028: formal parameter 2 different
from declaration
.\engines\ccgost\gost_crypt.c(46) : warning C4028: formal parameter 3 different
from declaration
.\engines\ccgost\gost_crypt.c(46) : warning C4028: formal parameter 4 different
from declaration
.\engines\ccgost\gost_crypt.c(62) : warning C4047: 'initializing' : 'unsigned lo
ng ' differs in levels of indirection from 'int (__cdecl *)(struct evp_cipher_ct
x_st *,struct asn1_type_st *)'
.\engines\ccgost\gost_crypt.c(63) : warning C4113: 'int (__cdecl *)(struct evp_c
ipher_ctx_st *,struct asn1_type_st *)' differs in parameter lists from 'int (__c
decl *)(struct evp_cipher_ctx_st *,const unsigned char *,const unsigned char *,i
nt )'
.\engines\ccgost\gost_crypt.c(64) : warning C4028: formal parameter 2 different
from declaration
.\engines\ccgost\gost_crypt.c(64) : warning C4028: formal parameter 3 different
from declaration
.\engines\ccgost\gost_crypt.c(64) : warning C4028: formal parameter 4 different
from declaration
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.

在openssl官方网站上找到了,方法是禁用IPV6
perl Configure VC-WIN32 -DOPENSSL_USE_IPV6=0
执行完后继续执行D:\OpenSSL>nmake -f ms\ntdll.mak还是报这个错
不知道咋整了,有谁能帮我解决?
展开
 我来答
rzedlbej
2012-03-28 · TA获得超过992个赞
知道小有建树答主
回答量:3241
采纳率:62%
帮助的人:1572万
展开全部
需要安装MASM ,gQzkvZ
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式