Tuesday, February 16, 2010

libxml2 and ubuntu upgrade

After upgrading to Ubuntu 9.10 from 9.04, Abiword cross-building failed with the below error message at libxml2. Uninstalled libxml2 that installed from the channel and reinstalled a later version from here. Issue is fixed!


make[6]: Nothing to be done for `all'.
make[6]: Leaving directory `/home/pradeeban/abiword/src/af/util/xp/t'
make[6]: Entering directory `/home/pradeeban/abiword/src/af/util/xp'
../../../../doltcompile /usr/bin/i586-mingw32msvc-c++ -DHAVE_CONFIG_H -I. -I../../../..  -mthreads -I/usr/include/fribidi -I/opt/win32/include/glib-2.0 -I/opt/win32/lib/glib-2.0/include -I/opt/win32/include/libgsf-1 -I/usr/include/libxml2 -I/opt/win32/include/wv -I/usr/include/libgsf-1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/opt/win32/include/enchant   -I../../../.. -I../../../../goffice-bits -I../../../../src/af/ev/win -I../../../../src/af/ev/xp -I../../../../src/af/gr/win -I../../../../src/af/gr/xp -I../../../../src/af/util/win -I../../../../src/af/util/xp -I../../../../src/af/xap/win -I../../../../src/af/xap/xp -I/opt/win32/include -Wall -Wextra -Wsign-compare -Wpointer-arith -Wchar-subscripts -Wwrite-strings -Wmissing-noreturn -Wunused -Wpointer-arith  -g -O2 -MT ut_html.lo -MD -MP -MF .deps/ut_html.Tpo -c -o ut_html.lo ut_html.cpp
In file included from /usr/include/libxml2/libxml/parserInternals.h:18,
                 from ut_html.cpp:36:
/usr/include/libxml2/libxml/chvalid.h:80: error: external linkage required for symbol ‘xmlIsBaseCharGroup’ because of ‘dllexport’ attribute
/usr/include/libxml2/libxml/chvalid.h:80: error: uninitialized const ‘xmlIsBaseCharGroup’
/usr/include/libxml2/libxml/chvalid.h:124: error: external linkage required for symbol ‘xmlIsCharGroup’ because of ‘dllexport’ attribute
/usr/include/libxml2/libxml/chvalid.h:124: error: uninitialized const ‘xmlIsCharGroup’
/usr/include/libxml2/libxml/chvalid.h:136: error: external linkage required for symbol ‘xmlIsCombiningGroup’ because of ‘dllexport’ attribute
/usr/include/libxml2/libxml/chvalid.h:136: error: uninitialized const ‘xmlIsCombiningGroup’
/usr/include/libxml2/libxml/chvalid.h:156: error: external linkage required for symbol ‘xmlIsDigitGroup’ because of ‘dllexport’ attribute
/usr/include/libxml2/libxml/chvalid.h:156: error: uninitialized const ‘xmlIsDigitGroup’
/usr/include/libxml2/libxml/chvalid.h:176: error: external linkage required for symbol ‘xmlIsExtenderGroup’ because of ‘dllexport’ attribute
/usr/include/libxml2/libxml/chvalid.h:176: error: uninitialized const ‘xmlIsExtenderGroup’
/usr/include/libxml2/libxml/chvalid.h:190: error: external linkage required for symbol ‘xmlIsIdeographicGroup’ because of ‘dllexport’ attribute
/usr/include/libxml2/libxml/chvalid.h:190: error: uninitialized const ‘xmlIsIdeographicGroup’
/usr/include/libxml2/libxml/chvalid.h:191: error: external linkage required for symbol ‘xmlIsPubidChar_tab’ because of ‘dllexport’ attribute
/usr/include/libxml2/libxml/chvalid.h:191: error: uninitialized const ‘xmlIsPubidChar_tab’
In file included from ut_html.cpp:36:
/usr/include/libxml2/libxml/parserInternals.h:279: error: external linkage required for symbol ‘xmlStringText’ because of ‘dllexport’ attribute
/usr/include/libxml2/libxml/parserInternals.h:279: error: uninitialized const ‘xmlStringText’
/usr/include/libxml2/libxml/parserInternals.h:279: error: storage size of ‘xmlStringText’ isn't known
/usr/include/libxml2/libxml/parserInternals.h:280: error: external linkage required for symbol ‘xmlStringTextNoenc’ because of ‘dllexport’ attribute
/usr/include/libxml2/libxml/parserInternals.h:280: error: uninitialized const ‘xmlStringTextNoenc’
/usr/include/libxml2/libxml/parserInternals.h:280: error: storage size of ‘xmlStringTextNoenc’ isn't known
/usr/include/libxml2/libxml/parserInternals.h:281: error: external linkage required for symbol ‘xmlStringComment’ because of ‘dllexport’ attribute
/usr/include/libxml2/libxml/parserInternals.h:281: error: uninitialized const ‘xmlStringComment’
/usr/include/libxml2/libxml/parserInternals.h:281: error: storage size of ‘xmlStringComment’ isn't known
/usr/include/libxml2/libxml/parserInternals.h:279: warning: ‘xmlStringText’ defined but not used
/usr/include/libxml2/libxml/parserInternals.h:280: warning: ‘xmlStringTextNoenc’ defined but not used
/usr/include/libxml2/libxml/parserInternals.h:281: warning: ‘xmlStringComment’ defined but not used
make[6]: *** [ut_html.lo] Error 1
make[6]: Leaving directory `/home/pradeeban/abiword/src/af/util/xp'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/pradeeban/abiword/src/af/util/xp'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/pradeeban/abiword/src/af/util'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/pradeeban/abiword/src/af'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/pradeeban/abiword/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/pradeeban/abiword'
make: *** [all] Error 2

No comments:

Post a Comment

You are welcome to provide your opinions in the comments. Spam comments and comments with random links will be deleted.