GNOME Bugzilla – Bug 125745
cannot compile gnomemeeting (xdap.c) with libxml2-2.6.0
Last modified: 2004-12-22 21:47:04 UTC
Compilation of gnomemeeting fails due to an error in xdap.c (/usr/ports/net/gnomemeeting/work/gnomemeeting-0.98.5/lib/xdap). Manual compilation of this file (with the flags from the makefile) results in the following error. xdap.c: In function `struct xmlDoc * parseonly(char *, xmlEntity * (*) (void *, const xmlChar *), xmlEntity * (**)(void *, const xmlChar *), int)': xdap.c:162: no match for `xmlSAXHandler & = xmlSAXHandlerV1 &' /usr/local/include/libxml2/libxml/parser.h:720: candidates are: struct _xmlSAXHandler & _xmlSAXHandler::operator =(const _xmlSAXHandler &) Changing the declaration of sax on line 159 from xmlSAXHandler sax; to xmlSAXHandlerV1 sax; allows compilation to occur without any errors. The libxml2-2.6.60 documentation shows that the global variable xmlDefaultSAXHandler has had type changed from xmlSAXHandler to xmlSAXHandlerV1.
*** This bug has been marked as a duplicate of 128452 ***