[SRILM User List] problem after srilm installation
Liu yifen
yifenliu at gmail.com
Fri May 16 01:51:55 PDT 2014
Dear Sir,
The srilm is now successfully installed within cygwin evrionment. However,
while I try to use command *make all* to recompile, it is popped out with
the following error message. As for the test command *make test*, it works
well. The current install gcc/g++ compiler is 4.8.2. Can anyone help me to
resolve this problem?
$ make all
for subdir in misc dstruct lm flm lattice utils; do \
(cd $subdir/src; make SRILM=/srilm MACHINE_TYPE=cygwin OPTION=
MAKE_PIC= all) || exit 1; \
done
make[1]: Entering directory `/srilm/misc/src'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/srilm/misc/src'
make[1]: Entering directory `/srilm/dstruct/src'
g++ -Wall -Wno-unused-variable -Wno-uninitialized -DINSTANTIATE_TEMPLATES
-I. -I../../include -c -g -O2 -o ../obj/cygwin/testArray.o testArray.cc
g++ -Wall -Wno-unused-variable -Wno-uninitialized -DINSTANTIATE_TEMPLATES
-I. -I../../include -L../../lib/cygwin -g -O2 -o
../bin/cygwin/testArray.exe ../obj/cygwin/testArray.o
../obj/cygwin/libdstruct.a -lm ../../lib/cygwin/libmisc.a -ltcl -lm
-liconv
test -f ../bin/cygwin/testArray.exe
g++ -Wall -Wno-unused-variable -Wno-uninitialized -DINSTANTIATE_TEMPLATES
-I. -I../../include -c -g -O2 -o ../obj/cygwin/testMap.o testMap.cc
g++ -Wall -Wno-unused-variable -Wno-uninitialized -DINSTANTIATE_TEMPLATES
-I. -I../../include -L../../lib/cygwin -g -O2 -o
../bin/cygwin/testMap.exe ../obj/cygwin/testMap.o
../obj/cygwin/libdstruct.a -lm ../../lib/cygwin/libmisc.a -ltcl -lm
-liconv
test -f ../bin/cygwin/testMap.exe
g++ -Wall -Wno-unused-variable -Wno-uninitialized -DINSTANTIATE_TEMPLATES
-I. -I../../include -c -g -O2 -o ../obj/cygwin/benchHash.o benchHash.cc
g++ -Wall -Wno-unused-variable -Wno-uninitialized -DINSTANTIATE_TEMPLATES
-I. -I../../include -L../../lib/cygwin -g -O2 -o
../bin/cygwin/benchHash.exe ../obj/cygwin/benchHash.o
../obj/cygwin/libdstruct.a -lm ../../lib/cygwin/libmisc.a -ltcl -lm
-liconv
test -f ../bin/cygwin/benchHash.exe
g++ -Wall -Wno-unused-variable -Wno-uninitialized -DINSTANTIATE_TEMPLATES
-I. -I../../include -c -g -O2 -o ../obj/cygwin/testHash.o testHash.cc
g++ -Wall -Wno-unused-variable -Wno-uninitialized -DINSTANTIATE_TEMPLATES
-I. -I../../include -L../../lib/cygwin -g -O2 -o
../bin/cygwin/testHash.exe ../obj/cygwin/testHash.o
../obj/cygwin/libdstruct.a -lm ../../lib/cygwin/libmisc.a -ltcl -lm
-liconv
test -f ../bin/cygwin/testHash.exe
g++ -Wall -Wno-unused-variable -Wno-uninitialized -DINSTANTIATE_TEMPLATES
-I. -I../../include -c -g -O2 -o ../obj/cygwin/testSizes.o testSizes.cc
g++ -Wall -Wno-unused-variable -Wno-uninitialized -DINSTANTIATE_TEMPLATES
-I. -I../../include -L../../lib/cygwin -g -O2 -o
../bin/cygwin/testSizes.exe ../obj/cygwin/testSizes.o
../obj/cygwin/libdstruct.a -lm ../../lib/cygwin/libmisc.a -ltcl -lm
-liconv
test -f ../bin/cygwin/testSizes.exe
g++ -Wall -Wno-unused-variable -Wno-uninitialized -DINSTANTIATE_TEMPLATES
-I. -I../../include -c -g -O2 -o ../obj/cygwin/testCachedMem.o
testCachedMem.cc
g++ -Wall -Wno-unused-variable -Wno-uninitialized -DINSTANTIATE_TEMPLATES
-I. -I../../include -L../../lib/cygwin -g -O2 -o
../bin/cygwin/testCachedMem.exe ../obj/cygwin/testCachedMem.o
../obj/cygwin/libdstruct.a -lm ../../lib/cygwin/libmisc.a -ltcl -lm
-liconv
test -f ../bin/cygwin/testCachedMem.exe
g++ -Wall -Wno-unused-variable -Wno-uninitialized -DINSTANTIATE_TEMPLATES
-I. -I../../include -c -g -O2 -o ../obj/cygwin/testBlockMalloc.o
testBlockMalloc.cc
g++ -Wall -Wno-unused-variable -Wno-uninitialized -DINSTANTIATE_TEMPLATES
-I. -I../../include -L../../lib/cygwin -g -O2 -o
../bin/cygwin/testBlockMalloc.exe ../obj/cygwin/testBlockMalloc.o
../obj/cygwin/libdstruct.a -lm ../../lib/cygwin/libmisc.a -ltcl -lm
-liconv
test -f ../bin/cygwin/testBlockMalloc.exe
g++ -Wall -Wno-unused-variable -Wno-uninitialized -DINSTANTIATE_TEMPLATES
-I. -I../../include -c -g -O2 -o ../obj/cygwin/testMap2.o testMap2.cc
testMap2.cc: In function 「int Delete(ClientData, Tcl_Interp*, int, char**)」:
testMap2.cc:114:11: 錯誤:cannot convert 「Boolean {aka bool}」 to 「char**」 in
assignment
result = myMap2.remove(key1, key2);
^
/srilm/common/Makefile.common.targets:93: recipe for target
`../obj/cygwin/testMap2.o' failed
make[1]: *** [../obj/cygwin/testMap2.o] Error 1
make[1]: Leaving directory `/srilm/dstruct/src'
Makefile:106: recipe for target `all' failed
make: *** [all] Error 1
yifenliu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.speech.sri.com/pipermail/srilm-user/attachments/20140516/cdc9b42c/attachment.html>
More information about the SRILM-User
mailing list