[xslt] Making libxslt-1.1.15 with libxml2-2.6.22 fail



Hi everyone.

Now I'm trying to make libxslt myself.
but there are some of problem.

I've already made libxml2-2.6.22 successfully.
but, When I make it, I couldn't help to see error messages like below.
I can't understand what these messages mean
and  I don't know what I have to do to solve this.
Do you have any idea?

FYI, gcc's version is 3.3.4
and I'm using gentoo linux (2.6.1-gentoo kernel version).
If you want to know more, please feel free to mail me.

thank you in advance.

Best regards.
-------- Messages here ----------------
[new_SES] rich:~/local/src/libxslt-1.1.15 >> make
make  all-recursive
make[1]: Entering directory `/home/rich/local/src/libxslt-1.1.15'
Making all in libxslt
make[2]: Entering directory `/home/rich/local/src/libxslt-1.1.15/libxslt'
if /bin/sh ../libtool --mode=compile --tag=CC gcc -DHAVE_CONFIG_H -I.
-I. -I.. -I.. -I../libxslt -I/home/rich/local
/include/libxml2    -g -O2 -Wall -MT attrvt.lo -MD -MP -MF
".deps/attrvt.Tpo" -c -o attrvt.lo attrvt.c; \
then mv -f ".deps/attrvt.Tpo" ".deps/attrvt.Plo"; else rm -f
".deps/attrvt.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../libxslt
-I/home/rich/local/include/libxml2 -g -O2 -Wall -MT attrvt.lo -
MD -MP -MF .deps/attrvt.Tpo -c attrvt.c  -fPIC -DPIC -o .libs/attrvt.o
In file included from xsltutils.h:23,
                from attrvt.c:26:
xsltInternals.h:300: error: syntax error before "xmlXPathCompExprPtr"
xsltInternals.h:300: warning: no semicolon at end of struct or union
xsltInternals.h:318: error: syntax error before "xmlXPathObjectPtr"
xsltInternals.h:318: warning: no semicolon at end of struct or union
xsltInternals.h:502: error: syntax error before "xmlNodeSetPtr"
xsltInternals.h:502: warning: no semicolon at end of struct or union
xsltInternals.h:508: error: syntax error before "xpathCtxt"
xsltInternals.h:508: warning: type defaults to `int' in declaration of
`xpathCtxt'
xsltInternals.h:508: warning: data definition has no type or storage class
xsltInternals.h:576: error: syntax error before '}' token
xsltInternals.h:661: error: syntax error before "xsltFormatNumberConversion"
xsltInternals.h:664: warning: type defaults to `int' in declaration of
`xsltFormatNumberConversion'
xsltInternals.h:664: warning: data definition has no type or storage class
In file included from attrvt.c:26:
xsltutils.h:176: error: syntax error before "list"
xsltutils.h:190: error: syntax error before '*' token
xsltutils.h:192: warning: type defaults to `int' in declaration of
`xsltComputeSortResult'
xsltutils.h:192: warning: data definition has no type or storage class
xsltutils.h:241: error: syntax error before "xsltXPathCompile"
xsltutils.h:242: warning: type defaults to `int' in declaration of
`xsltXPathCompile'
xsltutils.h:242: warning: data definition has no type or storage class
In file included from attrvt.c:28:
templates.h:25: error: syntax error before "xmlXPathCompExprPtr"
templates.h:47: error: syntax error before "xmlXPathCompExprPtr"
templates.h:50: error: syntax error before "xmlXPathCompExprPtr"
attrvt.c: In function `xsltFreeAttrVT':
attrvt.c:105: warning: implicit declaration of function `xmlXPathFreeCompExpr'
attrvt.c:105: error: `xmlXPathCompExprPtr' undeclared (first use in
this function)
attrvt.c:105: error: (Each undeclared identifier is reported only once
attrvt.c:105: error: for each function it appears in.)
attrvt.c:105: error: syntax error before "avt"
attrvt.c:108: error: syntax error before "avt"
attrvt.c: In function `xsltCompileAttr':
attrvt.c:255: error: `xmlXPathCompExprPtr' undeclared (first use in
this function)
attrvt.c:255: error: syntax error before "comp"
attrvt.c:257: error: `comp' undeclared (first use in this function)
attrvt.c: In function `xsltEvalAVT':
attrvt.c:341: error: `xmlXPathCompExprPtr' undeclared (first use in
this function)
attrvt.c:341: error: syntax error before "comp"
attrvt.c:353: error: `comp' undeclared (first use in this function)
attrvt.c:353: error: syntax error before "cur"
----- End of Messages -----


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