Dear Charles, probably you are using an old release of IRSTLM please download the new one (5.50.01) from FBK website http://hlt.fbk.eu/en/irstlm
as suggested during the compilation of Moses Hope this solve your problem bet regards, Nicola Bertoldi On Nov 2, 2010, at 6:10 AM, Charles Chiu wrote: > Hi, > I was able to by pass the gcc4 makefile issue i had > while compiling > SRILM and moses configuration utility actually is able to finish > its task. > However, I am encountering a new issue here. I was trying to > compile Moses and > got the following error log when compiling with "make -j 2" command. > Could someone help me to figure out what is going on with this > issue? By the > way, I really appreciate the reply for my last question. It really > helps a lot! > > Thanks! > > Error Log: > > In file included from Hypothesis.h:33, > from SentenceStats.h:30, > from StaticData.h:43, > from LanguageModelIRST.cpp:38: > PhraseDictionaryMemory.h:66: warning: unused parameter ‘outColl’ > LanguageModelIRST.cpp: In member function ‘virtual bool > Moses::LanguageModelIRST::Load(const std::string&, > Moses::FactorType, size_t)’: > LanguageModelIRST.cpp:123: warning: comparison of unsigned > expression >= 0 is > always true > LanguageModelIRST.cpp:126: error: ‘class lmtable’ has no member named > ‘init_caches’ > LanguageModelIRST.cpp: In member function ‘virtual float > Moses::LanguageModelIRST::GetValue(const std::vector<const > Moses::Word*, > std::allocator<const Moses::Word*> >&, const void**, unsigned int*) > const’: > LanguageModelIRST.cpp:196: warning: comparison of unsigned > expression < 0 is > always false > LanguageModelIRST.cpp:213: error: no matching function for call to > ‘lmtable::clprob(int [20], size_t&, NULL, NULL, char**, unsigned > int*)’ > /usr/local/include/lmtable.h:267: note: candidates are: virtual double > lmtable::clprob(ngram) > LanguageModelIRST.cpp: In function ‘bool Moses::LMCacheCleanup > (size_t, size_t)’: > LanguageModelIRST.cpp:224: warning: comparison between signed and > unsigned > integer expressions > make[3]: *** [LanguageModelIRST.lo] Error 1 > make[2]: *** [all] Error 2 > make[1]: *** [all-recursive] Error 1 > make: *** [all] Error 2 > > > > > _______________________________________________ > 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