Downloaded latest moses source and compiled successfully with both srilm and irstlm. Thanks :)
Regards, Bartosz 2011/5/22 Bartosz Grabski <bartosz.grab...@gmail.com>: > Hello, > > I'm pretty sure I'm using 32-bit version. I built srilm before trying > to install Moses successfully. > > I get the same errors when I configure and try to build Moses WITHOUT > srilm, only with irtslm. > > Bartosz > > 2011/5/21 Miles Osborne <mi...@inf.ed.ac.uk>: >> It looks like you are using 64 bit versions eg srilm. Make sure everything >> is 32 bit >> >> Miles >> >> On 21 May 2011 13:45, "Bartosz Grabski" <bartosz.grab...@gmail.com> wrote: >> >> Hello, >> >> I'm using quite fresh Ubuntu 11.04 (on a 32bit machine). >> I downloaded and compiled latest srilm and irstlm (not without some >> troubles), then downloaded latest Moses from sourceforge. I ran >> regenerate-makefiles.sh, and configure (with srilm and irstlm). Then >> after make I get following errors. Do you have any suggestions? Thanks >> in advance. >> >> make all-recursive >> make[1]: Entering directory `/home/bar/moses' >> Making all in kenlm >> make[2]: Entering directory `/home/bar/moses/kenlm' >> /bin/sh ../libtool --tag=CXX --mode=link g++ -g -O2 >> -L/home/bar/lm/srilm/lib/i686 -L/home/bar/lm/srilm/flm/obj/i686 >> -L/home/bar/lm/irstlm/lib -o build_binary build_binary.o libkenlm.la >> -loolm -loolm -ldstruct -lmisc -lflm -lirstlm -lz >> libtool: link: g++ -g -O2 -o build_binary build_binary.o >> -L/home/bar/lm/srilm/lib/i686 -L/home/bar/lm/srilm/flm/obj/i686 >> -L/home/bar/lm/irstlm/lib ./.libs/libkenlm.a -loolm -ldstruct -lmisc >> -lflm -lirstlm -lz >> build_binary.o: In function `lm::ngram::(anonymous >> namespace)::ParseFloat(char const*)': >> /home/bar/moses/kenlm/lm/build_binary.cc:44: undefined reference to >> `util::ParseNumberException::ParseNumberException(StringPiece)' >> build_binary.o: In function `main': >> /home/bar/moses/kenlm/lm/build_binary.cc:77: undefined reference to >> `lm::ngram::Config::Config()' >> /home/bar/moses/kenlm/lm/build_binary.cc:115: undefined reference to >> `lm::ngram::detail::GenericModel<lm::ngram::trie::TrieSearch, >> lm::ngram::SortedVocabulary>::GenericModel(char const*, >> lm::ngram::Config const&)' >> build_binary.o: In function `~SortedVocabulary': >> /home/bar/moses/kenlm/./lm/vocab.hh:46: undefined reference to >> `lm::base::Vocabulary::~Vocabulary()' > > (cut) > >> collect2: ld returned 1 exit status >> make[2]: *** [build_binary] Error 1 >> make[2]: Leaving directory `/home/bar/moses/kenlm' >> make[1]: *** [all-recursive] Error 1 >> make[1]: Leaving directory `/home/bar/moses' >> make: *** [all] Error 2 >> >> Best regards, >> >> Bartosz Grabski >> _______________________________________________ >> Moses-support mailing list >> Moses-support@mit.edu >> http://mailman.mit.edu/mailman/listinfo/moses-support >> > _______________________________________________ Moses-support mailing list Moses-support@mit.edu http://mailman.mit.edu/mailman/listinfo/moses-support