Re: [xml] Problems of compilation in libxml-2.5.0 with threads and without debug...

On Mon, Jan 06, 2003 at 11:03:12PM +0100, Christophe Merlet (RedFox) wrote:

Don't use --with-threads options else compilation fails with the 
following message:

ppc-redfox-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include 
-I./include -D_REENTRANT -pipe -O3 -fsigned-char -fomit-frame-pointer 
-mcpu=750 -Wall -c globals.c  -fPIC -DPIC -o .libs/globals.lo
globals.c:222: function `__xmlRegisterNodeDefaultValue' is initialized 
like a variable
globals.c:223: function `__xmlDeregisterNodeDefaultValue' is initialized 
like a variable

  Okay fixed, the patch just forgot the #undef for the new global

Don't use --without-debug configure option else compilation fail on 
undefined variable'debug' or apply this patch:

  Well the debug option should be made available since --stream --debug
can be used without requiring the debugXML.c stuff. 
  Fixed in CVS, patch enclosed,



Daniel Veillard      | Red Hat Network
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

Attachment: libxml2-2.5.0.patch
Description: Text document

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]