[SRILM User List] Problem with SRILM compliling in CygWin
Ricardo Garcia Gutierrez
riki_10004 at hotmail.com
Mon Apr 10 18:47:50 PDT 2017
Hi I'm Ricardo and I have downloaded the srilm toolkit using the Cygwin portal. I ran into some problems before that I was able to solve by installing packages in Cygwin, but new bugs are appearing and I cannot find out the error source. I add the make file output to show the error display messages, some of the text is in spanish, in general many error lines have the same underlying structure: "Reference to .... <function>... without defining".
Information:
-Operating system: CYGWIN_NT-10.0 Lenovo-PC 2.8.0(0.309/5/3) 2017-04-01 20:47 x86_64 Cygwin
-My GCC compiler version is 5.4.0
Thanks if anyone helps... I'm very lost.
Best regards,
Ricardo García
Make output file:
mkdir -p include lib bin
make init
make[1]: se entra en el directorio '/srilm'
for subdir in misc dstruct lm flm lattice utils zlib; do \
(cd $subdir/src; make SRILM=/srilm MACHINE_TYPE=cygwin64 OPTION= MAKE_PIC= init) || exit 1; \
done
make[2]: se entra en el directorio '/srilm/misc/src'
cd ..; /srilm/sbin/make-standard-directories
make ../obj/cygwin64/STAMP ../bin/cygwin64/STAMP
make[3]: se entra en el directorio '/srilm/misc/src'
make[3]: '../obj/cygwin64/STAMP' está actualizado.
make[3]: '../bin/cygwin64/STAMP' está actualizado.
make[3]: se sale del directorio '/srilm/misc/src'
make[2]: se sale del directorio '/srilm/misc/src'
make[2]: se entra en el directorio '/srilm/dstruct/src'
cd ..; /srilm/sbin/make-standard-directories
make ../obj/cygwin64/STAMP ../bin/cygwin64/STAMP
make[3]: se entra en el directorio '/srilm/dstruct/src'
make[3]: '../obj/cygwin64/STAMP' está actualizado.
make[3]: '../bin/cygwin64/STAMP' está actualizado.
make[3]: se sale del directorio '/srilm/dstruct/src'
make[2]: se sale del directorio '/srilm/dstruct/src'
make[2]: se entra en el directorio '/srilm/lm/src'
cd ..; /srilm/sbin/make-standard-directories
make ../obj/cygwin64/STAMP ../bin/cygwin64/STAMP
make[3]: se entra en el directorio '/srilm/lm/src'
make[3]: '../obj/cygwin64/STAMP' está actualizado.
make[3]: '../bin/cygwin64/STAMP' está actualizado.
make[3]: se sale del directorio '/srilm/lm/src'
make[2]: se sale del directorio '/srilm/lm/src'
make[2]: se entra en el directorio '/srilm/flm/src'
cd ..; /srilm/sbin/make-standard-directories
make ../obj/cygwin64/STAMP ../bin/cygwin64/STAMP
make[3]: se entra en el directorio '/srilm/flm/src'
make[3]: '../obj/cygwin64/STAMP' está actualizado.
make[3]: '../bin/cygwin64/STAMP' está actualizado.
make[3]: se sale del directorio '/srilm/flm/src'
make[2]: se sale del directorio '/srilm/flm/src'
make[2]: se entra en el directorio '/srilm/lattice/src'
cd ..; /srilm/sbin/make-standard-directories
make ../obj/cygwin64/STAMP ../bin/cygwin64/STAMP
make[3]: se entra en el directorio '/srilm/lattice/src'
make[3]: '../obj/cygwin64/STAMP' está actualizado.
make[3]: '../bin/cygwin64/STAMP' está actualizado.
make[3]: se sale del directorio '/srilm/lattice/src'
make[2]: se sale del directorio '/srilm/lattice/src'
make[2]: se entra en el directorio '/srilm/utils/src'
cd ..; /srilm/sbin/make-standard-directories
make ../obj/cygwin64/STAMP ../bin/cygwin64/STAMP
make[3]: se entra en el directorio '/srilm/utils/src'
make[3]: '../obj/cygwin64/STAMP' está actualizado.
make[3]: '../bin/cygwin64/STAMP' está actualizado.
make[3]: se sale del directorio '/srilm/utils/src'
make[2]: se sale del directorio '/srilm/utils/src'
make[2]: se entra en el directorio '/srilm/zlib/src'
cd ..; /srilm/sbin/make-standard-directories
make ../obj/cygwin64/STAMP ../bin/cygwin64/STAMP
make[3]: se entra en el directorio '/srilm/zlib/src'
make[3]: '../obj/cygwin64/STAMP' está actualizado.
make[3]: '../bin/cygwin64/STAMP' está actualizado.
make[3]: se sale del directorio '/srilm/zlib/src'
make[2]: se sale del directorio '/srilm/zlib/src'
make[1]: se sale del directorio '/srilm'
make release-headers
make[1]: se entra en el directorio '/srilm'
for subdir in misc dstruct lm flm lattice utils zlib; do \
(cd $subdir/src; make SRILM=/srilm MACHINE_TYPE=cygwin64 OPTION= MAKE_PIC= release-headers) || exit 1; \
done
make[2]: se entra en el directorio '/srilm/misc/src'
make[2]: No se hace nada para 'release-headers'.
make[2]: se sale del directorio '/srilm/misc/src'
make[2]: se entra en el directorio '/srilm/dstruct/src'
make[2]: No se hace nada para 'release-headers'.
make[2]: se sale del directorio '/srilm/dstruct/src'
make[2]: se entra en el directorio '/srilm/lm/src'
make[2]: No se hace nada para 'release-headers'.
make[2]: se sale del directorio '/srilm/lm/src'
make[2]: se entra en el directorio '/srilm/flm/src'
make[2]: No se hace nada para 'release-headers'.
make[2]: se sale del directorio '/srilm/flm/src'
make[2]: se entra en el directorio '/srilm/lattice/src'
make[2]: No se hace nada para 'release-headers'.
make[2]: se sale del directorio '/srilm/lattice/src'
make[2]: se entra en el directorio '/srilm/utils/src'
make[2]: No se hace nada para 'release-headers'.
make[2]: se sale del directorio '/srilm/utils/src'
make[2]: se entra en el directorio '/srilm/zlib/src'
make[2]: No se hace nada para 'release-headers'.
make[2]: se sale del directorio '/srilm/zlib/src'
make[1]: se sale del directorio '/srilm'
make depend
make[1]: se entra en el directorio '/srilm'
for subdir in misc dstruct lm flm lattice utils zlib; do \
(cd $subdir/src; make SRILM=/srilm MACHINE_TYPE=cygwin64 OPTION= MAKE_PIC= depend) || exit 1; \
done
make[2]: se entra en el directorio '/srilm/misc/src'
rm -f Dependencies.cygwin64
gcc -Wall -Wno-unused-variable -Wno-uninitialized -Wimplicit-int -I. -I../../include -MM ./option.c ./zio.c ./fcheck.c ./rand48.c ./version.c ./ztest.c | sed -e "s&^\([^ ]\)&../obj/cygwin64"'$(OBJ_OPTION)'"/\1&g" -e "s&\.o&.o&g" >> Dependencies.cygwin64
g++ -Wall -Wno-unused-variable -Wno-uninitialized -DINSTANTIATE_TEMPLATES -I. -I../../include -MM ./Debug.cc ./File.cc ./MStringTokUtil.cc ./tls.cc ./tserror.cc ./tclmain.cc ./testFile.cc ./testRand.cc | sed -e "s&^\([^ ]\)&../obj/cygwin64"'$(OBJ_OPTION)'"/\1&g" -e "s&\.o&.o&g" >> Dependencies.cygwin64
/srilm/sbin/generate-program-dependencies ../bin/cygwin64 ../obj/cygwin64 ".exe" ztest testFile testRand | sed -e "s&\.o&.o&g" >> Dependencies.cygwin64
make[2]: se sale del directorio '/srilm/misc/src'
make[2]: se entra en el directorio '/srilm/dstruct/src'
rm -f Dependencies.cygwin64
gcc -Wall -Wno-unused-variable -Wno-uninitialized -Wimplicit-int -I. -I../../include -MM ./qsort.c ./maxalloc.c | sed -e "s&^\([^ ]\)&../obj/cygwin64"'$(OBJ_OPTION)'"/\1&g" -e "s&\.o&.o&g" >> Dependencies.cygwin64
g++ -Wall -Wno-unused-variable -Wno-uninitialized -DINSTANTIATE_TEMPLATES -I. -I../../include -MM ./MemStats.cc ./LHashTrie.cc ./SArrayTrie.cc ./BlockMalloc.cc ./DStructThreads.cc ./Array.cc ./IntervalHeap.cc ./Map.cc ./SArray.cc ./LHash.cc ./Map2.cc ./Trie.cc ./CachedMem.cc ./testArray.cc ./testMap.cc ./testFloatMap.cc ./benchHash.cc ./testHash.cc ./testSizes.cc ./testCachedMem.cc ./testBlockMalloc.cc ./testMap2.cc ./testTrie.cc | sed -e "s&^\([^ ]\)&../obj/cygwin64"'$(OBJ_OPTION)'"/\1&g" -e "s&\.o&.o&g" >> Dependencies.cygwin64
/srilm/sbin/generate-program-dependencies ../bin/cygwin64 ../obj/cygwin64 ".exe" maxalloc testArray testMap testFloatMap benchHash testHash testSizes testCachedMem testBlockMalloc testMap2 testTrie | sed -e "s&\.o&.o&g" >> Dependencies.cygwin64
make[2]: se sale del directorio '/srilm/dstruct/src'
make[2]: se entra en el directorio '/srilm/lm/src'
rm -f Dependencies.cygwin64
gcc -Wall -Wno-unused-variable -Wno-uninitialized -Wimplicit-int -I. -I../../include -MM ./matherr.c | sed -e "s&^\([^ ]\)&../obj/cygwin64"'$(OBJ_OPTION)'"/\1&g" -e "s&\.o&.o&g" >> Dependencies.cygwin64
g++ -Wall -Wno-unused-variable -Wno-uninitialized -DINSTANTIATE_TEMPLATES -I. -I../../include -MM ./Prob.cc ./Counts.cc ./XCount.cc ./Vocab.cc ./VocabMap.cc ./VocabMultiMap.cc ./VocabDistance.cc ./SubVocab.cc ./MultiwordVocab.cc ./TextStats.cc ./LM.cc ./LMClient.cc ./LMStats.cc ./RefList.cc ./Bleu.cc ./NBest.cc ./NBestSet.cc ./NgramLM.cc ./NgramStatsInt.cc ./NgramStatsShort.cc ./NgramStatsLong.cc ./NgramStatsLongLong.cc ./NgramStatsFloat.cc ./NgramStatsDouble.cc ./NgramStatsXCount.cc ./NgramProbArrayTrie.cc ./NgramCountLM.cc ./MSWebNgramLM.cc ./Discount.cc ./ClassNgram.cc ./SimpleClassNgram.cc ./DFNgram.cc ./SkipNgram.cc ./HiddenNgram.cc ./HiddenSNgram.cc ./VarNgram.cc ./DecipherNgram.cc ./TaggedVocab.cc ./TaggedNgram.cc ./TaggedNgramStats.cc ./StopNgram.cc ./StopNgramStats.cc ./MultiwordLM.cc ./NonzeroLM.cc ./BayesMix.cc ./LoglinearMix.cc ./AdaptiveMix.cc ./AdaptiveMarginals.cc ./CacheLM.cc ./DynamicLM.cc ./HMMofNgrams.cc ./WordAlign.cc ./WordLattice.cc ./WordMesh.cc ./simpleTrigram.cc ./LMThreads.cc ./MEModel.cc ./hmaxent.cc ./NgramStats.cc ./Trellis.cc ./testBinaryCounts.cc ./testHash.cc ./testProb.cc ./testQuantized.cc ./testXCount.cc ./testParseFloat.cc ./testVocabDistance.cc ./testNgram.cc ./testNgramAlloc.cc ./testNgramProbArrayTrie.cc ./testMultiReadLM.cc ./hoeffding.cc ./tolower.cc ./testLattice.cc ./testError.cc ./testNBest.cc ./testMix.cc ./testTaggedVocab.cc ./testVocab.cc ./ngram.cc ./ngram-count.cc ./ngram-merge.cc ./ngram-class.cc ./disambig.cc ./anti-ngram.cc ./nbest-lattice.cc ./nbest-mix.cc ./nbest-optimize.cc ./nbest-pron-score.cc ./segment.cc ./segment-nbest.cc ./hidden-ngram.cc ./multi-ngram.cc | sed -e "s&^\([^ ]\)&../obj/cygwin64"'$(OBJ_OPTION)'"/\1&g" -e "s&\.o&.o&g" >> Dependencies.cygwin64
/srilm/sbin/generate-program-dependencies ../bin/cygwin64 ../obj/cygwin64 ".exe" testBinaryCounts testHash testProb testQuantized testXCount testParseFloat testVocabDistance testNgram testNgramAlloc testNgramProbArrayTrie testMultiReadLM hoeffding tolower testLattice testError testNBest testMix testTaggedVocab testVocab ngram ngram-count ngram-merge ngram-class disambig anti-ngram nbest-lattice nbest-mix nbest-optimize nbest-pron-score segment segment-nbest hidden-ngram multi-ngram | sed -e "s&\.o&.o&g" >> Dependencies.cygwin64
make[2]: se sale del directorio '/srilm/lm/src'
make[2]: se entra en el directorio '/srilm/flm/src'
rm -f Dependencies.cygwin64
g++ -Wall -Wno-unused-variable -Wno-uninitialized -DINSTANTIATE_TEMPLATES -I. -I../../include -MM ./FDiscount.cc ./FNgramStats.cc ./FNgramStatsInt.cc ./FNgramSpecs.cc ./FNgramSpecsInt.cc ./FactoredVocab.cc ./FNgramLM.cc ./ProductVocab.cc ./ProductNgram.cc ./FLMThreads.cc ./strtolplusb.cc ./wmatrix.cc ./pngram.cc ./fngram-count.cc ./fngram.cc | sed -e "s&^\([^ ]\)&../obj/cygwin64"'$(OBJ_OPTION)'"/\1&g" -e "s&\.o&.o&g" >> Dependencies.cygwin64
/srilm/sbin/generate-program-dependencies ../bin/cygwin64 ../obj/cygwin64 ".exe" pngram fngram-count fngram | sed -e "s&\.o&.o&g" >> Dependencies.cygwin64
make[2]: se sale del directorio '/srilm/flm/src'
make[2]: se entra en el directorio '/srilm/lattice/src'
rm -f Dependencies.cygwin64
g++ -Wall -Wno-unused-variable -Wno-uninitialized -DINSTANTIATE_TEMPLATES -I. -I../../include -MM ./Lattice.cc ./LatticeAlign.cc ./LatticeExpand.cc ./LatticeIndex.cc ./LatticeNBest.cc ./LatticeNgrams.cc ./LatticeReduce.cc ./HTKLattice.cc ./LatticeLM.cc ./LatticeThreads.cc ./LatticeDecode.cc ./testLattice.cc ./lattice-tool.cc | sed -e "s&^\([^ ]\)&../obj/cygwin64"'$(OBJ_OPTION)'"/\1&g" -e "s&\.o&.o&g" >> Dependencies.cygwin64
/srilm/sbin/generate-program-dependencies ../bin/cygwin64 ../obj/cygwin64 ".exe" testLattice lattice-tool | sed -e "s&\.o&.o&g" >> Dependencies.cygwin64
make[2]: se sale del directorio '/srilm/lattice/src'
make[2]: se entra en el directorio '/srilm/utils/src'
rm -f Dependencies.cygwin64
/srilm/sbin/generate-program-dependencies ../bin/cygwin64 ../obj/cygwin64 ".exe" | sed -e "s&\.o&.o&g" >> Dependencies.cygwin64
make[2]: se sale del directorio '/srilm/utils/src'
make[2]: se entra en el directorio '/srilm/zlib/src'
rm -f Dependencies.cygwin64
gcc -Wall -Wno-unused-variable -Wno-uninitialized -Wimplicit-int -I. -I../../include -MM ./adler32.c ./crc32.c ./gzclose.c ./gzread.c ./infback.c ./inflate.c ./trees.c ./zutil.c ./compress.c ./deflate.c ./gzlib.c ./gzwrite.c ./inffast.c ./inftrees.c ./uncompr.c ./minigzip.c | sed -e "s&^\([^ ]\)&../obj/cygwin64"'$(OBJ_OPTION)'"/\1&g" -e "s&\.o&.o&g" >> Dependencies.cygwin64
/srilm/sbin/generate-program-dependencies ../bin/cygwin64 ../obj/cygwin64 ".exe" minigzip | sed -e "s&\.o&.o&g" >> Dependencies.cygwin64
make[2]: se sale del directorio '/srilm/zlib/src'
make[1]: se sale del directorio '/srilm'
make release-libraries
make[1]: se entra en el directorio '/srilm'
for subdir in misc dstruct lm flm lattice utils zlib; do \
(cd $subdir/src; make SRILM=/srilm MACHINE_TYPE=cygwin64 OPTION= MAKE_PIC= release-libraries) || exit 1; \
done
make[2]: se entra en el directorio '/srilm/misc/src'
make[2]: No se hace nada para 'release-libraries'.
make[2]: se sale del directorio '/srilm/misc/src'
make[2]: se entra en el directorio '/srilm/dstruct/src'
make[2]: No se hace nada para 'release-libraries'.
make[2]: se sale del directorio '/srilm/dstruct/src'
make[2]: se entra en el directorio '/srilm/lm/src'
make[2]: No se hace nada para 'release-libraries'.
make[2]: se sale del directorio '/srilm/lm/src'
make[2]: se entra en el directorio '/srilm/flm/src'
make[2]: No se hace nada para 'release-libraries'.
make[2]: se sale del directorio '/srilm/flm/src'
make[2]: se entra en el directorio '/srilm/lattice/src'
make[2]: No se hace nada para 'release-libraries'.
make[2]: se sale del directorio '/srilm/lattice/src'
make[2]: se entra en el directorio '/srilm/utils/src'
make[2]: No se hace nada para 'release-libraries'.
make[2]: se sale del directorio '/srilm/utils/src'
make[2]: se entra en el directorio '/srilm/zlib/src'
make[2]: No se hace nada para 'release-libraries'.
make[2]: se sale del directorio '/srilm/zlib/src'
make[1]: se sale del directorio '/srilm'
make release-programs
make[1]: se entra en el directorio '/srilm'
for subdir in misc dstruct lm flm lattice utils zlib; do \
(cd $subdir/src; make SRILM=/srilm MACHINE_TYPE=cygwin64 OPTION= MAKE_PIC= release-programs) || exit 1; \
done
make[2]: se entra en el directorio '/srilm/misc/src'
make[2]: No se hace nada para 'release-programs'.
make[2]: se sale del directorio '/srilm/misc/src'
make[2]: se entra en el directorio '/srilm/dstruct/src'
make[2]: No se hace nada para 'release-programs'.
make[2]: se sale del directorio '/srilm/dstruct/src'
make[2]: se entra en el directorio '/srilm/lm/src'
g++ -Wall -Wno-unused-variable -Wno-uninitialized -DINSTANTIATE_TEMPLATES -I. -I../../include -u matherr -L../../lib/cygwin64 -g -O2 -o ../bin/cygwin64/ngram.exe ../obj/cygwin64/ngram.o ../obj/cygwin64/liboolm.a -lm ../../lib/cygwin64/libflm.a ../../lib/cygwin64/libdstruct.a ../../lib/cygwin64/libmisc.a ../../lib/cygwin64/libz.a -ltcl -lm -liconv
../obj/cygwin64/ngram.o: En la función `rescoreNbest(LM&, char const*, char const*)':
/srilm/lm/src/ngram.cc:363: referencia a `File::File(__sFILE64*, int)' sin definir
/srilm/lm/src/ngram.cc:363:(.text+0x31c): reubicación truncada para ajustar: R_X86_64_PC32 contra el símbolo `File::File(__sFILE64*, int)' sin definir
../obj/cygwin64/ngram.o: En la función `main':
/srilm/lm/src/ngram.cc:1327: referencia a `File::File(__sFILE64*, int)' sin definir
/srilm/lm/src/ngram.cc:1327:(.text.startup+0x11c9): reubicación truncada para ajustar: R_X86_64_PC32 contra el símbolo `File::File(__sFILE64*, int)' sin definir
/srilm/lm/src/ngram.cc:1314: referencia a `File::File(__sFILE64*, int)' sin definir
/srilm/lm/src/ngram.cc:1314:(.text.startup+0x18fb): reubicación truncada para ajustar: R_X86_64_PC32 contra el símbolo `File::File(__sFILE64*, int)' sin definir
../obj/cygwin64/liboolm.a(Vocab.o): En la función `TLSWrapper<Vocab*>::TLSWrapper(unsigned long, bool)':
/srilm/lm/src/../../include/TLSWrapper.h:51: referencia a `srilm_tls_get_key()' sin definir
/srilm/lm/src/../../include/TLSWrapper.h:51:(.text.startup+0x2b): reubicación truncada para ajustar: R_X86_64_PC32 contra el símbolo `srilm_tls_get_key()' sin definir
/srilm/lm/src/../../include/TLSWrapper.h:51: referencia a `srilm_tls_get_key()' sin definir
/srilm/lm/src/../../include/TLSWrapper.h:51:(.text.startup+0x63): reubicación truncada para ajustar: R_X86_64_PC32 contra el símbolo `srilm_tls_get_key()' sin definir
../obj/cygwin64/liboolm.a(Vocab.o): En la función `TLSWrapper<char>::TLSWrapper(unsigned long, bool)':
/srilm/lm/src/../../include/TLSWrapper.h:51: referencia a `srilm_tls_get_key()' sin definir
/srilm/lm/src/../../include/TLSWrapper.h:51:(.text.startup+0x9b): reubicación truncada para ajustar: R_X86_64_PC32 contra el símbolo `srilm_tls_get_key()' sin definir
../obj/cygwin64/liboolm.a(LM.o): En la función `TLSWrapper<unsigned int>::TLSWrapper(unsigned long, bool)':
/srilm/lm/src/../../include/TLSWrapper.h:51: referencia a `srilm_tls_get_key()' sin definir
/srilm/lm/src/../../include/TLSWrapper.h:51:(.text.startup+0x2b): reubicación truncada para ajustar: R_X86_64_PC32 contra el símbolo `srilm_tls_get_key()' sin definir
../obj/cygwin64/liboolm.a(LM.o): En la función `TLSWrapper<unsigned int*>::TLSWrapper(unsigned long, bool)':
/srilm/lm/src/../../include/TLSWrapper.h:51: referencia a `srilm_tls_get_key()' sin definir
/srilm/lm/src/../../include/TLSWrapper.h:51:(.text.startup+0x63): reubicación truncada para ajustar: R_X86_64_PC32 contra el símbolo `srilm_tls_get_key()' sin definir
../obj/cygwin64/liboolm.a(LM.o):/srilm/lm/src/../../include/TLSWrapper.h:51: más referencias a `srilm_tls_get_key()' sin definir a continuación
../obj/cygwin64/liboolm.a(LM.o): En la función `TLSWrapper<unsigned int>::TLSWrapper(unsigned long, bool)':
/srilm/lm/src/../../include/TLSWrapper.h:51:(.text.startup+0x9b): reubicación truncada para ajustar: R_X86_64_PC32 contra el símbolo `srilm_tls_get_key()' sin definir
../obj/cygwin64/liboolm.a(LM.o): En la función `TLSWrapper<char const**>::TLSWrapper(unsigned long, bool)':
/srilm/lm/src/../../include/TLSWrapper.h:51:(.text.startup+0xd3): reubicación truncada para ajustar: R_X86_64_PC32 contra el símbolo `srilm_tls_get_key()' sin definir
../obj/cygwin64/liboolm.a(LMStats.o): En la función `TLSWrapper<char const*>::TLSWrapper(unsigned long, bool)':
/srilm/lm/src/../../include/TLSWrapper.h:51:(.text.startup+0x2b): se omitieron desbordamientos de reubicación adicionales de la salida
../obj/cygwin64/liboolm.a(NgramLM.o): En la función `Ngram::skipToNextTrie(File&, unsigned int)':
/srilm/lm/src/NgramLM.cc:1463: referencia a `File::fread(void*, unsigned long, unsigned long)' sin definir
/srilm/lm/src/NgramLM.cc:1464: referencia a `File::fread(void*, unsigned long, unsigned long)' sin definir
/srilm/lm/src/NgramLM.cc:1465: referencia a `File::fread(void*, unsigned long, unsigned long)' sin definir
../obj/cygwin64/liboolm.a(NgramLM.o): En la función `Ngram::readBinaryV1Node(Trie<unsigned int, BOnode>&, File&, File&, bool, Array<unsigned int>&, unsigned int)':
/srilm/lm/src/NgramLM.cc:1379: referencia a `File::fread(void*, unsigned long, unsigned long)' sin definir
/srilm/lm/src/NgramLM.cc:1380: referencia a `File::fread(void*, unsigned long, unsigned long)' sin definir
../obj/cygwin64/liboolm.a(NgramLM.o):/srilm/lm/src/NgramLM.cc:1398: más referencias a `File::fread(void*, unsigned long, unsigned long)' sin definir a continuación
../obj/cygwin64/liboolm.a(NgramLM.o): En la función `Ngram::writeBinaryV1Node(Trie<unsigned int, BOnode>&, File&, File&, long long&, unsigned int)':
/srilm/lm/src/NgramLM.cc:1087: referencia a `File::fwrite(void const*, unsigned long, unsigned long)' sin definir
/srilm/lm/src/NgramLM.cc:1088: referencia a `File::fwrite(void const*, unsigned long, unsigned long)' sin definir
/srilm/lm/src/NgramLM.cc:1099: referencia a `File::fwrite(void const*, unsigned long, unsigned long)' sin definir
/srilm/lm/src/NgramLM.cc:1100: referencia a `File::fwrite(void const*, unsigned long, unsigned long)' sin definir
/srilm/lm/src/NgramLM.cc:1117: referencia a `File::fwrite(void const*, unsigned long, unsigned long)' sin definir
../obj/cygwin64/liboolm.a(NgramLM.o):/srilm/lm/src/NgramLM.cc:1118: más referencias a `File::fwrite(void const*, unsigned long, unsigned long)' sin definir a continuación
../obj/cygwin64/liboolm.a(NgramLM.o): En la función `Ngram::readBinaryV1(File&, bool)':
/srilm/lm/src/NgramLM.cc:1341: referencia a `File::fread(void*, unsigned long, unsigned long)' sin definir
/srilm/lm/src/NgramLM.cc:1348: referencia a `File::fread(void*, unsigned long, unsigned long)' sin definir
../obj/cygwin64/liboolm.a(NgramLM.o): En la función `Ngram::estimate(NgramStats&, unsigned long*, unsigned long*)':
/srilm/lm/src/NgramLM.cc:1586: referencia a `File::File(__sFILE64*, int)' sin definir
../obj/cygwin64/liboolm.a(WordAlign.o): En la función `TLSWrapper<unsigned int>::TLSWrapper(unsigned long, bool)':
/srilm/lm/src/../../include/TLSWrapper.h:51: referencia a `srilm_tls_get_key()' sin definir
/srilm/lm/src/../../include/TLSWrapper.h:51: referencia a `srilm_tls_get_key()' sin definir
../obj/cygwin64/liboolm.a(WordAlign.o): En la función `TLSWrapper<ChartEntry**>::TLSWrapper(unsigned long, bool)':
/srilm/lm/src/../../include/TLSWrapper.h:51: referencia a `srilm_tls_get_key()' sin definir
../obj/cygwin64/liboolm.a(LMThreads.o): En la función `TLSWrapper<unsigned int>::TLSWrapper(unsigned long, bool)':
/srilm/lm/src/../../include/TLSWrapper.h:51: referencia a `srilm_tls_get_key()' sin definir
../obj/cygwin64/liboolm.a(LMThreads.o): En la función `TLSWrapper<char>::TLSWrapper(unsigned long, bool)':
/srilm/lm/src/../../include/TLSWrapper.h:51: referencia a `srilm_tls_get_key()' sin definir
../obj/cygwin64/liboolm.a(Counts.o): En la función `writeBinaryCount(File&, unsigned long long, unsigned int)':
/srilm/lm/src/Counts.cc:105: referencia a `File::fwrite(void const*, unsigned long, unsigned long)' sin definir
/srilm/lm/src/Counts.cc:109: referencia a `File::fwrite(void const*, unsigned long, unsigned long)' sin definir
/srilm/lm/src/Counts.cc:97: referencia a `File::fwrite(void const*, unsigned long, unsigned long)' sin definir
/srilm/lm/src/Counts.cc:90: referencia a `File::fwrite(void const*, unsigned long, unsigned long)' sin definir
../obj/cygwin64/liboolm.a(Counts.o): En la función `readBinaryCount(File&, unsigned long long&)':
/srilm/lm/src/Counts.cc:122: referencia a `File::fread(void*, unsigned long, unsigned long)' sin definir
/srilm/lm/src/Counts.cc:137: referencia a `File::fread(void*, unsigned long, unsigned long)' sin definir
/srilm/lm/src/Counts.cc:157: referencia a `File::fread(void*, unsigned long, unsigned long)' sin definir
../obj/cygwin64/liboolm.a(Counts.o): En la función `writeBinaryCount(File&, float)':
/srilm/lm/src/Counts.cc:183: referencia a `File::fwrite(void const*, unsigned long, unsigned long)' sin definir
../obj/cygwin64/liboolm.a(Counts.o): En la función `writeBinaryCount(File&, double)':
/srilm/lm/src/Counts.cc:195: referencia a `File::fwrite(void const*, unsigned long, unsigned long)' sin definir
../obj/cygwin64/liboolm.a(Counts.o): En la función `readBinaryCount(File&, float&)':
/srilm/lm/src/Counts.cc:206: referencia a `File::fread(void*, unsigned long, unsigned long)' sin definir
../obj/cygwin64/liboolm.a(Counts.o): En la función `readBinaryCount(File&, double&)':
/srilm/lm/src/Counts.cc:217: referencia a `File::fread(void*, unsigned long, unsigned long)' sin definir
../obj/cygwin64/liboolm.a(XCount.o): En la función `TLSWrapper<unsigned long>::TLSWrapper(unsigned long, bool)':
/srilm/lm/src/../../include/TLSWrapper.h:51: referencia a `srilm_tls_get_key()' sin definir
../obj/cygwin64/liboolm.a(XCount.o): En la función `TLSWrapper<unsigned int>::TLSWrapper(unsigned long, bool)':
/srilm/lm/src/../../include/TLSWrapper.h:51: referencia a `srilm_tls_get_key()' sin definir
../obj/cygwin64/liboolm.a(XCount.o): En la función `TLSWrapper<unsigned short>::TLSWrapper(unsigned long, bool)':
/srilm/lm/src/../../include/TLSWrapper.h:51: referencia a `srilm_tls_get_key()' sin definir
../obj/cygwin64/liboolm.a(XCount.o): En la función `TLSWrapper<bool>::TLSWrapper(unsigned long, bool)':
/srilm/lm/src/../../include/TLSWrapper.h:51: referencia a `srilm_tls_get_key()' sin definir
../obj/cygwin64/liboolm.a(WordMesh.o): En la función `TLSWrapper<void*>::TLSWrapper(unsigned long, bool)':
/srilm/lm/src/../../include/TLSWrapper.h:51: referencia a `srilm_tls_get_key()' sin definir
../obj/cygwin64/liboolm.a(WordMesh.o):/srilm/lm/src/../../include/TLSWrapper.h:51: más referencias a `srilm_tls_get_key()' sin definir a continuación
../../lib/cygwin64/libmisc.a(File.o): En la función `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::assign(char const*)':
C:/TDM-GCC-64/lib/gcc/x86_64-w64-mingw32/5.1.0/include/c++/bits/basic_string.h:1163: referencia a `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace(unsigned long long, unsigned long long, char const*, unsigned long long)' sin definir
../../lib/cygwin64/libmisc.a(File.o): En la función `File::File(char const*, char const*, int)':
C:\cygwin64\srilm\misc\src/File.cc:54: referencia a `_assert' sin definir
../../lib/cygwin64/libmisc.a(File.o): En la función `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::assign(char const*)':
C:/TDM-GCC-64/lib/gcc/x86_64-w64-mingw32/5.1.0/include/c++/bits/basic_string.h:1163: referencia a `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace(unsigned long long, unsigned long long, char const*, unsigned long long)' sin definir
../../lib/cygwin64/libmisc.a(File.o): En la función `File::File(_iobuf*, int)':
C:\cygwin64\srilm\misc\src/File.cc:80: referencia a `_assert' sin definir
../../lib/cygwin64/libmisc.a(File.o): En la función `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::assign(char const*)':
C:/TDM-GCC-64/lib/gcc/x86_64-w64-mingw32/5.1.0/include/c++/bits/basic_string.h:1163: referencia a `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace(unsigned long long, unsigned long long, char const*, unsigned long long)' sin definir
../../lib/cygwin64/libmisc.a(File.o): En la función `File::File(char const*, unsigned long long, int, int)':
C:\cygwin64\srilm\misc\src/File.cc:96: referencia a `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::reserve(unsigned long long)' sin definir
C:\cygwin64\srilm\misc\src/File.cc:90: referencia a `_assert' sin definir
../../lib/cygwin64/libmisc.a(File.o): En la función `File::File(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, int, int)':
C:\cygwin64\srilm\misc\src/File.cc:111: referencia a `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::reserve(unsigned long long)' sin definir
C:\cygwin64\srilm\misc\src/File.cc:105: referencia a `_assert' sin definir
../../lib/cygwin64/libmisc.a(File.o): En la función `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::assign(char const*)':
C:/TDM-GCC-64/lib/gcc/x86_64-w64-mingw32/5.1.0/include/c++/bits/basic_string.h:1163: referencia a `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace(unsigned long long, unsigned long long, char const*, unsigned long long)' sin definir
C:/TDM-GCC-64/lib/gcc/x86_64-w64-mingw32/5.1.0/include/c++/bits/basic_string.h:1163: referencia a `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace(unsigned long long, unsigned long long, char const*, unsigned long long)' sin definir
C:/TDM-GCC-64/lib/gcc/x86_64-w64-mingw32/5.1.0/include/c++/bits/basic_string.h:1163: referencia a `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace(unsigned long long, unsigned long long, char const*, unsigned long long)' sin definir
../../lib/cygwin64/libmisc.a(File.o): En la función `File::reopen(char const*, unsigned long long, int)':
C:\cygwin64\srilm\misc\src/File.cc:261: referencia a `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::reserve(unsigned long long)' sin definir
../../lib/cygwin64/libmisc.a(File.o): En la función `File::reopen(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, int)':
C:\cygwin64\srilm\misc\src/File.cc:285: referencia a `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::reserve(unsigned long long)' sin definir
../../lib/cygwin64/libmisc.a(File.o): En la función `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*)':
C:/TDM-GCC-64/lib/gcc/x86_64-w64-mingw32/5.1.0/include/c++/ostream:561: referencia a `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, long long)' sin definir
C:/TDM-GCC-64/lib/gcc/x86_64-w64-mingw32/5.1.0/include/c++/ostream:561: referencia a `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, long long)' sin definir
C:/TDM-GCC-64/lib/gcc/x86_64-w64-mingw32/5.1.0/include/c++/ostream:561: referencia a `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, long long)' sin definir
C:/TDM-GCC-64/lib/gcc/x86_64-w64-mingw32/5.1.0/include/c++/ostream:561: referencia a `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, long long)' sin definir
C:/TDM-GCC-64/lib/gcc/x86_64-w64-mingw32/5.1.0/include/c++/ostream:561: referencia a `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, long long)' sin definir
../../lib/cygwin64/libmisc.a(File.o):C:/TDM-GCC-64/lib/gcc/x86_64-w64-mingw32/5.1.0/include/c++/ostream:561: más referencias a `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, long long)' sin definir a continuación
../../lib/cygwin64/libmisc.a(File.o): En la función `File::fgetsUTF8(char*, int)':
C:\cygwin64\srilm\misc\src/File.cc:348: referencia a `__imp__errno' sin definir
../../lib/cygwin64/libmisc.a(File.o): En la función `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*)':
C:/TDM-GCC-64/lib/gcc/x86_64-w64-mingw32/5.1.0/include/c++/ostream:561: referencia a `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, long long)' sin definir
C:/TDM-GCC-64/lib/gcc/x86_64-w64-mingw32/5.1.0/include/c++/ostream:561: referencia a `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, long long)' sin definir
C:/TDM-GCC-64/lib/gcc/x86_64-w64-mingw32/5.1.0/include/c++/ostream:561: referencia a `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, long long)' sin definir
../../lib/cygwin64/libmisc.a(File.o): En la función `File::getline()':
C:\cygwin64\srilm\misc\src/File.cc:458: referencia a `_assert' sin definir
../../lib/cygwin64/libmisc.a(File.o): En la función `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::push_back(char)':
C:/TDM-GCC-64/lib/gcc/x86_64-w64-mingw32/5.1.0/include/c++/bits/basic_string.h:1078: referencia a `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_mutate(unsigned long long, unsigned long long, char const*, unsigned long long)' sin definir
../../lib/cygwin64/libmisc.a(File.o): En la función `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*)':
C:/TDM-GCC-64/lib/gcc/x86_64-w64-mingw32/5.1.0/include/c++/bits/basic_string.h:1025: referencia a `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long long)' sin definir
../../lib/cygwin64/libmisc.a(File.o): En la función `vsnprintf':
C:/TDM-GCC-64/x86_64-w64-mingw32/include/stdio.h:545: referencia a `__ms_vsnprintf' sin definir
../../lib/cygwin64/libmisc.a(File.o): En la función `File::fprintf(char const*, ...)':
C:\cygwin64\srilm\misc\src/File.cc:670: referencia a `operator new[](unsigned long long)' sin definir
../../lib/cygwin64/libmisc.a(File.o): En la función `vsnprintf':
C:/TDM-GCC-64/x86_64-w64-mingw32/include/stdio.h:545: referencia a `__ms_vsnprintf' sin definir
../../lib/cygwin64/libmisc.a(File.o): En la función `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*)':
C:/TDM-GCC-64/lib/gcc/x86_64-w64-mingw32/5.1.0/include/c++/bits/basic_string.h:1025: referencia a `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long long)' sin definir
C:/TDM-GCC-64/lib/gcc/x86_64-w64-mingw32/5.1.0/include/c++/bits/basic_string.h:1025: referencia a `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long long)' sin definir
C:/TDM-GCC-64/lib/gcc/x86_64-w64-mingw32/5.1.0/include/c++/bits/basic_string.h:1025: referencia a `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long long)' sin definir
collect2: error: ld devolvió el estado de salida 1
make[2]: *** [/srilm/common/Makefile.common.targets:117: ../bin/cygwin64/ngram.exe] Error 1
make[2]: se sale del directorio '/srilm/lm/src'
make[1]: *** [Makefile:111: release-programs] Error 1
make[1]: se sale del directorio '/srilm'
make: *** [Makefile:63: World] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.speech.sri.com/pipermail/srilm-user/attachments/20170411/8c135280/attachment.html>
More information about the SRILM-User
mailing list