Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/maven/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
为windows ce 6.0构建openssl时出错_Openssl_Windows Ce - Fatal编程技术网

为windows ce 6.0构建openssl时出错

为windows ce 6.0构建openssl时出错,openssl,windows-ce,Openssl,Windows Ce,从VisualStudio2005命令提示符运行命令“nmake-f ms\cedl.mak”时,出现以下错误 cl /Fotmp32dll_x86\b_sock.obj -Iinc32 -Itmp32dll_x86 /MC /O1i /W3 /GF / Gy /nologo -DUNICODE -D_UNICODE -DOPENSSL_SYSNAME_WINCE -DWIN32_LEAN_AND_MEAN -D L_ENDIAN -DDSO_WIN32 -DNO_CHMOD -DOPENSS

从VisualStudio2005命令提示符运行命令“nmake-f ms\cedl.mak”时,出现以下错误

cl /Fotmp32dll_x86\b_sock.obj  -Iinc32 -Itmp32dll_x86 /MC /O1i /W3 /GF /
Gy /nologo -DUNICODE -D_UNICODE -DOPENSSL_SYSNAME_WINCE -DWIN32_LEAN_AND_MEAN -D
L_ENDIAN -DDSO_WIN32 -DNO_CHMOD -DOPENSSL_SMALL_FOOTPRINT -D_WIN32_WCE=600 -DUND
ER_CE=600 -DWCE_PLATFORM_VC-CE -Dx86 -D_ -ID:/wcecompat/include -DOPENSSL_NO_RC5
 -DOPENSSL_NO_MD2 -DOPENSSL_NO_KRB5 -DOPENSSL_NO_JPAKE -DOPENSSL_NO_STATIC_ENGIN
E /Zi /Fdtmp32dll_x86/lib -D_WINDLL -D_DLL  -DOPENSSL_BUILD_SHLIBCRYPTO -c .\cry
pto\bio\b_sock.c
cl : Command line warning D9002 : ignoring unknown option '/MC'
b_sock.c
D:\Program Files\Windows CE Tools\wce600\DO_X86_600\include\x86\winsock.h(764) :
 warning C4005: 'ENAMETOOLONG' : macro redefinition
        D:\wcecompat\include\errno.h(128) : see previous definition of 'ENAMETOO
LONG'
D:\Program Files\Windows CE Tools\wce600\DO_X86_600\include\x86\winsock.h(767) :
 warning C4005: 'ENOTEMPTY' : macro redefinition
        D:\wcecompat\include\errno.h(137) : see previous definition of 'ENOTEMPT
Y'
.\crypto\bio\b_sock.c(195) : warning C4013: 'getservbyname' undefined; assuming
extern returning int
.\crypto\bio\b_sock.c(195) : warning C4047: '=' : 'servent *' differs in levels
of indirection from 'int'
.\crypto\bio\b_sock.c(629) : error C2079: 'sa_in6' uses undefined struct 'sockad
dr_in6'
.\crypto\bio\b_sock.c(776) : error C2224: left of '.sin6_addr' must have struct/
union type
.\crypto\bio\b_sock.c(776) : error C2224: left of '.sin6_addr' must have struct/
union type
.\crypto\bio\b_sock.c(776) : error C2168: 'memset' : too few actual parameters f
or intrinsic function
.\crypto\bio\b_sock.c(777) : error C2224: left of '.sin6_addr' must have struct/
union type
.\crypto\bio\b_sock.c(861) : error C2079: 'sa_in6' uses undefined struct 'sockad
dr_in6'
NMAKE : fatal error U1077: '"D:/Program Files/Microsoft Visual Studio 8/VC/bin\c
l.EXE"' : return code '0x2'
Stop.
替换

“#如果!已定义(OPENSSL_NO_SOCK)&&defined(_WIN32_WINNT)”带有

第273行“OPENSSL-1.0.1e\e_os.h”中的“#if!defined(OPENSSL_NO_SOCK)&&&(defined(_WIN32_WINNT)| defined(_WIN32_WCE))”


有关更多信息-

您似乎还没有运行配置。我尝试了以下顺序1。perl配置VC-CE2。呼叫。\ms\do\u ms.bat 3。nmake-f.\ms\cedell.makTry“/D\u WIN32\u WCE=0x600”,我相信这是版本6.0的预期定义方式。