[xmlsec] Re:Problem with libxmlSec0.0.6

Igor Zlatkovic izlatkovic@daenet.de
Fri, 19 Jul 2002 10:03:21 +0200


Good morning,

Things with CFLGAS->CFLAGS was a typo and I have corrected it in the CVS
several days ago. It seems I have managed to perform that act only a day
after Aleksey released 0.0.7, so that we have a fixed CVS and a buggy
0.0.7 release taraball. Perhaps we'll have a better luck next time.

About those definitions, it is about what I did. Xmlsec wouldn't export
few symbols otherwise. Ubnfortunately, those very changes broke few C++
programs, because MS C++ compiler appearantly dislikes both 'extern' and
'dllimport' when used together with 'const'. This is just a small one
from a larger family of problems related to symbol export. Since a
certain uncareful person broke my roadster this week, I believe I'll
have the time to cope with this during the weekend :-)

Ciao
Igor

> -----Original Message-----
> From: Aleksey Sanin [mailto:aleksey@aleksey.com]=20
> Sent: 19 July 2002 10:17
> To: kltsai
> Cc: xmlSec; Igor Zlatkovic
> Subject: Re: [xmlsec] Re:Problem with libxmlSec0.0.6
>=20
>=20
> You can disable OpenSSL 0.9.7 support on Windows using a config
> option (run 'csript configure.js help' for details).  I am=20
> not a big MS VC
> expert so I am forwarding your suggestion to Igor Zlatkovic who is
> helping to maintain Windows port for xmlsec (and not only xmlsec!)
> He should defenetly be able to understand your suggestion and=20
> check it in
> if it is a good idea.
>=20
> Aleksey
>=20
> kltsai wrote:
>=20
> >Hi Aleksey Sanin:
> >
> >	I try your 0.0.7 version in Window2000, and it WORKS. Thank you
> >very much. However the makefile in the original source rpm should be
> >modified so that it can compiled more smoothly with VC6.0 and
> >opensslV0.9.6c(I think Mr. Aleksey Sanin may compile with=20
> opensslv0.9.7).
> >
> >In file: win32\Makefile
> >	line70: CFLGAS =3D $(CFLAGS) /DXMLSEC_NO_XPATHAL=3D1
> >		^^^^^^  =3D> CFLAGS
> >	line100:
> >		CFLGAS =3D $(CFLAGS) /DXMLSEC_NO_AES=3D1
> >		^^^^^^  =3D> CFLAGS
> >	line105:
> >		!if "$(WITH_LIBSXSLT)" =3D=3D "1"
> >			^^^^^^^^^^^^  =3D> WITH_LIBXSLT
> >
> >In addition to the compiling problem, there is also another=20
> problem in
> >using the xmlSec in my *.cpp file while no problem happed in=20
> *.c file.
> >This may due to the type checking problem?! I have tried the=20
> following
> >definition and it works both in win2000 and linux at least.
> >In original file: src\xmlsec.h
> >	#define XMLSEC_EXPORT extern
> >	#define XMLSEC_EXPORT_VAR __declspec(dllimport) extern
> >
> >The new definition :
> >	#define XMLSEC_EXPORT __declspec(dllimport)
> >	#define XMLSEC_EXPORT_VAR __declspec(dllimport) extern
> >=09
> >
> >Regards,
> >
> >
> >						kltsai
> > =20
> >
>=20
>=20
>=20