hi dong i don't recognise those classes, is it a fork of the chart decoder branch you've created?
2010/3/1 dongxinghua0213 <[email protected]> > IN the step, > Compiling the chart-parsing decoder,I followed the order, > > - cd myoptions; perl myoptions/generatemakefile.pl --bdb > /pathtoyourbdb/ > Makefile > - make the error occur: > > BTree.cc:(.text+0x537): undefined reference to `Dbc::close()' > BTree.cc:(.text+0x542): undefined reference to `Dbt::~Dbt()' > BTree.cc:(.text+0x54d): undefined reference to `Dbt::~Dbt()' > BTree.cc:(.text+0x70d): undefined reference to `Dbt::~Dbt()' > BTree.cc:(.text+0x718): undefined reference to `Dbt::~Dbt()' > BTree.o: In function `CBTree::CBTree(std::basic_string<char, > std::char_traits<char>, std::allocator<char> >)': > BTree.cc:(.text+0x9c4): undefined reference to `Db::Db(DbEnv*, unsigned > int)' > BTree.o: In function `CBTree::CBTree(std::basic_string<char, > std::char_traits<char>, std::allocator<char> >)': > BTree.cc:(.text+0xf04): undefined reference to `Db::Db(DbEnv*, unsigned > int)' > LanguageModelSAMT.o: In function > `CDatabaseSAMTLM::CDatabaseSAMTLM(std::basic_string<char, > std::char_traits<char>, std::allocator<char> > ! const&, bool)': > LanguageModelSAMT.cc:(.text+0x212): undefined reference to `Db::Db(DbEnv*, > unsigned int)' > LanguageModelSAMT.o: In function > `CDatabaseSAMTLM::CDatabaseSAMTLM(std::basic_string<char, > std::char_traits<char>, std::allocator<char> > const&, bool)': > LanguageModelSAMT.cc:(.text+0x372): undefined reference to `Db::Db(DbEnv*, > unsigned int)' > collect2: ld returned 1 exit status > make: *** [FastTranslateChart] error 1 > Could somebody help me? > > > > > _______________________________________________ > Moses-support mailing list > [email protected] > http://mailman.mit.edu/mailman/listinfo/moses-support > >
_______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
