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


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


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.