[xmlsec] compiling xmlsec on windows

dk at pdx.edu dk at pdx.edu
Tue Nov 15 14:05:36 PST 2005


when i issue the commman 'nmake install', following errors are generated .
Please help.
	cl.exe /nologo /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "_REENTRANT"  /W1 /MD
/I.. /I..\include /Id:\sdk\include /D PACKAGE=\"xmlsec\" /D "HAVE_STDIO_H" /D
"HAVE_STDLIB_H" /D "HAVE_STRING_H" /D "HAVE_CTYPE_H" /D "HAVE_MALLOC_H" /D
"HAVE_MEMORY_H" /D "_DEBUG" /Od /Z7 /DXMLSEC_MSCRYPTO_NT4=1 /D LTDL_OBJDIR=\"\"
/D LTDL_SHLIB_EXT=\".dll\" /D "XMLSEC_OPENSSL_098" /D "XMLSEC_CRYPTO_OPENSSL" /D
"XMLSEC_CRYPTO=\"openssl\"" /Folibxmlsec_openssl.int\ /c
.\src\openssl\x509vfy.c
x509vfy.c
.\src\openssl\x509vfy.c(53) : error C2061: syntax error : identifier
'X509_VERIFY_PARAM'
.\src\openssl\x509vfy.c(55) : error C2059: syntax error : '}'
.\src\openssl\x509vfy.c(75) : error C2027: use of undefined type
'_xmlSecOpenSSLX509StoreCtx'
        ..\src\openssl\x509vfy.c(47) : see declaration of
'_xmlSecOpenSSLX509StoreCtx'
.\src\openssl\x509vfy.c(154) : error C2037: left of 'untrusted' specifies
undefined struct/union '_xmlSecOpenSSLX509StoreCtx'
.\src\openssl\x509vfy.c(155) : error C2037: left of 'untrusted' specifies
undefined struct/union '_xmlSecOpenSSLX509StoreCtx'
.\src\openssl\x509vfy.c(155) : warning C4133: 'function' : incompatible types -
from 'unsigned char *' to 'struct stack_st *'
.\src\openssl\x509vfy.c(155) : error C2198: 'xmlSecOpenSSLX509FindCert' : too
few actual parameters
.\src\openssl\x509vfy.c(191) : error C2037: left of 'xst' specifies undefined
struct/union '_xmlSecOpenSSLX509StoreCtx'
.\src\openssl\x509vfy.c(205) : error C2037: left of 'untrusted' specifies
undefined struct/union '_xmlSecOpenSSLX509StoreCtx'
.\src\openssl\x509vfy.c(206) : error C2037: left of 'untrusted' specifies
undefined struct/union '_xmlSecOpenSSLX509StoreCtx'
.\src\openssl\x509vfy.c(206) : error C2198: 'sk_num' : too few actual
parameters
.\src\openssl\x509vfy.c(207) : error C2037: left of 'untrusted' specifies
undefined struct/union '_xmlSecOpenSSLX509StoreCtx'
.\src\openssl\x509vfy.c(207) : warning C4047: 'function' : 'const struct
stack_st *' differs in levels of indirection from 'int '
.\src\openssl\x509vfy.c(207) : warning C4024: 'sk_value' : different types for
formal and actual parameter 1
.\src\openssl\x509vfy.c(207) : error C2198: 'sk_value' : too few actual
parameters
.\src\openssl\x509vfy.c(232) : error C2037: left of 'xst' specifies undefined
struct/union '_xmlSecOpenSSLX509StoreCtx'
.\src\openssl\x509vfy.c(232) : warning C4133: 'function' : incompatible types -
from 'struct X509_crl_st *' to 'struct x509_store_st *'
.\src\openssl\x509vfy.c(232) : error C2198: 'xmlSecOpenSSLX509VerifyCRL' : too
few actual parameters
.\src\openssl\x509vfy.c(267) : error C2037: left of 'crls' specifies undefined
struct/union '_xmlSecOpenSSLX509StoreCtx'
.\src\openssl\x509vfy.c(268) : error C2037: left of 'crls' specifies undefined
struct/union '_xmlSecOpenSSLX509StoreCtx'
.\src\openssl\x509vfy.c(268) : warning C4133: 'function' : incompatible types -
from 'struct x509_st *' to 'struct stack_st *'
.\src\openssl\x509vfy.c(268) : error C2198:
'xmlSecOpenSSLX509VerifyCertAgainstCrls' : too few actual parameters
.\src\openssl\x509vfy.c(291) : error C2065: 'X509_VERIFY_PARAM' : undeclared
identifier
.\src\openssl\x509vfy.c(291) : error C2065: 'vpm' : undeclared identifier
.\src\openssl\x509vfy.c(291) : warning C4047: '=' : 'int ' differs in levels of
indirection from 'void *'
.\src\openssl\x509vfy.c(291) : error C2106: '=' : left operand must be l-value
.\src\openssl\x509vfy.c(292) : error C2143: syntax error : missing ';' before
'type'
.\src\openssl\x509vfy.c(295) : warning C4047: '==' : 'int ' differs in levels
of indirection from 'void *'
.\src\openssl\x509vfy.c(303) : error C2065: 'vpm_flags' : undeclared identifier
.\src\openssl\x509vfy.c(303) : error C2223: left of '->flags' must point to
struct/union
.\src\openssl\x509vfy.c(314) : error C2037: left of 'xst' specifies undefined
struct/union '_xmlSecOpenSSLX509StoreCtx'
.\src\openssl\x509vfy.c(314) : warning C4133: 'function' : incompatible types -
from 'struct x509_st *' to 'struct x509_store_st *'
.\src\openssl\x509vfy.c(314) : warning C4133: 'function' : incompatible types -
from 'struct stack_st *' to 'struct x509_st *'
.\src\openssl\x509vfy.c(314) : error C2198: 'X509_STORE_CTX_init' : too few
actual parameters
.\src\openssl\x509vfy.c(449) : error C2037: left of 'xst' specifies undefined
struct/union '_xmlSecOpenSSLX509StoreCtx'
.\src\openssl\x509vfy.c(451) : error C2037: left of 'xst' specifies undefined
struct/union '_xmlSecOpenSSLX509StoreCtx'
.\src\openssl\x509vfy.c(451) : warning C4133: 'function' : incompatible types -
from 'struct x509_st *' to 'struct x509_store_st *'
.\src\openssl\x509vfy.c(451) : error C2198: 'X509_STORE_add_cert' : too few
actual parameters
.\src\openssl\x509vfy.c(463) : error C2037: left of 'untrusted' specifies
undefined struct/union '_xmlSecOpenSSLX509StoreCtx'
.\src\openssl\x509vfy.c(465) : error C2037: left of 'untrusted' specifies
undefined struct/union '_xmlSecOpenSSLX509StoreCtx'
.\src\openssl\x509vfy.c(465) : warning C4133: 'function' : incompatible types -
from 'char *' to 'struct stack_st *'
.\src\openssl\x509vfy.c(465) : error C2198: 'sk_push' : too few actual
parameters
.\src\openssl\x509vfy.c(498) : error C2037: left of 'xst' specifies undefined
struct/union '_xmlSecOpenSSLX509StoreCtx'
.\src\openssl\x509vfy.c(500) : error C2037: left of 'xst' specifies undefined
struct/union '_xmlSecOpenSSLX509StoreCtx'
.\src\openssl\x509vfy.c(500) : warning C4133: 'function' : incompatible types -
from 'struct x509_lookup_method_st *' to 'struct x509_store_st *'
.\src\openssl\x509vfy.c(500) : error C2198: 'X509_STORE_add_lookup' : too few
actual parameters
.\src\openssl\x509vfy.c(523) : error C2027: use of undefined type
'_xmlSecOpenSSLX509StoreCtx'
        ..\src\openssl\x509vfy.c(47) : see declaration of
'_xmlSecOpenSSLX509StoreCtx'
.\src\openssl\x509vfy.c(525) : error C2037: left of 'xst' specifies undefined
struct/union '_xmlSecOpenSSLX509StoreCtx'
.\src\openssl\x509vfy.c(526) : error C2037: left of 'xst' specifies undefined
struct/union '_xmlSecOpenSSLX509StoreCtx'
.\src\openssl\x509vfy.c(535) : error C2037: left of 'xst' specifies undefined
struct/union '_xmlSecOpenSSLX509StoreCtx'
.\src\openssl\x509vfy.c(535) : error C2198: 'X509_STORE_set_default_paths' :
too few actual parameters
.\src\openssl\x509vfy.c(548) : error C2037: left of 'xst' specifies undefined
struct/union '_xmlSecOpenSSLX509StoreCtx'
.\src\openssl\x509vfy.c(548) : warning C4133: 'function' : incompatible types -
from 'struct x509_lookup_method_st *' to 'struct x509_store_st *'
.\src\openssl\x509vfy.c(548) : error C2198: 'X509_STORE_add_lookup' : too few
actual parameters
.\src\openssl\x509vfy.c(560) : error C2037: left of 'untrusted' specifies
undefined struct/union '_xmlSecOpenSSLX509StoreCtx'
.\src\openssl\x509vfy.c(561) : error C2037: left of 'untrusted' specifies
undefined struct/union '_xmlSecOpenSSLX509StoreCtx'
.\src\openssl\x509vfy.c(570) : error C2037: left of 'crls' specifies undefined
struct/union '_xmlSecOpenSSLX509StoreCtx'
.\src\openssl\x509vfy.c(571) : error C2037: left of 'crls' specifies undefined
struct/union '_xmlSecOpenSSLX509StoreCtx'
.\src\openssl\x509vfy.c(581) : error C2037: left of 'vpm' specifies undefined
struct/union '_xmlSecOpenSSLX509StoreCtx'
.\src\openssl\x509vfy.c(582) : error C2037: left of 'vpm' specifies undefined
struct/union '_xmlSecOpenSSLX509StoreCtx'
.\src\openssl\x509vfy.c(590) : error C2037: left of 'vpm' specifies undefined
struct/union '_xmlSecOpenSSLX509StoreCtx'
.\src\openssl\x509vfy.c(591) : error C2037: left of 'xst' specifies undefined
struct/union '_xmlSecOpenSSLX509StoreCtx'
.\src\openssl\x509vfy.c(591) : error C2037: left of 'vpm' specifies undefined
struct/union '_xmlSecOpenSSLX509StoreCtx'
.\src\openssl\x509vfy.c(609) : error C2037: left of 'xst' specifies undefined
struct/union '_xmlSecOpenSSLX509StoreCtx'
.\src\openssl\x509vfy.c(610) : error C2037: left of 'xst' specifies undefined
struct/union '_xmlSecOpenSSLX509StoreCtx'
.\src\openssl\x509vfy.c(610) : error C2198: 'X509_STORE_free' : too few actual
parameters
.\src\openssl\x509vfy.c(612) : error C2037: left of 'untrusted' specifies
undefined struct/union '_xmlSecOpenSSLX509StoreCtx'
.\src\openssl\x509vfy.c(613) : error C2037: left of 'untrusted' specifies
undefined struct/union '_xmlSecOpenSSLX509StoreCtx'
.\src\openssl\x509vfy.c(613) : warning C4047: 'function' : 'struct stack_st *'
differs in levels of indirection from 'void (__cdecl *)(void *)'
.\src\openssl\x509vfy.c(613) : warning C4024: 'sk_pop_free' : different types
for formal and actual parameter 1
.\src\openssl\x509vfy.c(613) : error C2198: 'sk_pop_free' : too few actual
parameters
.\src\openssl\x509vfy.c(615) : error C2037: left of 'crls' specifies undefined
struct/union '_xmlSecOpenSSLX509StoreCtx'
.\src\openssl\x509vfy.c(616) : error C2037: left of 'crls' specifies undefined
struct/union '_xmlSecOpenSSLX509StoreCtx'
.\src\openssl\x509vfy.c(616) : warning C4047: 'function' : 'struct stack_st *'
differs in levels of indirection from 'void (__cdecl *)(void *)'
.\src\openssl\x509vfy.c(616) : warning C4024: 'sk_pop_free' : different types
for formal and actual parameter 1
.\src\openssl\x509vfy.c(616) : error C2198: 'sk_pop_free' : too few actual
parameters
.\src\openssl\x509vfy.c(619) : error C2037: left of 'vpm' specifies undefined
struct/union '_xmlSecOpenSSLX509StoreCtx'
.\src\openssl\x509vfy.c(620) : error C2037: left of 'vpm' specifies undefined
struct/union '_xmlSecOpenSSLX509StoreCtx'
.\src\openssl\x509vfy.c(624) : error C2027: use of undefined type
'_xmlSecOpenSSLX509StoreCtx'
        ..\src\openssl\x509vfy.c(47) : see declaration of
'_xmlSecOpenSSLX509StoreCtx'


-- 
Divya



More information about the xmlsec mailing list