bug-gnubg
[Top][All Lists]
Advanced

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

RE: [Bug-gnubg] Link problem with matchequity.c (0.14.3-devel)


From: macherius
Subject: RE: [Bug-gnubg] Link problem with matchequity.c (0.14.3-devel)
Date: Thu, 5 May 2005 03:01:29 +0200

As a quick fix just chancge it to

#if LIBXML_VERSION > 20508

It's not a real problem if validation is not used when your XML is
well-formed and correct. The data is extracted just fine from well-formed
docs, DTD and catalogs are just an extra layer of checking. Comment it out
for now, I will check if the function can be replaced.

> but the xml*ValidCtxt() functions were introduced later, in 
> 2.5.8 apparently 
> (and RH9 uses libxml2 2.5.4)

The documentation of libxml2 is a mess, i found it impossible to figure out
easily when what function was introduced. Thus thanks for looking it up!

Ingo


> -----Original Message-----
> From: address@hidden 
> [mailto:address@hidden On Behalf 
> Of Philippe Michel
> Sent: Wednesday, May 04, 2005 8:58 PM
> To: address@hidden
> Subject: [Bug-gnubg] Link problem with matchequity.c (0.14.3-devel)
> 
> 
> matchequity.c doesn't link on RedHat 9 :
> 
> matchequity.o(.text+0x246b): In function `readMET':
> /home/pm/src/gnubg/matchequity.c:1431: undefined reference to 
> `xmlNewValidCtxt'
> matchequity.o(.text+0x2521):/home/pm/src/gnubg/matchequity.c:1
> 443: undefined 
> reference to `xmlFreeValidCtxt'
> 
> In matchequity.c, there is something like :
> 
> /* libxml2 version 2.4.3 introduced xml catalogs */
> #if LIBXML_VERSION > 20403
> etc...
> 
> but the xml*ValidCtxt() functions were introduced later, in 
> 2.5.8 apparently 
> (and RH9 uses libxml2 2.5.4)
> 
> Best regards,
> 
> Philippe Michel
> 
> 
> _______________________________________________
> Bug-gnubg mailing list
> address@hidden http://lists.gnu.org/mailman/listinfo/bug-gnubg
> 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]