From: Freemae f. <fr...@gm...> - 2007-05-25 12:03:15
|
Always when we try to compile moses with srilm, we receive this error (cannot find -loolm). If possible, can you help us how to successfully compile ? We use latest available version by svn, srilm version 1.5.2, boost version 1.33.1-r1, target platform Gentoo Linux 32bit, gcc 4.1.1 thank you, freemae compilation output: IOStream.h: In constructor 'IOStream::IOStream(const std::vector<unsigned int, std::allocator<unsigned int> >&, const std::vector<unsigned int, std::allocator<unsigned int> >&, const FactorMask&, size_t, const std::string&, const std::string&)': IOStream.h:59: warning: 'IOStream::m_inputFile' will be initialized after IOStream.h:56: warning: 'std::ostream* IOStream::m_nBestStream' IOStream.cpp:83: warning: when initialized here IOStream.cpp: At global scope: IOStream.cpp:188: warning: unused parameter 'reportSegmentation' IOStream.cpp:188: warning: unused parameter 'reportAllFactors' mv -f .deps/IOStream.Tpo .deps/IOStream.Po mv -f .deps/TranslationAnalysis.Tpo .deps/TranslationAnalysis.Po g++ -g -O2 -L/root/smt/srilm/lib/i686 -o moses Main.o mbr.o IOStream.o TranslationAnalysis.o -L../../moses/src -lmoses -loolm -ldstruct -lmisc -lz /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: cannot find -loolm collect2: ld returned 1 exit status make[2]: *** [moses] Error 1 make[2]: Leaving directory `/root/smt/moses/moses-cmd/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/smt/moses' make: *** [all] Error 2 |