On Mon, 2006-02-06 at 11:16 -0800, Manish Marathe wrote: > Hello All > > I am trying to build libxslt 1.1.14 on Windows 2003 Server using cygwin > as the development environment. > > I am having a problem building the component specifically with the > libexslt library. I have already configured the source giving the > include and library path of libxml2. Also iconv support is there. I > looked into archives about building problem regarding libexslt library > but there was discussion about errors due to macro definition > IN_LIBEXSLT, although I am getting some error because of some > identifiers, looks like which were not declared. > > I believe I am missing something here for sure. Any insight would be > appreciated.
Any suggestions to fix these errors? > > P.S: Following are the errors > > <!---------------------------------------------------------------> > > Microsoft (R) Program Maintenance Utility Version 6.00.9782.0 > Copyright (C) Microsoft Corp 1988-1998. All rights reserved. > > cl.exe /I..\libexslt /nologo /D "WIN32" /D "_WINDOWS" /D > "_MBCS" /W3 /MD /D "_REENTRANT" /I.. /I..\libxslt /IC:\dev\libxslt > \include /D "NDEBUG" > /O2 /Foint.exslt.msvc\ /c ..\libexslt\crypto.c > crypto.c > ..\libexslt\crypto.c(144) : error C2061: syntax error : identifier > 'exsltCryptoCryptoApiCreateHash' > ..\libexslt\crypto.c(144) : error C2059: syntax error : ';' > ..\libexslt\crypto.c(144) : error C2059: syntax error : 'type' > ..\libexslt\crypto.c(184) : error C2146: syntax error : missing ')' > before identifier 'algorithm' > ..\libexslt\crypto.c(184) : error C2081: 'ALG_ID' : name in formal > parameter list illegal > ..\libexslt\crypto.c(184) : error C2061: syntax error : identifier > 'algorithm' > ..\libexslt\crypto.c(184) : error C2059: syntax error : ';' > ..\libexslt\crypto.c(184) : error C2059: syntax error : ',' > ..\libexslt\crypto.c(186) : error C2059: syntax error : ')' > ..\libexslt\crypto.c(211) : error C2065: 'HCRYPTPROV' : undeclared > identifier > ..\libexslt\crypto.c(211) : error C2146: syntax error : missing ';' > before identifier 'hCryptProv' > ..\libexslt\crypto.c(211) : error C2065: 'hCryptProv' : undeclared > identifier > ..\libexslt\crypto.c(212) : error C2065: 'HCRYPTKEY' : undeclared > identifier > ..\libexslt\crypto.c(212) : error C2146: syntax error : missing ';' > before identifier 'hKey' > ..\libexslt\crypto.c(212) : error C2065: 'hKey' : undeclared identifier > ..\libexslt\crypto.c(213) : error C2065: 'HCRYPTHASH' : undeclared > identifier > ..\libexslt\crypto.c(213) : error C2146: syntax error : missing ';' > before identifier 'hHash' > ..\libexslt\crypto.c(213) : error C2065: 'hHash' : undeclared identifier > ..\libexslt\crypto.c(214) : error C2275: 'DWORD' : illegal use of this > type as an expression > C:\Program Files\Microsoft Visual Studio\VC98\Include\windef.h > (141) : see declaration of 'DWORD' > ..\libexslt\crypto.c(214) : error C2146: syntax error : missing ';' > before identifier 'dwDataLen' > ..\libexslt\crypto.c(214) : error C2065: 'dwDataLen' : undeclared > identifier > ..\libexslt\crypto.c(215) : error C2143: syntax error : missing ';' > before 'type' > ..\libexslt\crypto.c(224) : warning C4013: 'CryptAcquireContext' > undefined; assuming extern returning int > ..\libexslt\crypto.c(224) : error C2065: 'PROV_RSA_FULL' : undeclared > identifier > ..\libexslt\crypto.c(225) : error C2065: 'CRYPT_VERIFYCONTEXT' : > undeclared identifier > ..\libexslt\crypto.c(225) : error C2065: 'CRYPT_SILENT' : undeclared > identifier > ..\libexslt\crypto.c(230) : warning C4013: > 'exsltCryptoCryptoApiCreateHash' undefined; assuming extern returning > int > ..\libexslt\crypto.c(231) : error C2065: 'CALG_SHA1' : undeclared > identifier > ..\libexslt\crypto.c(232) : error C2065: 'hash' : undeclared identifier > ..\libexslt\crypto.c(236) : warning C4013: 'CryptDeriveKey' undefined; > assuming extern returning int > ..\libexslt\crypto.c(236) : error C2065: 'CALG_RC4' : undeclared > identifier > ..\libexslt\crypto.c(243) : warning C4013: 'CryptEncrypt' undefined; > assuming extern returning int > ..\libexslt\crypto.c(250) : warning C4013: 'CryptDestroyHash' undefined; > assuming extern returning int > ..\libexslt\crypto.c(253) : warning C4013: 'CryptDestroyKey' undefined; > assuming extern returning int > ..\libexslt\crypto.c(254) : warning C4013: 'CryptReleaseContext' > undefined; assuming extern returning int > ..\libexslt\crypto.c(262) : error C2146: syntax error : missing ';' > before identifier 'hCryptProv' > ..\libexslt\crypto.c(263) : error C2146: syntax error : missing ';' > before identifier 'hKey' > ..\libexslt\crypto.c(264) : error C2146: syntax error : missing ';' > before identifier 'hHash' > ..\libexslt\crypto.c(265) : error C2275: 'DWORD' : illegal use of this > type as an expression > C:\Program Files\Microsoft Visual Studio\VC98\Include\windef.h > (141) : see declaration of 'DWORD' > ..\libexslt\crypto.c(265) : error C2146: syntax error : missing ';' > before identifier 'dwDataLen' > ..\libexslt\crypto.c(266) : error C2143: syntax error : missing ';' > before 'type' > ..\libexslt\crypto.c(294) : warning C4013: 'CryptDecrypt' undefined; > assuming extern returning int > ..\libexslt\crypto.c(499) : warning C4013: 'exsltCryptoCryptoApiHash' > undefined; assuming extern returning int > ..\libexslt\crypto.c(499) : error C2065: 'CALG_MD4' : undeclared > identifier > ..\libexslt\crypto.c(532) : error C2065: 'CALG_MD5' : undeclared > identifier > NMAKE : fatal error U1077: 'cl.exe' : return code '0x2' > > _______________________________________________ > xslt mailing list, project page http://xmlsoft.org/XSLT/ > [email protected] > http://mail.gnome.org/mailman/listinfo/xslt _______________________________________________ xslt mailing list, project page http://xmlsoft.org/XSLT/ [email protected] http://mail.gnome.org/mailman/listinfo/xslt
