[xmlsec] Re:Problem with libxmlSec0.0.6

Igor Zlatkovic izlatkovic at daenet.de
Fri Jul 19 01:03:21 PDT 2002


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 at aleksey.com] 
> Sent: 19 July 2002 10:17
> To: kltsai
> Cc: xmlSec; Igor Zlatkovic
> Subject: Re: [xmlsec] Re:Problem with libxmlSec0.0.6
> 
> 
> You can disable OpenSSL 0.9.7 support on Windows using a config
> option (run 'csript configure.js help' for details).  I am 
> 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 
> check it in
> if it is a good idea.
> 
> Aleksey
> 
> kltsai wrote:
> 
> >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 
> opensslv0.9.7).
> >
> >In file: win32\Makefile
> >	line70: CFLGAS = $(CFLAGS) /DXMLSEC_NO_XPATHAL=1
> >		^^^^^^  => CFLAGS
> >	line100:
> >		CFLGAS = $(CFLAGS) /DXMLSEC_NO_AES=1
> >		^^^^^^  => CFLAGS
> >	line105:
> >		!if "$(WITH_LIBSXSLT)" == "1"
> >			^^^^^^^^^^^^  => WITH_LIBXSLT
> >
> >In addition to the compiling problem, there is also another 
> problem in
> >using the xmlSec in my *.cpp file while no problem happed in 
> *.c file.
> >This may due to the type checking problem?! I have tried the 
> 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
> >	
> >
> >Regards,
> >
> >
> >						kltsai
> >  
> >
> 
> 
> 



More information about the xmlsec mailing list