On Mon, Apr 7, 2008 at 1:42 AM, Severin Hacker <[EMAIL PROTECTED]> wrote:
> 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?

You can edit the file /home/severin/irstlm/include/lmtable.h and add this line :
#include <math.h>
before this one (for example) :
#include "util.h"

--
Maxime Biais

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

Reply via email to