SRILM and GCC 4.1.1

Nguyen Thai Ngoc Duy pclouds at gmail.com
Tue Oct 31 11:05:17 PST 2006


On 11/1/06, Andreas Stolcke <stolcke at speech.sri.com> wrote:
> $SRILM/common/Makefile.machine.i686-gcc4
Thank you. After setting MACHINE_TYPE=i686-gcc4, I still got errors:

make[2]: Entering directory `/home/pclouds/tmp/srilm/lm/src'
/usr/bin/g++    -I. -I/home/pclouds/tmp/srilm/include   -u matherr
-L/home/pclouds/tmp/srilm/lib/i686-gcc4  -g -O3 -o
../bin/i686-gcc4/ngram ../obj/i686-gcc4/ngram.o
../obj/i686-gcc4/liboolm.a -lm -ldl
/home/pclouds/tmp/srilm/lib/i686-gcc4/libflm.a
/home/pclouds/tmp/srilm/lib/i686-gcc4/libdstruct.a
/home/pclouds/tmp/srilm/lib/i686-gcc4/libmisc.a -ltcl -lm 2>&1 |
c++filt
../obj/i686-gcc4/liboolm.a(Vocab.o): In function `LHash<char const*,
unsigned int>::remove(char const*, bool&)':
/home/pclouds/tmp/srilm/include/LHash.cc:416: undefined reference to
`LHash<char const*, unsigned int>::removedData'
/home/pclouds/tmp/srilm/include/LHash.cc:417: undefined reference to
`LHash<char const*, unsigned int>::removedData'
/home/pclouds/tmp/srilm/include/LHash.cc:424: undefined reference to
`LHash<char const*, unsigned int>::removedData'
/home/pclouds/tmp/srilm/include/LHash.cc:473: undefined reference to
`LHash<char const*, unsigned int>::removedData'

I'm using SRILM 1.5.0

> Andreas
>
>


-- 
Duy



More information about the SRILM-User mailing list