[xslt] libxslt-1.1.14: error when compiling extensions.c



Hi,

$ xml2-config --modules
0

Getting this error when building 1.1.14:

if sh ../libtool --tag=CC --mode=compile ccache gcc -DHAVE_CONFIG_H -I. -I/instsoft/libxml/libxslt-1.1.14/libxslt -I.. -I/instsoft/libxml/libxslt-1.1.14 -I/instsoft/libxml/libxslt-1.1.14/libxslt -I/usr/include/libxml2 -g0 -O3 -Wall -MT extensions.lo -MD -MP -MF ".deps/extensions.Tpo" -c -o extensions.lo /instsoft/libxml/libxslt-1.1.14/libxslt/extensions.c; \
then mv -f ".deps/extensions.Tpo" ".deps/extensions.Plo"; else rm -f ".deps/extensions.Tpo"; exit 1; fi
ccache gcc -DHAVE_CONFIG_H -I. -I/instsoft/libxml/libxslt-1.1.14/libxslt -I.. -I/instsoft/libxml/libxslt-1.1.14 -I/instsoft/libxml/libxslt-1.1.14/libxslt -I/usr/include/libxml2 -g0 -O3 -Wall -MT extensions.lo -MD -MP -MF .deps/extensions.Tpo -c /instsoft/libxml/libxslt-1.1.14/libxslt/extensions.c -DPIC -o .libs/extensions.o
/instsoft/libxml/libxslt-1.1.14/libxslt/extensions.c: In function `xsltExtModuleRegisterDynamic':
/instsoft/libxml/libxslt-1.1.14/libxslt/extensions.c:320: error: `xmlModulePtr' undeclared (first use in this function)
/instsoft/libxml/libxslt-1.1.14/libxslt/extensions.c:320: error: (Each undeclared identifier is reported only once
/instsoft/libxml/libxslt-1.1.14/libxslt/extensions.c:320: error: for each function it appears in.)
/instsoft/libxml/libxslt-1.1.14/libxslt/extensions.c:320: error: parse error before "m"
/instsoft/libxml/libxslt-1.1.14/libxslt/extensions.c:382: error: `LIBXML_MODULE_EXTENSION' undeclared (first use in this function)
/instsoft/libxml/libxslt-1.1.14/libxslt/extensions.c:402: error: `m' undeclared (first use in this function)
/instsoft/libxml/libxslt-1.1.14/libxslt/extensions.c:402: warning: implicit declaration of function `xmlModuleOpen'
/instsoft/libxml/libxslt-1.1.14/libxslt/extensions.c:418: warning: implicit declaration of function `xmlModuleSymbol'
/instsoft/libxml/libxslt-1.1.14/libxslt/extensions.c:418: warning: dereferencing type-punned pointer will break strict-aliasing rules
/instsoft/libxml/libxslt-1.1.14/libxslt/extensions.c:434: warning: implicit declaration of function `xmlModuleClose'
make[2]: *** [extensions.lo] Error 1
make[2]: Leaving directory `/instsoft/libxml/libxslt-1.1.14/.build/libxslt'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/instsoft/libxml/libxslt-1.1.14/.build'
make: *** [all] Error 2



Gerrit


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