From: Christophe de V. <cde...@al...> - 2003-06-24 15:36:44
|
=2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Le Mardi 24 Juin 2003 17:14, Ephraim Vider a =E9crit : > Ok, I have found the problem, Great ! > The prebuilt libxml2 2.5.7 was compiled with thread support (as opposed to > 2.5.4) so the "globals" are accessed differently. > > You need to add _REENTRANT to the libxml++ project preprocessor > definitions in order to activate the thread support in the header and have > access to the global variables. > So we'll have the same problem on unixboxes when libxml is compiled with=20 thread support. Question for autotools gurus: =2D - Is there a way at configure time to now wether or not libxml2 has bee= n=20 compiled with thread-support ? subquestion: =2D - Does defining _REENTRANT and link against a libxml2 without threads w= ill be=20 a problem ? I don't think so but we need to test. Cheers, Christophe =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE++HAiB+sU3TyOQjARAmflAKCYpmbs+REvFCoAjgk693H+t3nncACeNC1u 0jSz6DiOR77XLgYLVE/WhKU=3D =3DXpij =2D----END PGP SIGNATURE----- |