Hi all,

I would like your advice here: when I try to compile moses on a 64bit machine, linked with SRILM compiled for i686-m64 ( ./configure --with-srilm=/home/user/tools/srilm --without-kenlm ), I get the following error:

/bin/bash ../../libtool --tag=CXX --mode=link g++ -g -O2 -L/home/user/tools/srilm/lib/i686-m64 -L/home/user/tools/srilm/flm/obj/i686-m64 -o checkplf checkplf.o ../../moses/src/libmoses.la -loolm -loolm -ldstruct -lmisc -lflm -lz libtool: link: g++ -g -O2 -o .libs/checkplf checkplf.o -L/home/user/tools/srilm/lib/i686-m64 -L/home/user/tools/srilm/flm/obj/i686-m64 ../../moses/src/.libs/libmoses.so -loolm -ldstruct -lmisc -lflm -lz ../../moses/src/.libs/libmoses.so: undefined reference to `OnDiskPt::Word::~Word()' ../../moses/src/.libs/libmoses.so: undefined reference to `OnDiskPt::PhraseNode::GetTargetPhraseCollection(unsigned long, OnDiskPt::OnDiskWrapper&) const' ../../moses/src/.libs/libmoses.so: undefined reference to `OnDiskPt::PhraseNode::GetChild(OnDiskPt::Word const&, OnDiskPt::OnDiskWrapper&) const' ../../moses/src/.libs/libmoses.so: undefined reference to `OnDiskPt::OnDiskWrapper::GetMisc(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const' ../../moses/src/.libs/libmoses.so: undefined reference to `OnDiskPt::PhraseNode::GetCount(unsigned long) const' ../../moses/src/.libs/libmoses.so: undefined reference to `OnDiskPt::OnDiskWrapper::~OnDiskWrapper()' ../../moses/src/.libs/libmoses.so: undefined reference to `OnDiskPt::PhraseNode::~PhraseNode()' ../../moses/src/.libs/libmoses.so: undefined reference to `OnDiskPt::TargetPhraseCollection::~TargetPhraseCollection()' ../../moses/src/.libs/libmoses.so: undefined reference to `OnDiskPt::OnDiskWrapper::GetRootSourceNode()' ../../moses/src/.libs/libmoses.so: undefined reference to `OnDiskPt::OnDiskWrapper::ConvertFromMoses(Moses::FactorDirection, std::vector<unsigned long, std::allocator<unsigned long> > const&, Moses::Word const&) const' ../../moses/src/.libs/libmoses.so: undefined reference to `OnDiskPt::TargetPhraseCollection::ConvertToMoses(std::vector<unsigned long, std::allocator<unsigned long> > const&, std::vector<unsigned long, std::allocator<unsigned long> > const&, Moses::PhraseDictionary const&, std::vector<float, std::allocator<float> > const&, Moses::WordPenaltyProducer const*, Moses::LMList const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, OnDiskPt::Vocab&) const' ../../moses/src/.libs/libmoses.so: undefined reference to `OnDiskPt::OnDiskWrapper::BeginLoad(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' ../../moses/src/.libs/libmoses.so: undefined reference to `OnDiskPt::OnDiskWrapper::OnDiskWrapper()'
collect2: ld returned 1 exit status
make[2]: *** [checkplf] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f .deps/LatticeMBRGrid.Tpo .deps/LatticeMBRGrid.Po
mv -f .deps/LatticeMBR.Tpo .deps/LatticeMBR.Po
make[2]: Leaving directory `/home/user/tools/mosesdecoder/moses-cmd/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/user/tools/mosesdecoder'
make: *** [all] Error 2

Could you tell what exactly has gone wrong, here?

regards
Lefteris

--
MSc. Inf. Eleftherios Avramidis
DFKI GmbH, Alt-Moabit 91c, 10559 Berlin
Tel. +49-30-3949-1827
Fax. +49-30-3949-1810
-------------------------------------------------------------------------------------------
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Firmensitz: Trippstadter Strasse 122, D-67663 Kaiserslautern

Geschaeftsfuehrung:
Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster (Vorsitzender)
Dr. Walter Olthoff

Vorsitzender des Aufsichtsrats:
Prof. Dr. h.c. Hans A. Aukes

Amtsgericht Kaiserslautern, HRB 2313
-------------------------------------------------------------------------------------------

_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to