Release 5.05.01 of IRSTLM fixed the problem. Otherwise you can modify lmtable.h as suggested by Maxime Biais in his post of Monday, April 07, 2008 4:12 PM
best Nicola ________________________________________ From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Nicola Bertoldi [EMAIL PROTECTED] Sent: Monday, April 07, 2008 9:14 AM To: Severin Hacker; [email protected] Subject: Re: [Moses-support] Moses - IRSTLM compile error I already found the problem. I will fix by tomorrow morning Best Nicola ________________________________________ From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Severin Hacker [EMAIL PROTECTED] Sent: Monday, April 07, 2008 1:42 AM To: [email protected] Subject: [Moses-support] Moses - IRSTLM compile error Hi, I try to compile Moses with IRSTLM on Ubuntu 7.10 and I get the following error: /home/severin/irstlm/include/lmtable.h: In member function âvoid lmtable::set_dictionary_upperbound(int)â: /home/severin/irstlm/include/lmtable.h:216: error: âlogâ was not declared in this scope /home/severin/irstlm/include/lmtable.h: At global scope: /home/severin/irstlm/include/lmtable.h:245: warning: unused parameter âlmfileâ /home/severin/irstlm/include/lmtable.h:246: warning: unused parameter âlmfileâ /home/severin/irstlm/include/lmtable.h:246: warning: unused parameter âbuffMbâ make[2]: *** [LanguageModelIRST.o] Error 1 It looks like it can't find the logarithm function. What shall I do? Best regards, Severin Hacker _______________________________________________ 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 _______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
