hunalign 1.1 compiles for me on ubuntu with gcc 4.6.3

On 05/06/2012 12:36, Joerg Tiedemann wrote:
> I know that this is not really the forum for asking this question, but
> maybe someone of you can still help me with this problem of compiling
> hunalign (1.1) with g++ 4.6.3 on Ubuntu 12.04. The linker gives me a
> lot of errors like this
>
> alignment.o: In function `std::_Rb_tree<int, std::pair<int const,
> std::basic_string<char, std::char_traits<char>, std::allocator<char>  >
>> , std::_Select1st<std::pair<int const, std::basic_string<char,
> std::char_traits<char>, std::allocator<char>  >  >  >, std::less<int>,
> std::allocator<std::pair<int const, std::basic_string<char,
> std::char_traits<char>, std::allocator<char>  >  >  >
>> ::_M_insert_(std::_Rb_tree_node_base const*, std::_Rb_tree_node_base
> const*, std::pair<int const, std::basic_string<char,
> std::char_traits<char>, std::allocator<char>  >  >  const&) [clone
> .constprop.169]':
> alignment.cpp:(.text+0x37): undefined reference to `operator new(unsigned 
> long)'
> alignment.cpp:(.text+0x53): undefined reference to
> `std::basic_string<char, std::char_traits<char>, std::allocator<char>
>> ::basic_string(std::basic_string<char, std::char_traits<char>,
> std::allocator<char>  >  const&)'
> alignment.cpp:(.text+0x66): undefined reference to
> `std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base*,
> std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)'
> alignment.cpp:(.text+0xa8): undefined reference to `__cxa_begin_catch'
> alignment.cpp:(.text+0xb0): undefined reference to `operator delete(void*)'
> ....
>
> It compiles without problems with g++ 4.4.3 on Ubuntu 10.04
>
> Thanks!
> Jörg
>
>
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to