Re: [xslt] Syntax error before 'xmlXPathCompExprPtr' when cross-compiling
- From: "William M. Brack" <wbrack mmm com hk>
- To: "The Gnome XSLT library mailing-list" <xslt gnome org>
- Subject: Re: [xslt] Syntax error before 'xmlXPathCompExprPtr' when cross-compiling
- Date: Thu, 11 Oct 2007 09:23:44 -0700 (PDT)
Arvid Brodin wrote:
> Hi,
>
> I am trying to cross-compile libxslt for arm, but have run into a problem
> I haven't managed to solve:
>
> -------------
> arm-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../libxslt
> -I/home/home1/arvid/arm-owb/target/fs/usr/local/include/libxml2
> -mcpu=arm926ej-s -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:353: error: syntax error before 'xmlXPathCompExprPtr'
> xsltInternals.h:353: warning: no semicolon at end of struct or union
> xsltInternals.h:354: warning: type defaults to 'int' in declaration of
> 'usecomp'
> xsltInternals.h:354: warning: data definition has no type or storage
> class
<snip>
All of the error messages you posted indicate there is some problem with
the file being fetched by #include <libxml/xpath.h>. According to the
gcc line, this should be from
/home/home1/arvid/arm-owb/target/fs/usr/local/include/libxml2/libxml/xpath.h.
I'm afraid I can't isolate it further than that.
> ... etc
> -------------
>
> I configured libxslt with
> "--host=arm-unknown-linux-gnu --prefix=/usr/local
> --with-libxml-prefix=/home/home1
> /arvid/arm-owb/target/fs/usr/local --without-crypto --without-python"
>
> libxml2 is installed in the correct place as far as I can tell -
> /home/home1/arvid/arm-owb/target/fs/usr/local/include/libxml2 contains a
> libxml folder which in turn contains header files. (There's also a native
> installation of libxml2 on the machine.)
>
> My toolchain is gcc-4.0.2 and glibc-2.3.2.
>
> Any ideas?
>
> Best regards,
> Arvid Brodin
Bill
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]