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


-- 
**********************************************************************************
 Jörg Tiedemann                                   jorg.tiedem...@lingfil.uu.se
 Dep. of Linguistics and Philology           http://stp.lingfil.uu.se/~joerg/
 Uppsala University                                  tel:  +46 (0)18 - 471 1412
 Box 635, SE-751 26 Uppsala/SWEDEN    fax: +46 (0)18 - 471 1094

_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to