[Libreoffice] ixion breakage in sw

Petr Mladek pmladek at suse.cz
Wed Dec 22 14:28:05 PST 2010


Henrik /KaarPoSoft píše v Út 16. 11. 2010 v 12:23 +0100:
> 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*> >&)

I wonder if it might be related to stlport. I see the same problem on
SLED10 where I have the stlport enabled. I do not see it on SLED11 where
I compile without stlport.

The symbol in libixion-0.2.a has "std::allocator<void*>".
cellfml.o wants to use _STL::allocator<void*>

ixion is compiled without STL; cellfml.o is compiled with STL;

I have tried to compile ixion with STL but I got many error; hmm, it
will need more love.

Cedric, Kohei, do you suggest anything?


Best Regards,
Petr



More information about the LibreOffice mailing list