Afficher un message
Vieux 08/04/2006, 16h20   #1
halayli@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut compiling c-client on windows xp

After I installed the platform sdk with all the necesary features, and
setup the environment variables, I tried doing "nmake -f Makefile.w2k",
unfortunately I got the following:



mkdir c-client
copy src\c-client\*.* c-client
src\c-client\auth_gss.c
src\c-client\auth_log.c
src\c-client\auth_md5.c
src\c-client\auth_pla.c
src\c-client\c-client.h
src\c-client\env.h
src\c-client\flstring.c
src\c-client\flstring.h
src\c-client\fs.h
src\c-client\ftl.h
src\c-client\imap4r1.c
src\c-client\imap4r1.h
src\c-client\mail.c
src\c-client\mail.h
src\c-client\misc.c
src\c-client\misc.h
src\c-client\netmsg.c
src\c-client\netmsg.h
src\c-client\newsrc.c
src\c-client\newsrc.h
src\c-client\nl.h
src\c-client\nntp.c
src\c-client\nntp.h
src\c-client\pop3.c
src\c-client\rfc822.c
src\c-client\rfc822.h
src\c-client\smanager.c
src\c-client\smtp.c
src\c-client\smtp.h
src\c-client\sslio.h
src\c-client\tcp.h
src\c-client\utf8.c
src\c-client\utf8.h
33 file(s) copied.
copy src\charset\*.* c-client
src\charset\big5.c
src\charset\cns11643.c
src\charset\gb_12345.c
src\charset\gb_2312.c
src\charset\ibm.c
src\charset\iso_8859.c
src\charset\jis_0208.c
src\charset\jis_0212.c
src\charset\koi8_r.c
src\charset\koi8_u.c
src\charset\ksc_5601.c
src\charset\tis_620.c
src\charset\viscii.c
src\charset\windows.c
14 file(s) copied.
copy src\osdep\nt\*.* c-client
src\osdep\nt\drivers.bat
src\osdep\nt\drivraux.bat
src\osdep\nt\dummy.h
src\osdep\nt\dummynt.c
src\osdep\nt\env_nt.c
src\osdep\nt\env_nt.h
src\osdep\nt\fdstring.c
src\osdep\nt\fdstring.h
src\osdep\nt\fs_nt.c
src\osdep\nt\ftl_nt.c
src\osdep\nt\ip4_nt.c
src\osdep\nt\ip6_nt.c
src\osdep\nt\kerb_mit.c
src\osdep\nt\kerb_w2k.c
src\osdep\nt\mailfile.h
src\osdep\nt\makefile.nt
src\osdep\nt\makefile.ntk
src\osdep\nt\makefile.old
src\osdep\nt\makefile.w2k
src\osdep\nt\mbxnt.c
src\osdep\nt\mbxnt.h
src\osdep\nt\mkautaux.bat
src\osdep\nt\mkauths.bat
src\osdep\nt\mtxnt.c
src\osdep\nt\nl_nt.c
src\osdep\nt\os_nt.c
src\osdep\nt\os_nt.h
src\osdep\nt\os_ntk.c
src\osdep\nt\os_old.c
src\osdep\nt\os_w2k.c
src\osdep\nt\pmatch.c
src\osdep\nt\pseudo.c
src\osdep\nt\pseudo.h
src\osdep\nt\setproto.bat
src\osdep\nt\ssl_none.c
src\osdep\nt\ssl_nt.c
src\osdep\nt\ssl_old.c
src\osdep\nt\ssl_w2k.c
src\osdep\nt\tcp_nt.c
src\osdep\nt\tcp_nt.h
src\osdep\nt\tenexnt.c
src\osdep\nt\unixnt.c
src\osdep\nt\unixnt.h
src\osdep\nt\write.c
src\osdep\nt\yunchan.c
src\osdep\nt\yunchan.h
46 file(s) copied.
mkdir mtest
copy src\mtest\*.* mtest
src\mtest\Makefile
src\mtest\makefile.nt
src\mtest\makefile.ntk
src\mtest\makefile.os2
src\mtest\makefile.w2k
src\mtest\mtest.c
src\mtest\mtest.def
7 file(s) copied.
mkdir mailutil
copy src\mailutil\*.* mailutil
src\mailutil\mailutil.1
src\mailutil\mailutil.c
src\mailutil\mailutil.def
src\mailutil\Makefile
src\mailutil\makefile.nt
src\mailutil\makefile.ntk
src\mailutil\makefile.os2
src\mailutil\makefile.w2k
8 file(s) copied.
mkdir imapd
copy src\imapd\*.* imapd
src\imapd\imapd.8
src\imapd\imapd.c
src\imapd\imapd.def
src\imapd\Makefile
src\imapd\makefile.nt
src\imapd\makefile.ntk
src\imapd\makefile.w2k
7 file(s) copied.
mkdir ipopd
copy src\ipopd\*.* ipopd
src\ipopd\ipop2d.c
src\ipopd\ipop2d.def
src\ipopd\ipop3d.c
src\ipopd\ipop3d.def
src\ipopd\ipopd.8
src\ipopd\Makefile
src\ipopd\makefile.nt
src\ipopd\makefile.ntk
src\ipopd\makefile.w2k
9 file(s) copied.
cd c-client
nmake /nologo /f makefile.w2k IP=4
copy os_nt.h osdep.h
1 file(s) copied.
drivers imap nntp pop3 mbx mtx tenex unix dummy
setproto mbx unix
echo ssl_onceonlyinit (); >> linkage.c
mkauths gss md5 pla log
cl -c /MT /W3 /Ox /DWIN32 -nologo /I.. mail.c
mail.c
cl -c /MT /W3 /Ox /DWIN32 -nologo /I.. misc.c
misc.c
cl -c /MT /W3 /Ox /DWIN32 -nologo /I.. fdstring.c
fdstring.c
cl -c /MT /W3 /Ox /DWIN32 -nologo /I.. flstring.c
flstring.c
cl -c /MT /W3 /Ox /DWIN32 -nologo /I.. netmsg.c
netmsg.c
cl -c /MT /W3 /Ox /DWIN32 -nologo /I.. newsrc.c
newsrc.c
cl -c /MT /W3 /Ox /DWIN32 -nologo /I.. rfc822.c
rfc822.c
cl -c /MT /W3 /Ox /DWIN32 -nologo /I.. smanager.c
smanager.c
cl -c /MT /W3 /Ox /DWIN32 -nologo /I.. utf8.c
utf8.c
cl -c /MT /W3 /Ox /DWIN32 -nologo /I.. imap4r1.c
imap4r1.c
cl -c /MT /W3 /Ox /DWIN32 -nologo /I.. nntp.c
nntp.c
cl -c /MT /W3 /Ox /DWIN32 -nologo /I.. pop3.c
pop3.c
cl -c /MT /W3 /Ox /DWIN32 -nologo /I.. smtp.c
smtp.c
copy ip4_nt.c ip_nt.c
1 file(s) copied.
cl -c /MT /W3 /Ox /DWIN32 -nologo /I.. os_w2k.c
os_w2k.c
kerb_w2k.c(241) : error C2065: 'MICROSOFT_KERBEROS_NAME_A' : undeclared
identifier
kerb_w2k.c(241) : warning C4047: 'function' : 'char *' differs in
levels of indirection from 'int '
kerb_w2k.c(241) : warning C4024: 'AcquireCredentialsHandleA' :
different types for formal and actual parameter 2
kerb_w2k.c(376) : error C2065: 'SEC_E_CERT_EXPIRED' : undeclared
identifier
kerb_w2k.c(376) : error C2051: case expression not constant
kerb_w2k.c(506) : error C2065: 'SECBUFFER_PADDING' : undeclared
identifier
kerb_w2k.c(561) : error C2065: 'SECBUFFER_STREAM' : undeclared
identifier
auth_gss.c(236) : error C2051: case expression not constant
C:\Program Files\Microsoft Platform SDK\Include\.\schannel.h(144) :
error C2061: syntax error : identifier 'ALG_ID'
C:\Program Files\Microsoft Platform SDK\Include\.\schannel.h(145) :
error C2059: syntax error : '}'
C:\Program Files\Microsoft Platform SDK\Include\.\schannel.h(163) :
error C2061: syntax error : identifier 'PCERT_NAME_BLOB'
C:\Program Files\Microsoft Platform SDK\Include\.\schannel.h(165) :
error C2059: syntax error : '}'
C:\Program Files\Microsoft Platform SDK\Include\.\schannel.h(171) :
error C2061: syntax error : identifier 'ALG_ID'
C:\Program Files\Microsoft Platform SDK\Include\.\schannel.h(173) :
error C2061: syntax error : identifier 'aiHash'
C:\Program Files\Microsoft Platform SDK\Include\.\schannel.h(173) :
error C2059: syntax error : ';'
C:\Program Files\Microsoft Platform SDK\Include\.\schannel.h(175) :
error C2061: syntax error : identifier 'aiExch'
C:\Program Files\Microsoft Platform SDK\Include\.\schannel.h(175) :
error C2059: syntax error : ';'
C:\Program Files\Microsoft Platform SDK\Include\.\schannel.h(177) :
error C2059: syntax error : '}'
C:\Program Files\Microsoft Platform SDK\Include\.\schannel.h(230) :
error C2061: syntax error : identifier 'PCCERT_CONTEXT'
C:\Program Files\Microsoft Platform SDK\Include\.\schannel.h(231) :
error C2061: syntax error : identifier 'hRootStore'
C:\Program Files\Microsoft Platform SDK\Include\.\schannel.h(231) :
error C2059: syntax error : ';'
C:\Program Files\Microsoft Platform SDK\Include\.\schannel.h(237) :
error C2143: syntax error : missing '{' before '*'
C:\Program Files\Microsoft Platform SDK\Include\.\schannel.h(245) :
error C2059: syntax error : '}'
C:\Program Files\Microsoft Platform SDK\Include\.\schannel.h(258) :
error C2061: syntax error : identifier 'HCRYPTPROV'
C:\Program Files\Microsoft Platform SDK\Include\.\schannel.h(260) :
error C2059: syntax error : '}'
C:\Program Files\Microsoft Platform SDK\Include\.\schannel.h(556) :
error C2061: syntax error : identifier 'HCRYPTPROV'
C:\Program Files\Microsoft Platform SDK\Include\.\schannel.h(558) :
error C2059: syntax error : '}'
C:\Program Files\Microsoft Platform SDK\Include\.\schannel.h(590) :
error C2061: syntax error : identifier 'HCRYPTPROV'
C:\Program Files\Microsoft Platform SDK\Include\.\schannel.h(592) :
error C2059: syntax error : '}'
C:\Program Files\Microsoft Platform SDK\Include\.\schannel.h(608) :
error C2061: syntax error : identifier 'ALG_ID'
C:\Program Files\Microsoft Platform SDK\Include\.\schannel.h(614) :
error C2059: syntax error : '}'
C:\Program Files\Microsoft Platform SDK\Include\.\schannel.h(642) :
error C2143: syntax error : missing ')' before '*'
C:\Program Files\Microsoft Platform SDK\Include\.\schannel.h(642) :
error C2081: 'PX509Certificate' : name in formal parameter list illegal
C:\Program Files\Microsoft Platform SDK\Include\.\schannel.h(642) :
error C2143: syntax error : missing '{' before '*'
C:\Program Files\Microsoft Platform SDK\Include\.\schannel.h(643) :
error C2059: syntax error : ')'
C:\Program Files\Microsoft Platform SDK\Include\.\schannel.h(649) :
error C2146: syntax error : missing ')' before identifier
'pCertificate'
C:\Program Files\Microsoft Platform SDK\Include\.\schannel.h(649) :
error C2061: syntax error : identifier 'pCertificate'
C:\Program Files\Microsoft Platform SDK\Include\.\schannel.h(649) :
error C2059: syntax error : ';'
C:\Program Files\Microsoft Platform SDK\Include\.\schannel.h(650) :
error C2059: syntax error : ')'
C:\Program Files\Microsoft Platform SDK\Include\.\schannel.h(673) :
error C2143: syntax error : missing ')' before '*'
C:\Program Files\Microsoft Platform SDK\Include\.\schannel.h(673) :
error C2081: 'PX509Certificate' : name in formal parameter list illegal
C:\Program Files\Microsoft Platform SDK\Include\.\schannel.h(673) :
error C2143: syntax error : missing '{' before '*'
C:\Program Files\Microsoft Platform SDK\Include\.\schannel.h(674) :
error C2059: syntax error : ')'
C:\Program Files\Microsoft Platform SDK\Include\.\schannel.h(682) :
error C2146: syntax error : missing ')' before identifier
'pCertificate'
C:\Program Files\Microsoft Platform SDK\Include\.\schannel.h(682) :
error C2061: syntax error : identifier 'pCertificate'
C:\Program Files\Microsoft Platform SDK\Include\.\schannel.h(682) :
error C2059: syntax error : ';'
C:\Program Files\Microsoft Platform SDK\Include\.\schannel.h(683) :
error C2059: syntax error : ')'
ssl_w2k.c(138) : error C2065: 'SCHANNEL_CRED' : undeclared identifier
ssl_w2k.c(138) : error C2146: syntax error : missing ';' before
identifier 'tlscred'
ssl_w2k.c(138) : error C2065: 'tlscred' : undeclared identifier
ssl_w2k.c(139) : error C2065: 'CERT_CONTEXT' : undeclared identifier
ssl_w2k.c(139) : error C2065: 'cert' : undeclared identifier
ssl_w2k.c(139) : warning C4552: '*' : operator has no effect; expected
operator with side-effect
ssl_w2k.c(140) : error C2065: 'CERT_CHAIN_PARA' : undeclared identifier
ssl_w2k.c(140) : error C2146: syntax error : missing ';' before
identifier 'chparam'
ssl_w2k.c(140) : error C2065: 'chparam' : undeclared identifier
ssl_w2k.c(141) : error C2065: 'CERT_CHAIN_CONTEXT' : undeclared
identifier
ssl_w2k.c(141) : error C2065: 'chain' : undeclared identifier
ssl_w2k.c(141) : warning C4552: '*' : operator has no effect; expected
operator with side-effect
ssl_w2k.c(142) : error C2065: 'SSL_EXTRA_CERT_CHAIN_POLICY_PARA' :
undeclared identifier
ssl_w2k.c(142) : error C2146: syntax error : missing ';' before
identifier 'policy'
ssl_w2k.c(142) : error C2065: 'policy' : undeclared identifier
ssl_w2k.c(143) : error C2065: 'CERT_CHAIN_POLICY_PARA' : undeclared
identifier
ssl_w2k.c(143) : error C2146: syntax error : missing ';' before
identifier 'polparam'
ssl_w2k.c(143) : error C2065: 'polparam' : undeclared identifier
ssl_w2k.c(144) : error C2065: 'CERT_CHAIN_POLICY_STATUS' : undeclared
identifier
ssl_w2k.c(144) : error C2146: syntax error : missing ';' before
identifier 'status'
ssl_w2k.c(144) : error C2065: 'status' : undeclared identifier
ssl_w2k.c(145) : error C2143: syntax error : missing ';' before 'type'
ssl_w2k.c(146) : error C2143: syntax error : missing ';' before 'type'
ssl_w2k.c(147) : error C2275: 'ULONG' : illegal use of this type as an
expression
C:\PROGRA~1\MICROS~4\VC98\INCLUDE\windef.h(43) : see
declaration of 'ULONG'
ssl_w2k.c(147) : error C2146: syntax error : missing ';' before
identifier 'req'
ssl_w2k.c(147) : error C2065: 'req' : undeclared identifier
ssl_w2k.c(150) : error C2065: 'ISC_REQ_MANUAL_CRED_VALIDATION' :
undeclared identifier
ssl_w2k.c(151) : error C2275: 'LPSTR' : illegal use of this type as an
expression
C:\PROGRA~1\MICROS~4\VC98\INCLUDE\winnt.h(166) : see
declaration of 'LPSTR'
ssl_w2k.c(151) : error C2146: syntax error : missing ';' before
identifier 'usage'
ssl_w2k.c(151) : error C2065: 'usage' : undeclared identifier
ssl_w2k.c(151) : error C2059: syntax error : ']'
ssl_w2k.c(156) : error C2275: 'PWSTR' : illegal use of this type as an
expression
C:\PROGRA~1\MICROS~4\VC98\INCLUDE\winnt.h(154) : see
declaration of 'PWSTR'
ssl_w2k.c(156) : error C2146: syntax error : missing ';' before
identifier 'whost'
ssl_w2k.c(156) : error C2065: 'whost' : undeclared identifier
ssl_w2k.c(157) : error C2143: syntax error : missing ';' before 'type'
ssl_w2k.c(158) : error C2143: syntax error : missing ';' before 'type'
ssl_w2k.c(159) : error C2275: 'sslcertificatequery_t' : illegal use of
this type as an expression
mail.h(1262) : see declaration of 'sslcertificatequery_t'
ssl_w2k.c(159) : error C2146: syntax error : missing ';' before
identifier 'scq'
ssl_w2k.c(159) : error C2065: 'scq' : undeclared identifier
ssl_w2k.c(160) : warning C4047: '=' : 'int ' differs in levels of
indirection from 'long (__cdecl *)(char *,char *,char *)'
ssl_w2k.c(161) : error C2275: 'sslfailure_t' : illegal use of this type
as an expression
mail.h(1263) : see declaration of 'sslfailure_t'
ssl_w2k.c(161) : error C2146: syntax error : missing ';' before
identifier 'sf'
ssl_w2k.c(161) : error C2065: 'sf' : undeclared identifier
ssl_w2k.c(161) : warning C4047: '=' : 'int ' differs in levels of
indirection from 'void (__cdecl *)(char *,char *,unsigned long )'
ssl_w2k.c(162) : error C2275: 'SSLSTREAM' : illegal use of this type as
an expression
ssl_w2k.c(44) : see declaration of 'SSLSTREAM'
ssl_w2k.c(162) : error C2065: 'stream' : undeclared identifier
ssl_w2k.c(164) : error C2223: left of '->tcpstream' must point to
struct/union
ssl_w2k.c(167) : error C2224: left of '.dwVersion' must have
struct/union type
ssl_w2k.c(168) : error C2224: left of '.grbitEnabledProtocols' must
have struct/union type
ssl_w2k.c(173) : error C2223: left of '->cred' must point to
struct/union
ssl_w2k.c(173) : warning C4133: 'function' : incompatible types - from
'union _LARGE_INTEGER *' to 'struct _SecHandle *'
ssl_w2k.c(173) : error C2198: 'AcquireCredentialsHandleA' : too few
actual parameters
ssl_w2k.c(174) : error C2065: 'reason' : undeclared identifier
ssl_w2k.c(174) : warning C4047: '=' : 'int ' differs in levels of
indirection from 'char [34]'
ssl_w2k.c(177) : error C2065: 'size' : undeclared identifier
ssl_w2k.c(177) : error C2065: 'buf' : undeclared identifier
ssl_w2k.c(177) : warning C4047: '=' : 'void *' differs in levels of
indirection from 'int '
ssl_w2k.c(188) : error C2223: left of '->cred' must point to
struct/union
ssl_w2k.c(188) : error C2223: left of '->context' must point to
struct/union
ssl_w2k.c(188) : warning C4133: 'function' : incompatible types - from
'char *' to 'struct _SecHandle *'
ssl_w2k.c(188) : warning C4047: 'function' : 'struct _SecHandle *'
differs in levels of indirection from 'int '
ssl_w2k.c(188) : warning C4024: 'InitializeSecurityContextA' :
different types for formal and actual parameter 2
ssl_w2k.c(189) : warning C4047: 'function' : 'unsigned long ' differs
in levels of indirection from 'struct _SecBufferDesc *'
ssl_w2k.c(189) : warning C4024: 'InitializeSecurityContextA' :
different types for formal and actual parameter 5
ssl_w2k.c(189) : error C2223: left of '->context' must point to
struct/union
ssl_w2k.c(189) : warning C4047: 'function' : 'unsigned long ' differs
in levels of indirection from 'unsigned long *'
ssl_w2k.c(189) : warning C4024: 'InitializeSecurityContextA' :
different types for formal and actual parameter 8
ssl_w2k.c(189) : warning C4133: 'function' : incompatible types - from
'union _LARGE_INTEGER *' to 'struct _SecHandle *'
ssl_w2k.c(189) : error C2198: 'InitializeSecurityContextA' : too few
actual parameters
ssl_w2k.c(192) : error C2223: left of '->tcpstream' must point to
struct/union
ssl_w2k.c(192) : warning C4047: 'function' : 'char *' differs in levels
of indirection from 'unsigned long '
ssl_w2k.c(192) : warning C4024: 'tcp_sout' : different types for formal
and actual parameter 2
ssl_w2k.c(192) : error C2198: 'tcp_sout' : too few actual parameters
ssl_w2k.c(192) : fatal error C1003: error count exceeds 100; stopping
compilation

  Réponse avec citation
 
Page generated in 0,14750 seconds with 9 queries