[xml] Docbook compilation error
- From: "Mailing Lists" <mailing-lists univecom ch>
- To: <xml gnome org>
- Subject: [xml] Docbook compilation error
- Date: Wed, 19 Nov 2003 08:00:37 +0100
I have been trying to compile docbook2x version 0.8.2. "as is", i.e. out of the box, but it doesn't want to
work. I think I have
diligently installed all the required modules and libraries.
I'm posting to this mailing list because the error originates in the libxml2 source.
There is this source file "ext.c" in docbook2x that includes "hash.h", which in turn includes the "parser.h"
header file.
At attempting to compile, I get the following error:
In file included from hash.h:22,
from ext.c:19:
parser.h:265: parse error before "xmlHashTablePtr"
parser.h:265: warning: no semicolon at end of struct or union
parser.h:266: warning: data definition has no type or storage class
parser.h:283: parse error before '}' token
When I tracked back the definition of "xmlHashTablePtr", I noticed that it derives from "struct
_xmlHashTablePtr" which is defined
in "hash.c".
Now I'm wondering how I can possibly compile docbook2x if data structures are defined in a source file (as
opposed to header file),
seeing as there are no *.c files in the include directories?
Thanks!
-Mario
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]