<div class="gmail_quote">Hello,<br>I'm trying to install srilm 1.4.6 on ubuntu 10.04 64-bit and amd-64<br><div class="gmail_quote"><div class="gmail_quote"><div class="gmail_quote">
bit machine. I have turned TCL off.<br>
I have read the user archive and couldn't find a solution to the<br>
problem. Please help me with the same.<br>
<br>
Im using the following command :<br>
make MACHINE_TYPE=i686-m64 SRILM=$PWD CC=/usr/bin/gcc CXX=/usr/bin/g++<br>
 NO_TCL=X TCL_INCLUDE= TCL_LIBRARY= 2>&1 > make.log.txt<br>
<br>
uname -a<br>
Linux ubuntu 2.6.32-38-generic #83-Ubuntu SMP Wed Jan 4 11:12:07 UTC<br>
2012 x86_64 GNU/Linux<br>
<br>
gcc  version :<br>
<br>
Target: x86_64-linux-gnu<br>
Configured with: ../src/configure -v --with-pkgversion='Ubuntu<br>
4.4.3-4ubuntu5'<br>
--with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs<br>
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr<br>
--enable-shared --enable-multiarch --enable-linker-build-id<br>
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext<br>
--enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4<br>
--program-suffix=-4.4 --enable-nls --enable-clocale=gnu<br>
--enable-libstdcxx-debug --enable-plugin --enable-objc-gc<br>
--disable-werror --with-arch-32=i486 --with-tune=generic<br>
--enable-checking=release --build=x86_64-linux-gnu<br>
--host=x86_64-linux-gnu --target=x86_64-linux-gnu<br>
Thread model: posix<br>
gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5)<br>
<br>
<br>
and I get the following error on the console:<br>
<br>
I have attached the makefile log. The ngram, ngram-count,ngram-merge, ngram-calss, disambig, anti-ngram, nbest-lattice, nbest-mix, nbest-optimize,nnbest-pron-score,segment,segment-nbest,hidden-ngram,multi-ngram,fngram-count,fngram-count,fngram and lattice-tool etc. binaries are not being created and they have a problem like this<br>

g++ command :<br>
<br>
******************************************************************************************************************<br>
<br>
/usr/bin/g++    -I. -I/home/ak/Downloads/srilm/include   -u matherr<br>
-L/home/ak/Downloads/srilm/lib/i686-m64  -g -O3  -o<br>
../bin/i686-m64/ngram ../obj/i686-m64/ngram.o<br>
../obj/i686-m64/liboolm.a -lm -ldl<br>
/home/ak/Downloads/srilm/lib/i686-m64/libflm.a<br>
/home/ak/Downloads/srilm/lib/i686-m64/libdstruct.a<br>
/home/ak/Downloads/srilm/lib/i686-m64/libmisc.a  -lm 2>&1 | c++filt<br>
../obj/i686-m64/liboolm.a(SimpleClassNgram.o): In function `global<br>
constructors keyed to ctsBuffer':<br>
/home/ak/Downloads/srilm/include/Debug.h:54: multiple definition of `ctsBuffer'<br>
../obj/i686-m64/liboolm.a(ClassNgram.o):/home/ak/Downloads/srilm/include/Debug.h:54:<br>
first defined here<br>
../obj/i686-m64/liboolm.a(Vocab.o): In function `LHash<unsigned int,<br>
unsigned int>::remove(unsigned int, bool&)':<br>
/home/ak/Downloads/srilm/include/LHash.cc:416: undefined reference to<br>
`LHash<unsigned int, unsigned int>::removedData'<br>
/home/ak/Downloads/srilm/include/LHash.cc:417: undefined reference to<br>
`LHash<unsigned int, unsigned int>::removedData'<br>
/home/ak/Downloads/srilm/include/LHash.cc:473: undefined reference to<br>
`LHash<unsigned int, unsigned int>::removedData'<br>
../obj/i686-m64/liboolm.a(Vocab.o): In function `LHash<char const*,<br>
unsigned int>::remove(char const*, bool&)':<br>
/home/ak/Downloads/srilm/include/LHash.cc:416: undefined reference to<br>
`LHash<char const*, unsigned int>::removedData'<br>
/home/ak/Downloads/srilm/include/LHash.cc:417: undefined reference to<br>
`LHash<char const*, unsigned int>::removedData'<br>
../obj/i686-m64/liboolm.a(Vocab.o): In function `Map_noKey<char>':<br>
/usr/include/bits/string3.h:52: undefined reference to `LHash<char<br>
const*, unsigned int>::removedData'<br>
../obj/i686-m64/liboolm.a(Vocab.o): In function `LHash<char const*,<br>
unsigned int>::remove(char const*, bool&)':<br>
/home/ak/Downloads/srilm/include/LHash.cc:473: undefined reference to<br>
`LHash<char const*, unsigned int>::removedData'<br>
../obj/i686-m64/liboolm.a(SubVocab.o): In function<br>
`SubVocab::addWord(unsigned int)':<br>
/home/ak/Downloads/srilm/lm/src/SubVocab.cc:80: undefined reference to<br>
`LHash<char const*, unsigned int>::getInternalKey(char const*, bool&)<br>
const'<br>
../obj/i686-m64/liboolm.a(MultiwordVocab.o): In function<br>
`LHash<unsigned int, unsigned int*>::remove(unsigned int, bool&)':<br>
/home/ak/Downloads/srilm/include/LHash.cc:416: undefined reference to<br>
`LHash<unsigned int, unsigned int*>::removedData'<br>
/home/ak/Downloads/srilm/include/LHash.cc:417: undefined reference to<br>
`LHash<unsigned int, unsigned int*>::removedData'<br>
/home/ak/Downloads/srilm/include/LHash.cc:473: undefined reference to<br>
`LHash<unsigned int, unsigned int*>::removedData'<br>
../obj/i686-m64/liboolm.a(LM.o): In function `~VocabIter':<br>
/home/ak/Downloads/srilm/lm/src/Vocab.h:258: undefined reference to<br>
`LHashIter<char const*, unsigned int>::~LHashIter()'<br>
/home/ak/Downloads/srilm/lm/src/Vocab.h:258: undefined reference to<br>
`LHashIter<char const*, unsigned int>::~LHashIter()'<br>
/home/ak/Downloads/srilm/lm/src/Vocab.h:258: undefined reference to<br>
`LHashIter<char const*, unsigned int>::~LHashIter()'<br>
/home/ak/Downloads/srilm/lm/src/Vocab.h:258: undefined reference to<br>
`LHashIter<char const*, unsigned int>::~LHashIter()'<br>
../obj/i686-m64/liboolm.a(LM.o): In function `LM::pplCountsFile(File&,<br>
unsigned int, TextStats&, char const*, bool)':<br>
/home/ak/Downloads/srilm/lm/src/LM.cc:569: undefined reference to<br>
`NgramCounts<unsigned int>::parseNgram(char*, char const**, unsigned<br>
int, unsigned int&)'<br>
../obj/i686-m64/liboolm.a(LM.o): In function `NgramStats':<br>
/home/ak/Downloads/srilm/lm/src/NgramStats.h:150: undefined reference<br>
to `NgramCounts<unsigned int>::NgramCounts(Vocab&, unsigned int)'<br>
../obj/i686-m64/liboolm.a(LM.o): In function `NgramCountsIter':<br>
/home/ak/Downloads/srilm/lm/src/NgramStats.h:115: undefined reference<br>
to `TrieIter2<unsigned int, unsigned int>::TrieIter2(Trie<unsigned<br>
int, unsigned int> const&, unsigned int*, unsigned int, int<br>
(*)(unsigned int, unsigned int))'<br>
../obj/i686-m64/liboolm.a(LM.o): In function `NgramCounts<unsigned<br>
int>::write(File&)':<br>
/home/ak/Downloads/srilm/lm/src/NgramStats.h:70: undefined reference<br>
to `NgramCounts<unsigned int>::write(File&, unsigned int, bool)'<br>
../obj/i686-m64/liboolm.a(LM.o): In function `NgramCounts<unsigned<br>
int>::read(File&)':<br>
/home/ak/Downloads/srilm/lm/src/NgramStats.h:67: undefined reference<br>
to `NgramCounts<unsigned int>::read(File&, unsigned int)'<br>
../obj/i686-m64/liboolm.a(LM.o):(.rodata._ZTV10NgramStats[vtable for<br>
NgramStats]+0x68): undefined reference to `NgramCounts<unsigned<br>
int>::memStats(MemStats&)'<br>
../obj/i686-m64/liboolm.a(LM.o):(.rodata._ZTV10NgramStats[vtable for<br>
NgramStats]+0x70): undefined reference to `NgramCounts<unsigned<br>
int>::countSentence(char const* const*, unsigned int)'<br>
../obj/i686-m64/liboolm.a(LM.o):(.rodata._ZTV10NgramStats[vtable for<br>
NgramStats]+0x78): undefined reference to `NgramCounts<unsigned<br>
int>::countSentence(unsigned int const*, unsigned int)'<br>
../obj/i686-m64/liboolm.a(LM.o):(.rodata._ZTV11NgramCountsIjE[vtable<br>
for NgramCounts<unsigned int>]+0x68): undefined reference to<br>
`NgramCounts<unsigned int>::memStats(MemStats&)'<br>
../obj/i686-m64/liboolm.a(LM.o):(.rodata._ZTV11NgramCountsIjE[vtable<br>
for NgramCounts<unsigned int>]+0x70): undefined reference to<br>
`NgramCounts<unsigned int>::countSentence(char const* const*, unsigned<br>
int)'<br>
../obj/i686-m64/liboolm.a(LM.o):(.rodata._ZTV11NgramCountsIjE[vtable<br>
for NgramCounts<unsigned int>]+0x78): undefined reference to<br>
`NgramCounts<unsigned int>::countSentence(unsigned int const*,<br>
unsigned int)'<br>
../obj/i686-m64/liboolm.a(NgramLM.o): In function `LHash<unsigned int,<br>
float>::remove(unsigned int, bool&)':<br>
/home/ak/Downloads/srilm/include/LHash.cc:416: undefined reference to<br>
`LHash<unsigned int, float>::removedData'<br>
/home/ak/Downloads/srilm/include/LHash.cc:417: undefined reference to<br>
`LHash<unsigned int, float>::removedData'<br>
/home/ak/Downloads/srilm/include/LHash.cc:473: undefined reference to<br>
`LHash<unsigned int, float>::removedData'<br>
../obj/i686-m64/liboolm.a(NgramLM.o): In function `LHash<unsigned int,<br>
Trie<unsigned int, BOnode> >::remove(unsigned int, bool&)':<br>
/home/ak/Downloads/srilm/include/LHash.cc:416: undefined reference to<br>
`LHash<unsigned int, Trie<unsigned int, BOnode> >::removedData'<br>
/home/ak/Downloads/srilm/include/LHash.cc:417: undefined reference to<br>
`LHash<unsigned int, Trie<unsigned int, BOnode> >::removedData'<br>
/home/ak/Downloads/srilm/include/LHash.cc:473: undefined reference to<br>
`LHash<unsigned int, Trie<unsigned int, BOnode> >::removedData'<br>
../obj/i686-m64/liboolm.a(Discount.o): In function `~VocabIter':<br>
/home/ak/Downloads/srilm/lm/src/Vocab.h:258: undefined reference to<br>
`LHashIter<char const*, unsigned int>::~LHashIter()'<br>
/home/ak/Downloads/srilm/lm/src/Vocab.h:258: undefined reference to<br>
`LHashIter<char const*, unsigned int>::~LHashIter()'<br>
../obj/i686-m64/liboolm.a(Discount.o): In function `NgramCountsIter':<br>
/home/ak/Downloads/srilm/lm/src/NgramStats.h:115: undefined reference<br>
to `TrieIter2<unsigned int, unsigned int>::TrieIter2(Trie<unsigned<br>
int, unsigned int> const&, unsigned int*, unsigned int, int<br>
(*)(unsigned int, unsigned int))'<br>
../obj/i686-m64/liboolm.a(Discount.o): In function<br>
`Vocab::isMetaTag(unsigned int)':<br>
/home/ak/Downloads/srilm/lm/src/Vocab.h:177: undefined reference to<br>
`LHash<unsigned int, unsigned int>::find(unsigned int, bool&) const'<br>
../obj/i686-m64/liboolm.a(Discount.o): In function<br>
`Vocab::typeOfMetaTag(unsigned int)':<br>
/home/ak/Downloads/srilm/lm/src/Vocab.h:179: undefined reference to<br>
`LHash<unsigned int, unsigned int>::find(unsigned int, bool&) const'<br>
../obj/i686-m64/liboolm.a(Discount.o): In function `NgramsIter':<br>
/home/ak/Downloads/srilm/lm/src/NgramStats.h:115: undefined reference<br>
to `TrieIter2<unsigned int, unsigned int>::TrieIter2(Trie<unsigned<br>
int, unsigned int> const&, unsigned int*, unsigned int, int<br>
(*)(unsigned int, unsigned int))'<br>
../obj/i686-m64/liboolm.a(Discount.o): In function<br>
`Vocab::isMetaTag(unsigned int)':<br>
/home/ak/Downloads/srilm/lm/src/Vocab.h:177: undefined reference to<br>
`LHash<unsigned int, unsigned int>::find(unsigned int, bool&) const'<br>
../obj/i686-m64/liboolm.a(Discount.o): In function<br>
`Vocab::typeOfMetaTag(unsigned int)':<br>
/home/ak/Downloads/srilm/lm/src/Vocab.h:179: undefined reference to<br>
`LHash<unsigned int, unsigned int>::find(unsigned int, bool&) const'<br>
../obj/i686-m64/liboolm.a(Discount.o): In function `NgramCountsIter':<br>
/home/ak/Downloads/srilm/lm/src/NgramStats.h:115: undefined reference<br>
to `TrieIter2<unsigned int, unsigned int>::TrieIter2(Trie<unsigned<br>
int, unsigned int> const&, unsigned int*, unsigned int, int<br>
(*)(unsigned int, unsigned int))'<br>
/home/ak/Downloads/srilm/lm/src/NgramStats.h:115: undefined reference<br>
to `TrieIter2<unsigned int, unsigned int>::TrieIter2(Trie<unsigned<br>
int, unsigned int> const&, unsigned int*, unsigned int, int<br>
(*)(unsigned int, unsigned int))'<br>
../obj/i686-m64/liboolm.a(Discount.o): In function `Trie<unsigned int,<br>
unsigned int>::find(unsigned int const*, bool&) const':<br>
/home/ak/Downloads/srilm/include/Trie.h:124: undefined reference to<br>
`Trie<unsigned int, unsigned int>::findTrie(unsigned int const*,<br>
bool&) const'<br>
../obj/i686-m64/liboolm.a(Discount.o): In function `NgramsIter':<br>
/home/ak/Downloads/srilm/lm/src/NgramStats.h:115: undefined reference<br>
to `TrieIter2<unsigned int, unsigned int>::TrieIter2(Trie<unsigned<br>
int, unsigned int> const&, unsigned int*, unsigned int, int<br>
(*)(unsigned int, unsigned int))'<br>
../obj/i686-m64/liboolm.a(Discount.o): In function<br>
`Vocab::isMetaTag(unsigned int)':<br>
/home/ak/Downloads/srilm/lm/src/Vocab.h:177: undefined reference to<br>
`LHash<unsigned int, unsigned int>::find(unsigned int, bool&) const'<br>
../obj/i686-m64/liboolm.a(Discount.o): In function<br>
`Vocab::typeOfMetaTag(unsigned int)':<br>
/home/ak/Downloads/srilm/lm/src/Vocab.h:179: undefined reference to<br>
`LHash<unsigned int, unsigned int>::find(unsigned int, bool&) const'<br>
../obj/i686-m64/liboolm.a(ClassNgram.o): In function `Map2<unsigned<br>
int, unsigned int const*, double>::clear()':<br>
ClassNgram.cc:(.text._ZN4Map2IjPKjdE5clearEv[Map2<unsigned int,<br>
unsigned int const*, double>::clear()]+0xbc): undefined reference to<br>
`LHash<unsigned int, LHash<unsigned int const*, double><br>
>::removedData'<br>
ClassNgram.cc:(.text._ZN4Map2IjPKjdE5clearEv[Map2<unsigned int,<br>
unsigned int const*, double>::clear()]+0xda): undefined reference to<br>
`LHash<unsigned int, LHash<unsigned int const*, double><br>
>::removedData'<br>
../obj/i686-m64/liboolm.a(SkipNgram.o): In function<br>
`SkipNgram::estimateMstep(NgramStats&, NgramCounts<double>&,<br>
LHash<unsigned int, double>&, Discount**)':<br>
/home/ak/Downloads/srilm/lm/src/SkipNgram.cc:344: undefined reference<br>
to `LHashIter<unsigned int, double>::LHashIter(LHash<unsigned int,<br>
double> const&, int (*)(unsigned int, unsigned int))'<br>
../obj/i686-m64/liboolm.a(SkipNgram.o): In function<br>
`NgramCounts<unsigned int>::findCount(unsigned int const*, unsigned<br>
int)':<br>
/home/ak/Downloads/srilm/lm/src/NgramStats.h:47: undefined reference<br>
to `Trie<unsigned int, unsigned int>::findTrie(unsigned int const*,<br>
bool&) const'<br>
../obj/i686-m64/liboolm.a(SkipNgram.o): In function `Trie<unsigned<br>
int, unsigned int>::findTrie(unsigned int, bool&) const':<br>
/home/ak/Downloads/srilm/include/Trie.h:145: undefined reference to<br>
`LHash<unsigned int, Trie<unsigned int, unsigned int> >::find(unsigned<br>
int, bool&) const'<br>
../obj/i686-m64/liboolm.a(SkipNgram.o): In function<br>
`SkipNgram::wordProb(unsigned int, unsigned int const*)':<br>
/home/ak/Downloads/srilm/lm/src/SkipNgram.cc:68: undefined reference<br>
to `LHash<unsigned int, double>::find(unsigned int, bool&) const'<br>
../obj/i686-m64/liboolm.a(SkipNgram.o): In function `SkipNgram::write(File&)':<br>
/home/ak/Downloads/srilm/lm/src/SkipNgram.cc:141: undefined reference<br>
to `LHashIter<unsigned int, double>::LHashIter(LHash<unsigned int,<br>
double> const&, int (*)(unsigned int, unsigned int))'<br>
../obj/i686-m64/liboolm.a(SkipNgram.o): In function `SkipNgram':<br>
/home/ak/Downloads/srilm/lm/src/SkipNgram.cc:26: undefined reference<br>
to `LHash<unsigned int, double>::LHash(unsigned int)'<br>
/home/ak/Downloads/srilm/lm/src/SkipNgram.cc:26: undefined reference<br>
to `LHash<unsigned int, double>::LHash(unsigned int)'<br>
../obj/i686-m64/liboolm.a(SkipNgram.o): In function<br>
`SkipNgram::estimateEstepNgram(unsigned int*, unsigned int,<br>
NgramStats&, NgramCounts<double>&, LHash<unsigned int, double>&)':<br>
/home/ak/Downloads/srilm/lm/src/SkipNgram.cc:221: undefined reference<br>
to `LHash<unsigned int, double>::find(unsigned int, bool&) const'<br>
../obj/i686-m64/liboolm.a(SkipNgram.o): In function<br>
`NgramCounts<unsigned int>::findCount(unsigned int const*, unsigned<br>
int)':<br>
/home/ak/Downloads/srilm/lm/src/NgramStats.h:47: undefined reference<br>
to `Trie<unsigned int, unsigned int>::findTrie(unsigned int const*,<br>
bool&) const'<br>
../obj/i686-m64/liboolm.a(SkipNgram.o): In function `Trie<unsigned<br>
int, unsigned int>::findTrie(unsigned int, bool&) const':<br>
/home/ak/Downloads/srilm/include/Trie.h:145: undefined reference to<br>
`LHash<unsigned int, Trie<unsigned int, unsigned int> >::find(unsigned<br>
int, bool&) const'<br>
../obj/i686-m64/liboolm.a(SkipNgram.o): In function `NgramCountsIter':<br>
/home/ak/Downloads/srilm/lm/src/NgramStats.h:115: undefined reference<br>
to `TrieIter2<unsigned int, unsigned int>::TrieIter2(Trie<unsigned<br>
int, unsigned int> const&, unsigned int*, unsigned int, int<br>
(*)(unsigned int, unsigned int))'<br>
/home/ak/Downloads/srilm/lm/src/NgramStats.h:122: undefined reference<br>
to `TrieIter2<unsigned int, unsigned int>::TrieIter2(Trie<unsigned<br>
int, unsigned int> const&, unsigned int*, unsigned int, int<br>
(*)(unsigned int, unsigned int))'<br>
../obj/i686-m64/liboolm.a(SkipNgram.o): In function `~NgramCounts':<br>
/home/ak/Downloads/srilm/lm/src/NgramStats.h:37: undefined reference<br>
to `Trie<unsigned int, double>::~Trie()'<br>
../obj/i686-m64/liboolm.a(SkipNgram.o): In function<br>
`SkipNgram::estimate(NgramStats&, Discount**)':<br>
/home/ak/Downloads/srilm/lm/src/SkipNgram.cc:178: undefined reference<br>
to `NgramCounts<double>::NgramCounts(Vocab&, unsigned int)'<br>
/home/ak/Downloads/srilm/lm/src/SkipNgram.cc:179: undefined reference<br>
to `LHash<unsigned int, double>::LHash(unsigned int)'<br>
../obj/i686-m64/liboolm.a(SkipNgram.o): In function `~NgramCounts':<br>
/home/ak/Downloads/srilm/lm/src/NgramStats.h:37: undefined reference<br>
to `Trie<unsigned int, double>::~Trie()'<br>
../obj/i686-m64/liboolm.a(SkipNgram.o): In function `~VocabIter':<br>
/home/ak/Downloads/srilm/lm/src/Vocab.h:258: undefined reference to<br>
`LHashIter<char const*, unsigned int>::~LHashIter()'<br>
/home/ak/Downloads/srilm/lm/src/Vocab.h:258: undefined reference to<br>
`LHashIter<char const*, unsigned int>::~LHashIter()'<br>
../obj/i686-m64/liboolm.a(SkipNgram.o): In function<br>
`SkipNgram::memStats(MemStats&)':<br>
/home/ak/Downloads/srilm/lm/src/SkipNgram.cc:34: undefined reference<br>
to `LHash<unsigned int, double>::memStats(MemStats&) const'<br>
../obj/i686-m64/liboolm.a(SkipNgram.o): In function `~NgramCounts':<br>
/home/ak/Downloads/srilm/lm/src/NgramStats.h:37: undefined reference<br>
to `Trie<unsigned int, double>::~Trie()'<br>
/home/ak/Downloads/srilm/lm/src/NgramStats.h:37: undefined reference<br>
to `Trie<unsigned int, double>::~Trie()'<br>
../obj/i686-m64/liboolm.a(SkipNgram.o): In function<br>
`NgramCounts<double>::write(File&)':<br>
/home/ak/Downloads/srilm/lm/src/NgramStats.h:70: undefined reference<br>
to `NgramCounts<double>::write(File&, unsigned int, bool)'<br>
../obj/i686-m64/liboolm.a(SkipNgram.o): In function<br>
`NgramCounts<double>::read(File&)':<br>
/home/ak/Downloads/srilm/lm/src/NgramStats.h:67: undefined reference<br>
to `NgramCounts<double>::read(File&, unsigned int)'<br>
../obj/i686-m64/liboolm.a(SkipNgram.o):(.rodata._ZTV11NgramCountsIdE[vtable<br>
for NgramCounts<double>]+0x68): undefined reference to<br>
`NgramCounts<double>::memStats(MemStats&)'<br>
../obj/i686-m64/liboolm.a(SkipNgram.o):(.rodata._ZTV11NgramCountsIdE[vtable<br>
for NgramCounts<double>]+0x70): undefined reference to<br>
`NgramCounts<double>::countSentence(char const* const*, double)'<br>
../obj/i686-m64/liboolm.a(SkipNgram.o):(.rodata._ZTV11NgramCountsIdE[vtable<br>
for NgramCounts<double>]+0x78): undefined reference to<br>
`NgramCounts<double>::countSentence(unsigned int const*, double)'<br>
../obj/i686-m64/liboolm.a(TaggedNgram.o): In function `NgramBOsIter':<br>
/home/ak/Downloads/srilm/lm/src/Ngram.h:139: undefined reference to<br>
`TrieIter2<unsigned int, BOnode>::TrieIter2(Trie<unsigned int, BOnode><br>
const&, unsigned int*, unsigned int, int (*)(unsigned int, unsigned<br>
int))'<br>
../obj/i686-m64/liboolm.a(TaggedNgram.o): In function `NgramProbsIter':<br>
/home/ak/Downloads/srilm/lm/src/Ngram.h:157: undefined reference to<br>
`LHashIter<unsigned int, float>::LHashIter(LHash<unsigned int, float><br>
const&, int (*)(unsigned int, unsigned int))'<br>
../obj/i686-m64/liboolm.a(TaggedNgram.o): In function `~NgramProbsIter':<br>
/home/ak/Downloads/srilm/lm/src/Ngram.h:153: undefined reference to<br>
`LHashIter<unsigned int, float>::~LHashIter()'<br>
/home/ak/Downloads/srilm/lm/src/Ngram.h:153: undefined reference to<br>
`LHashIter<unsigned int, float>::~LHashIter()'<br>
../obj/i686-m64/liboolm.a(WordMesh.o): In function `LHash<unsigned<br>
int, double>::remove(unsigned int, bool&)':<br>
/home/ak/Downloads/srilm/include/LHash.cc:416: undefined reference to<br>
`LHash<unsigned int, double>::removedData'<br>
/home/ak/Downloads/srilm/include/LHash.cc:417: undefined reference to<br>
`LHash<unsigned int, double>::removedData'<br>
../obj/i686-m64/liboolm.a(VocabMultiMap.o): In function<br>
`LHash<unsigned int const*, double>::remove(unsigned int const*,<br>
bool&)':<br>
/home/ak/Downloads/srilm/include/LHash.cc:416: undefined reference to<br>
`LHash<unsigned int const*, double>::removedData'<br>
/home/ak/Downloads/srilm/include/LHash.cc:417: undefined reference to<br>
`LHash<unsigned int const*, double>::removedData'<br>
../obj/i686-m64/liboolm.a(VocabMultiMap.o): In function `Map_noKey<VocabIndex>':<br>
/usr/include/bits/string3.h:52: undefined reference to `LHash<unsigned<br>
int const*, double>::removedData'<br>
/home/ak/Downloads/srilm/lib/i686-m64/libflm.a(ProductNgram.o): In<br>
function `ProductNgram::read(File&, bool)':<br>
/home/ak/Downloads/srilm/flm/src/ProductNgram.cc:54: undefined<br>
reference to `FNgramSpecs<unsigned int>::FNgramSpecs(File&,<br>
FactoredVocab&, unsigned int)'<br>
/home/ak/Downloads/srilm/lib/i686-m64/libflm.a(ProductNgram.o): In<br>
function `FNgramStats':<br>
/home/ak/Downloads/srilm/flm/src/FNgramStats.h:148: undefined<br>
reference to `FNgramCounts<unsigned int>::FNgramCounts(FactoredVocab&,<br>
FNgramSpecs<unsigned int>&)'<br>
/home/ak/Downloads/srilm/lib/i686-m64/libflm.a(ProductNgram.o): In<br>
function `ProductNgram::read(File&, bool)':<br>
/home/ak/Downloads/srilm/flm/src/ProductNgram.cc:69: undefined<br>
reference to `FNgramCounts<unsigned int>::read()'<br>
/home/ak/Downloads/srilm/flm/src/ProductNgram.cc:74: undefined<br>
reference to `FNgramCounts<unsigned int>::estimateDiscounts()'<br>
/home/ak/Downloads/srilm/flm/src/ProductNgram.cc:75: undefined<br>
reference to `FNgramCounts<unsigned<br>
int>::computeCardinalityFunctions()'<br>
/home/ak/Downloads/srilm/flm/src/ProductNgram.cc:76: undefined<br>
reference to `FNgramCounts<unsigned int>::sumCounts()'<br>
/home/ak/Downloads/srilm/lib/i686-m64/libflm.a(ProductNgram.o): In<br>
function `FNgramCounts<unsigned int>::read(File&)':<br>
/home/ak/Downloads/srilm/flm/src/FNgramStats.h:83: undefined reference<br>
to `FNgramCounts<unsigned int>::read()'<br>
/home/ak/Downloads/srilm/lib/i686-m64/libflm.a(ProductNgram.o): In<br>
function `FNgramCounts<unsigned int>::write(File&)':<br>
/home/ak/Downloads/srilm/flm/src/FNgramStats.h:99: undefined reference<br>
to `FNgramCounts<unsigned int>::write(bool)'<br>
/home/ak/Downloads/srilm/lib/i686-m64/libflm.a(ProductNgram.o):(.rodata._ZTV11FNgramStats[vtable<br>
for FNgramStats]+0x50): undefined reference to `FNgramCounts<unsigned<br>
int>::countFile(File&)'<br>
/home/ak/Downloads/srilm/lib/i686-m64/libflm.a(ProductNgram.o):(.rodata._ZTV11FNgramStats[vtable<br>
for FNgramStats]+0x68): undefined reference to `FNgramCounts<unsigned<br>
int>::memStats(MemStats&)'<br>
/home/ak/Downloads/srilm/lib/i686-m64/libflm.a(ProductNgram.o):(.rodata._ZTV11FNgramStats[vtable<br>
for FNgramStats]+0x78): undefined reference to `FNgramCounts<unsigned<br>
int>::countSentence(unsigned int, unsigned int, WidMatrix&, unsigned<br>
int)'<br>
/home/ak/Downloads/srilm/lib/i686-m64/libflm.a(ProductNgram.o):(.rodata._ZTV11FNgramStats[vtable<br>
for FNgramStats]+0x80): undefined reference to `FNgramCounts<unsigned<br>
int>::countSentence(char const* const*, unsigned int)'<br>
/home/ak/Downloads/srilm/lib/i686-m64/libflm.a(ProductNgram.o):(.rodata._ZTV12FNgramCountsIjE[vtable<br>
for FNgramCounts<unsigned int>]+0x50): undefined reference to<br>
`FNgramCounts<unsigned int>::countFile(File&)'<br>
/home/ak/Downloads/srilm/lib/i686-m64/libflm.a(ProductNgram.o):(.rodata._ZTV12FNgramCountsIjE[vtable<br>
for FNgramCounts<unsigned int>]+0x68): undefined reference to<br>
`FNgramCounts<unsigned int>::memStats(MemStats&)'<br>
/home/ak/Downloads/srilm/lib/i686-m64/libflm.a(ProductNgram.o):(.rodata._ZTV12FNgramCountsIjE[vtable<br>
for FNgramCounts<unsigned int>]+0x78): undefined reference to<br>
`FNgramCounts<unsigned int>::countSentence(unsigned int, unsigned int,<br>
WidMatrix&, unsigned int)'<br>
/home/ak/Downloads/srilm/lib/i686-m64/libflm.a(ProductNgram.o):(.rodata._ZTV12FNgramCountsIjE[vtable<br>
for FNgramCounts<unsigned int>]+0x80): undefined reference to<br>
`FNgramCounts<unsigned int>::countSentence(char const* const*,<br>
unsigned int)'<br>
/home/ak/Downloads/srilm/lib/i686-m64/libflm.a(FactoredVocab.o): In<br>
function `FactoredVocab::getIndex(char const*, unsigned int)':<br>
/home/ak/Downloads/srilm/flm/src/FactoredVocab.cc:279: undefined<br>
reference to `FNgramSpecs<unsigned int>::getTag(char const*)'<br>
/home/ak/Downloads/srilm/flm/src/FactoredVocab.cc:282: undefined<br>
reference to `FNgramSpecs<unsigned int>::wordTag()'<br>
/home/ak/Downloads/srilm/lib/i686-m64/libflm.a(FactoredVocab.o): In<br>
function `FactoredVocab::addWord(char const*)':<br>
/home/ak/Downloads/srilm/flm/src/FactoredVocab.cc:193: undefined<br>
reference to `FNgramSpecs<unsigned int>::getTag(char const*)'<br>
/home/ak/Downloads/srilm/flm/src/FactoredVocab.cc:196: undefined<br>
reference to `FNgramSpecs<unsigned int>::wordTag()'<br>
/home/ak/Downloads/srilm/lib/i686-m64/libflm.a(FactoredVocab.o): In<br>
function `FactoredVocab::addWord2(char const*, bool&)':<br>
/home/ak/Downloads/srilm/flm/src/FactoredVocab.cc:228: undefined<br>
reference to `FNgramSpecs<unsigned int>::getTag(char const*)'<br>
/home/ak/Downloads/srilm/flm/src/FactoredVocab.cc:231: undefined<br>
reference to `FNgramSpecs<unsigned int>::wordTag()'<br>
/home/ak/Downloads/srilm/lib/i686-m64/libflm.a(FNgramLM.o): In<br>
function `FNgram::recomputeBOWs()':<br>
/home/ak/Downloads/srilm/flm/src/FNgramLM.cc:2162: undefined reference<br>
to `FNgramSpecs<unsigned int>::FNgramSpec::LevelIter::next(unsigned<br>
int&)'<br>
/home/ak/Downloads/srilm/lib/i686-m64/libflm.a(FNgramLM.o): In<br>
function `FNgram::bgChildProbBO(unsigned int, unsigned int const*,<br>
unsigned int, unsigned int, unsigned int)':<br>
/home/ak/Downloads/srilm/flm/src/FNgramLM.cc:685: undefined reference<br>
to `FNgramSpecs<unsigned<br>
int>::FNgramSpec::BGChildIterCnstr::BGChildIterCnstr(unsigned int,<br>
unsigned int, unsigned int)'<br>
/home/ak/Downloads/srilm/flm/src/FNgramLM.cc:686: undefined reference<br>
to `FNgramSpecs<unsigned<br>
int>::FNgramSpec::BGChildIterCnstr::next(unsigned int&)'<br>
/home/ak/Downloads/srilm/flm/src/FNgramLM.cc:706: undefined reference<br>
to `FNgramSpecs<unsigned<br>
int>::FNgramSpec::BGChildIterCnstr::BGChildIterCnstr(unsigned int,<br>
unsigned int, unsigned int)'<br>
/home/ak/Downloads/srilm/flm/src/FNgramLM.cc:707: undefined reference<br>
to `FNgramSpecs<unsigned<br>
int>::FNgramSpec::BGChildIterCnstr::next(unsigned int&)'<br>
/home/ak/Downloads/srilm/flm/src/FNgramLM.cc:726: undefined reference<br>
to `FNgramSpecs<unsigned<br>
int>::FNgramSpec::BGChildIterCnstr::BGChildIterCnstr(unsigned int,<br>
unsigned int, unsigned int)'<br>
/home/ak/Downloads/srilm/flm/src/FNgramLM.cc:727: undefined reference<br>
to `FNgramSpecs<unsigned<br>
int>::FNgramSpec::BGChildIterCnstr::next(unsigned int&)'<br>
/home/ak/Downloads/srilm/flm/src/FNgramLM.cc:744: undefined reference<br>
to `FNgramSpecs<unsigned<br>
int>::FNgramSpec::BGChildIterCnstr::BGChildIterCnstr(unsigned int,<br>
unsigned int, unsigned int)'<br>
/home/ak/Downloads/srilm/flm/src/FNgramLM.cc:746: undefined reference<br>
to `FNgramSpecs<unsigned<br>
int>::FNgramSpec::BGChildIterCnstr::next(unsigned int&)'<br>
/home/ak/Downloads/srilm/lib/i686-m64/libflm.a(FNgramLM.o): In<br>
function `FNgram::boNode(unsigned int, unsigned int const*, unsigned<br>
int, unsigned int, unsigned int)':<br>
/home/ak/Downloads/srilm/flm/src/FNgramLM.cc:544: undefined reference<br>
to `FNgramSpecs<unsigned<br>
int>::FNgramSpec::BGChildIterCnstr::BGChildIterCnstr(unsigned int,<br>
unsigned int, unsigned int)'<br>
/home/ak/Downloads/srilm/flm/src/FNgramLM.cc:554: undefined reference<br>
to `FNgramSpecs<unsigned<br>
int>::FNgramSpec::BGChildIterCnstr::next(unsigned int&)'<br>
/home/ak/Downloads/srilm/flm/src/FNgramLM.cc:567: undefined reference<br>
to `FNgramSpecs<unsigned<br>
int>::FNgramSpec::ParentSubset::backoffValueRSubCtxW(unsigned int,<br>
unsigned int const*, unsigned int, BackoffNodeStrategy, FNgram&,<br>
unsigned int, unsigned int)'<br>
/home/ak/Downloads/srilm/flm/src/FNgramLM.cc:554: undefined reference<br>
to `FNgramSpecs<unsigned<br>
int>::FNgramSpec::BGChildIterCnstr::next(unsigned int&)'<br>
/home/ak/Downloads/srilm/flm/src/FNgramLM.cc:567: undefined reference<br>
to `FNgramSpecs<unsigned<br>
int>::FNgramSpec::ParentSubset::backoffValueRSubCtxW(unsigned int,<br>
unsigned int const*, unsigned int, BackoffNodeStrategy, FNgram&,<br>
unsigned int, unsigned int)'<br>
/home/ak/Downloads/srilm/flm/src/FNgramLM.cc:601: undefined reference<br>
to `FNgramSpecs<unsigned<br>
int>::FNgramSpec::BGChildIterCnstr::next(unsigned int&)'<br>
/home/ak/Downloads/srilm/flm/src/FNgramLM.cc:608: undefined reference<br>
to `FNgramSpecs<unsigned<br>
int>::FNgramSpec::BGChildIterCnstr::BGChildIterCnstr(unsigned int,<br>
unsigned int, unsigned int)'<br>
/home/ak/Downloads/srilm/flm/src/FNgramLM.cc:617: undefined reference<br>
to `FNgramSpecs<unsigned<br>
int>::FNgramSpec::ParentSubset::backoffValueRSubCtxW(unsigned int,<br>
unsigned int const*, unsigned int, BackoffNodeStrategy, FNgram&,<br>
unsigned int, unsigned int)'<br>
/home/ak/Downloads/srilm/flm/src/FNgramLM.cc:610: undefined reference<br>
to `FNgramSpecs<unsigned<br>
int>::FNgramSpec::BGChildIterCnstr::next(unsigned int&)'<br>
/home/ak/Downloads/srilm/flm/src/FNgramLM.cc:617: undefined reference<br>
to `FNgramSpecs<unsigned<br>
int>::FNgramSpec::ParentSubset::backoffValueRSubCtxW(unsigned int,<br>
unsigned int const*, unsigned int, BackoffNodeStrategy, FNgram&,<br>
unsigned int, unsigned int)'<br>
/home/ak/Downloads/srilm/flm/src/FNgramLM.cc:610: undefined reference<br>
to `FNgramSpecs<unsigned<br>
int>::FNgramSpec::BGChildIterCnstr::next(unsigned int&)'<br>
/home/ak/Downloads/srilm/flm/src/FNgramLM.cc:627: undefined reference<br>
to `FNgramSpecs<unsigned<br>
int>::FNgramSpec::BGGrandChildIter::BGGrandChildIter(unsigned int,<br>
unsigned int, unsigned int)'<br>
/home/ak/Downloads/srilm/flm/src/FNgramLM.cc:636: undefined reference<br>
to `FNgramSpecs<unsigned<br>
int>::FNgramSpec::ParentSubset::backoffValueRSubCtxW(unsigned int,<br>
unsigned int const*, unsigned int, BackoffNodeStrategy, FNgram&,<br>
unsigned int, unsigned int)'<br>
/home/ak/Downloads/srilm/flm/src/FNgramLM.cc:629: undefined reference<br>
to `FNgramSpecs<unsigned<br>
int>::FNgramSpec::BGGrandChildIter::next(unsigned int&)'<br>
/home/ak/Downloads/srilm/flm/src/FNgramLM.cc:636: undefined reference<br>
to `FNgramSpecs<unsigned<br>
int>::FNgramSpec::ParentSubset::backoffValueRSubCtxW(unsigned int,<br>
unsigned int const*, unsigned int, BackoffNodeStrategy, FNgram&,<br>
unsigned int, unsigned int)'<br>
/home/ak/Downloads/srilm/flm/src/FNgramLM.cc:629: undefined reference<br>
to `FNgramSpecs<unsigned<br>
int>::FNgramSpec::BGGrandChildIter::next(unsigned int&)'<br>
/home/ak/Downloads/srilm/lib/i686-m64/libflm.a(FNgramLM.o): In<br>
function `LHash<unsigned int, Trie<unsigned int, FNgram::BOnode><br>
>::remove(unsigned int, bool&)':<br>
/home/ak/Downloads/srilm/include/LHash.cc:416: undefined reference to<br>
`LHash<unsigned int, Trie<unsigned int, FNgram::BOnode><br>
>::removedData'<br>
/home/ak/Downloads/srilm/include/LHash.cc:417: undefined reference to<br>
`LHash<unsigned int, Trie<unsigned int, FNgram::BOnode><br>
>::removedData'<br>
/home/ak/Downloads/srilm/include/LHash.cc:473: undefined reference to<br>
`LHash<unsigned int, Trie<unsigned int, FNgram::BOnode><br>
>::removedData'<br>
/home/ak/Downloads/srilm/lib/i686-m64/libflm.a(FNgramLM.o): In<br>
function `LHash<unsigned int, FNgram::ProbEntry>::remove(unsigned int,<br>
bool&)':<br>
/home/ak/Downloads/srilm/include/LHash.cc:416: undefined reference to<br>
`LHash<unsigned int, FNgram::ProbEntry>::removedData'<br>
/home/ak/Downloads/srilm/include/LHash.cc:417: undefined reference to<br>
`LHash<unsigned int, FNgram::ProbEntry>::removedData'<br>
/home/ak/Downloads/srilm/include/LHash.cc:473: undefined reference to<br>
`LHash<unsigned int, FNgram::ProbEntry>::removedData'<br>
/home/ak/Downloads/srilm/lib/i686-m64/libflm.a(FNgramLM.o): In<br>
function `FNgram::wordProbSum()':<br>
/home/ak/Downloads/srilm/flm/src/FNgramLM.cc:2930: undefined reference<br>
to `FNgramSpecs<unsigned int>::FNgramSpec::LevelIter::next(unsigned<br>
int&)'<br>
/home/ak/Downloads/srilm/lib/i686-m64/libflm.a(FNgramLM.o): In<br>
function `FNgram::rescoreFile(File&, double, double, LM&, double,<br>
double, char const*)':<br>
/home/ak/Downloads/srilm/flm/src/FNgramLM.cc:2805: undefined reference<br>
to `FNgramSpecs<unsigned int>::loadWordFactors(char const* const*,<br>
WordMatrix&, unsigned int)'<br>
/home/ak/Downloads/srilm/lib/i686-m64/libflm.a(FNgramLM.o): In<br>
function `FNgram::pplFile(File&, TextStats&, char const*)':<br>
/home/ak/Downloads/srilm/flm/src/FNgramLM.cc:2684: undefined reference<br>
to `FNgramSpecs<unsigned int>::loadWordFactors(char const* const*,<br>
WordMatrix&, unsigned int)'<br>
/home/ak/Downloads/srilm/lib/i686-m64/libflm.a(FNgramLM.o): In<br>
function `FNgram::computeBOWs(unsigned int, unsigned int)':<br>
/home/ak/Downloads/srilm/flm/src/FNgramLM.cc:2028: undefined reference<br>
to `FNgramSpecs<unsigned<br>
int>::FNgramSpec::BGChildIterCnstr::BGChildIterCnstr(unsigned int,<br>
unsigned int, unsigned int)'<br>
/home/ak/Downloads/srilm/flm/src/FNgramLM.cc:2030: undefined reference<br>
to `FNgramSpecs<unsigned<br>
int>::FNgramSpec::BGChildIterCnstr::next(unsigned int&)'<br>
/home/ak/Downloads/srilm/lib/i686-m64/libflm.a(FNgramLM.o): In<br>
function `FNgram::write(unsigned int, File&)':<br>
/home/ak/Downloads/srilm/flm/src/FNgramLM.cc:1256: undefined reference<br>
to `FNgramSpecs<unsigned int>::FNgramSpec::LevelIter::next(unsigned<br>
int&)'<br>
/home/ak/Downloads/srilm/flm/src/FNgramLM.cc:1265: undefined reference<br>
to `FNgramSpecs<unsigned int>::FNgramSpec::LevelIter::next(unsigned<br>
int&)'<br>
/home/ak/Downloads/srilm/lib/i686-m64/libflm.a(FNgramLM.o): In<br>
function `FNgram::estimate(unsigned int)':<br>
/home/ak/Downloads/srilm/flm/src/FNgramLM.cc:1433: undefined reference<br>
to `FNgramSpecs<unsigned int>::FNgramSpec::LevelIter::next(unsigned<br>
int&)'<br>
collect2: ld returned 1 exit status<br>
/home/ak/Downloads/srilm/sbin/decipher-install 0555<br>
../bin/i686-m64/ngram /home/ak/Downloads/srilm/bin/i686-m64<br>
ERROR:  File to be installed (../bin/i686-m64/ngram) does not exist.<br>
ERROR:  File to be installed (../bin/i686-m64/ngram) is not a plain file.<br>
WARNING: creating directory /home/ak/Downloads/srilm/bin/i686-m64<br>
Usage:  decipher-install <mode> <file1> ... <fileN> <directory><br>
        mode:                 file permission mode, in octal<br>
        file1 ... fileN:      files to be installed<br>
        directory:            where the files should be installed<br>
<br>
files =  ../bin/i686-m64/ngram<br>
directory =  /home/ak/Downloads/srilm/bin/i686-m64<br>
mode =  0555<br>
<br>
*****************************************************************************************************<br>
<br>
Thanks a lot in advance.<br>
<br>
Sincere Regards,<span class="HOEnZb"><font color="#888888"><span><font color="#888888"><br>
Anand Karthik<br>
<br></font></span></font></span></div><br>
</div><br>
<br></div><br>
</div><br>