In file included from /usr/include/libxml2/libxml/hash.h:22, from gdome.c:26: /usr/include/libxml2/libxml/parser.h:265: error: syntax error before "xmlHashTablePtr" /usr/include/libxml2/libxml/parser.h:265: warning: no semicolon at end of struct or union /usr/include/libxml2/libxml/parser.h:266: warning: type defaults to `int' in declaration of `attsSpecial' /usr/include/libxml2/libxml/parser.h:266: warning: data definition has no type or storage class /usr/include/libxml2/libxml/parser.h:283: error: syntax error before '}' token FIX: Change all occurrences of #include <libxml/hash.h> to #include <libxml/parser.h> Reproducible: Always Steps to Reproduce: 1. 2. 3.
lanius, you added 0.8.0 afaics (no ChangeLog entry!) can you take this ? reporter, could you provide a correct diff (diff -uNr or something) Did this get fixed/reported upstream in CVS yet ?
Created attachment 20879 [details, diff] patch to fix compile errors #include <libxml/hash.h> should be changed to #include <libxml/parser.h>
I don't think there's a bug upstream. It's a header file inclusion problem.
Sorry for forgeting the changelog entry. It compiles fine here, try to rebuild libxml2.
also what's your libxml2 version?
2.6.2 ( in the description )
This is an upstream bug, your fix would fail with libxml 2.5.*, I added the patch from upstream.