Problems in Guess constructor with autogen.sh

when i run autogen.sh (ubuntu), i am getting the following error:

/home/ubuntu/skunk/core/lingucomponent/source/languageguessing/guess.cxx: In constructor âGuess::Guess(const char*)â:
/home/ubuntu/skunk/core/lingucomponent/source/languageguessing/guess.cxx:60:49: error: â_TEXTCAT_RESULT_UNKNOWNâ was not declared in this scope
make[1]: *** [/home/ubuntu/skunk/core/workdir/unxlngx6.pro/CxxObject/lingucomponent/source/languageguessing/guess.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [build] Error 2

what am i doing wrong?

Ask on the LibreOffice developer mailing list or irc, this is a user-questions oriented forum.