On Fri, Oct 26, 2012 at 04:51:15PM +0200, Petr Sumbera wrote:
> Hi,
>
> not sure what is happening here. I'm getting following during 2.9.0
> build on S11.1:
>
> CCLD xmllint
> Undefined first referenced
> symbol in file
> docbSAXParseDoc ./.libs/libxml2.so
> docbParseFile ./.libs/libxml2.so
> docbParseDocument ./.libs/libxml2.so
> xmlSaveNoEmptyTagsThrDef ./.libs/libxml2.so
> xmlXPathNZERO ./.libs/libxml2.so
> xmlUnicodeCatTbl ./.libs/libxml2.so
> xmlNanoHTTPFetchContent ./.libs/libxml2.so
> docbEncodeEntities ./.libs/libxml2.so
> docbFreeParserCtxt ./.libs/libxml2.so
> xmlUnicodeBlockTbl ./.libs/libxml2.so
> docbCreatePushParserCtxt ./.libs/libxml2.so
> docbCreateFileParserCtxt ./.libs/libxml2.so
> docbParseChunk ./.libs/libxml2.so
> docbParseDoc ./.libs/libxml2.so
> docbSAXParseFile ./.libs/libxml2.so
> ld: fatal: symbol referencing errors. No output written to .libs/xmllint
>
> At least first one seems to be because configure sets
> WITH_SAX1_SOURCES_TRUE to '#'.
>
> And this is because WITH_TRIO is not '1'. While it seems that it's
> '1' just for HP something systems.
>
> So I'm confused.
It's weird. I wonder if this isn't a bug in the follwing part of
configure.in:
if test "$with_sax1" = "no" ; then
echo Disabling the older SAX1 interface
WITH_SAX1=0
TEST_SAX=
else
WITH_SAX1=1
TEST_SAX=SAXtests
fi
AC_SUBST(WITH_SAX1)
AM_CONDITIONAL(WITH_SAX1_SOURCES, test "${WITH_TRIO}" = "1")
AC_SUBST(TEST_SAX)
I would guess the AM_CONDITIONAL should test WITH_SAX1 there not
WITH_TRIO.
Could you try to make the change and see if this fixes the issue on
S11 ?
thanks,
Daniel
--
Daniel Veillard | Open Source and Standards, Red Hat
[email protected] | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | virtualization library http://libvirt.org/
_______________________________________________
xml mailing list, project page http://xmlsoft.org/
[email protected]
https://mail.gnome.org/mailman/listinfo/xml