Date: prev next · Thread: first prev next last
2010 Archives by date, by thread · List index


Dear all,

I am trying to build libreoffice 3.2.99.3

In sw/util when making libswli.so I get:

../unxlngi6.pro/slo/cellfml.o: In function `lcl_ConvertWWFormula(String const&)': cellfml.cxx:(.text+0x29c4): undefined reference to `ixion::formula_lexer::swap_tokens(boost::ptr_vector<ixion::lexer_token_base, boost::heap_clone_allocator, _STL::allocator<void*> >&)' cellfml.cxx:(.text+0x2a13): undefined reference to `ixion::formula_parser::formula_parser(boost::ptr_vector<ixion::lexer_token_base, boost::heap_clone_allocator, _STL::allocator<void*> > const&, boost::ptr_map<_STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> >, ixion::base_cell, _STL::less<_STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> > >, boost::heap_clone_allocator, _STL::allocator<_STL::pair<_STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> > const, void*> > >*, bool)'

Re-building with VERBOSE=true confirms that the ixion library is included in the g++ command: -lixion-0.2

However:
nm -C solver/330/unxlngi6.pro/lib/libixion-0.2.a | grep formula_lexer::swap_tokens
Gives:
00000ec4 T ixion::formula_lexer::swap_tokens(boost::ptr_vector<ixion::lexer_token_base, boost::heap_clone_allocator, std::allocator<void*> >&) U ixion::formula_lexer::swap_tokens(boost::ptr_vector<ixion::lexer_token_base, boost::heap_clone_allocator, std::allocator<void*> >&)

If I understand correctly, this means that swap_tokens is undefined in the ixion library (the U line), even though it is referenced from elsewhere in the library (the T line).

So, it would appear that ixion is not build correctly.

It has been suggested to remove fields-table-formula.diff.
However, in the "apply" file, it is listed under [Fixes] which is included in "Common", which is included in every distro. So, if the problem is indeed fields-table-formula.diff, I would expect that everybody would have build problems. It also looks like fields-table-formula.diff includes a lot of other things than just ixion building.

I think that the problem is more likely some other difference between my setup and everybody elses.

For the record, I am building on a home-grown Linux From Scratch system (where I have got other complex pieces of software to work nicely: gnome, qt, vlc, firefox, etc)

I am building with:
./autogen.sh --with-distro=KaarPux --without-git --enable-build-noarch --disable-strip --disable-kde --disable-kde4 --without-junit

using this distro config file:

==================================================
--with-vendor=\"KaarPux\"

--enable-binfilter
--enable-cairo
--enable-crypt-link
--enable-pam-link
--enable-cups
--enable-dbus
--enable-epm
--enable-gio
--disable-gnome-vfs
--enable-gstreamer
--enable-gtk
--enable-hids
--disable-ldap
--enable-lockdown
--enable-minimizer
--disable-mono
--disable-kde
--disable-kde4
--disable-neon
--enable-odk
--enable-opengl
--enable-pdfimport
--enable-presenter-console
--enable-randr-link
--enable-report-builder
--enable-wiki-publisher
--enable-xrender-link

--with-ant-home=/usr/lib/ant
--with-dict=ALL
--with-extension-integration
--with-external-dict-dir=/usr/share/hunspell
--with-external-hyph-dir=/usr/share/hyphen
--with-external-thes-dir=/usr/share/mythes
--with-fonts
--with-java-target-version=1.5
--with-jdk-home=$JAVA_HOME
--without-openldap
--with-linker-hash-style=both
--without-myspell-dicts
--with-unix-wrapper

--with-system-boost
--with-system-db
--with-system-cairo
--with-system-curl
--with-system-dicts
--with-system-expat
--with-system-freetype
--with-system-hunspell
--with-system-icu
--without-system-jars
--with-system-jpeg
--with-system-libxml
--with-system-libxslt
--with-system-mesa-headers
--with-system-mozilla
--with-system-mythes
--with-system-openssl
--with-system-poppler
--with-system-python
--with-system-redland
--with-system-stdlibs
--with-system-vigra
--with-system-xrender-headers
--with-system-zlib
==================================================

Any help and suggestions on how to nail down this problem would be most appreciated.

/Henrik

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.