Closed shanguanma closed 9 months ago
Could you test us how you installed your GCC?
Could you test us how you installed your GCC?
I don't how to install GCC, because I use the cluster server. GCC is installed by other specify people.
GCC version:
gcc --version
gcc (GCC) 11.2.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
gcc --version gcc (GCC) 11.2.0
So your GCC is 11.2.0
However, from the cmake output:
-- The C compiler identification is GNU 8.5.0
-- The CXX compiler identification is GNU 8.5.0
it shows the GCC version is 8.5.0.
Could you follow the code below to set the corresponding environment variables so that cmake can find the correct gcc.
# Please change gcc_dir accordingly
gcc_dir=/ceph-fj/fangjun/software/gcc-12.2.0
export PATH=$gcc_dir/bin:$PATH
export CC=$gcc_dir/bin/gcc
export CXX=$gcc_dir/bin/g++
export LIBRARY_PATH=$gcc_dir/lib64:$LIBRARY_PATH
export LD_LIBRARY_PATH=$gcc_dir/lib64:$LD_LIBRARY_PATH
export C_INCLUDE_PATH=$gcc_dir/include
export CPLUS_INCLUDE_PATH=$gcc_dir/include
-- The C compiler identification is GNU 8.5.0
-- The CXX compiler identification is GNU 8.5.0
try update to gcc 12.0.0
gcc --version gcc (GCC) 11.2.0
So your GCC is 11.2.0
However, from the cmake output:
-- The C compiler identification is GNU 8.5.0 -- The CXX compiler identification is GNU 8.5.0
it shows the GCC version is 8.5.0.
Could you follow the code below to set the corresponding environment variables so that cmake can find the correct gcc.
# Please change gcc_dir accordingly gcc_dir=/ceph-fj/fangjun/software/gcc-12.2.0 export PATH=$gcc_dir/bin:$PATH export CC=$gcc_dir/bin/gcc export CXX=$gcc_dir/bin/g++ export LIBRARY_PATH=$gcc_dir/lib64:$LIBRARY_PATH export LD_LIBRARY_PATH=$gcc_dir/lib64:$LD_LIBRARY_PATH export C_INCLUDE_PATH=$gcc_dir/include export CPLUS_INCLUDE_PATH=$gcc_dir/include
The command cmake -DCMAKE_BUILD_TYPE=Release ..
is working, however, make -j 6
is not working. the error is as follow :
Scanning dependencies of target ucd
Scanning dependencies of target kaldi-native-fbank-core
Scanning dependencies of target cargs
Scanning dependencies of target fst
Scanning dependencies of target portaudio_static
[ 0%] Building C object _deps/cargs-build/CMakeFiles/cargs.dir/src/cargs.c.o
[ 1%] Building C object _deps/espeak_ng-build/src/ucd-tools/CMakeFiles/ucd.dir/src/case.c.o
[ 1%] Building C object _deps/espeak_ng-build/src/ucd-tools/CMakeFiles/ucd.dir/src/categories.c.o
[ 1%] Building CXX object _deps/kaldi_native_fbank-build/kaldi-native-fbank/csrc/CMakeFiles/kaldi-native-fbank-core.dir/feature-fbank.cc.o
[ 3%] Building C object _deps/portaudio-build/CMakeFiles/portaudio_static.dir/src/common/pa_allocation.c.o
[ 3%] Building CXX object _deps/openfst-build/src/lib/CMakeFiles/fst.dir/compat.cc.o
[ 3%] Building C object _deps/portaudio-build/CMakeFiles/portaudio_static.dir/src/common/pa_converters.c.o
[ 3%] Building C object _deps/espeak_ng-build/src/ucd-tools/CMakeFiles/ucd.dir/src/ctype.c.o
[ 3%] Building C object _deps/espeak_ng-build/src/ucd-tools/CMakeFiles/ucd.dir/src/proplist.c.o
[ 3%] Linking C static library ../../lib/libcargs.a
[ 3%] Built target cargs
[ 3%] Building C object _deps/espeak_ng-build/src/ucd-tools/CMakeFiles/ucd.dir/src/scripts.c.o
[ 4%] Building CXX object _deps/openfst-build/src/lib/CMakeFiles/fst.dir/flags.cc.o
[ 4%] Building C object _deps/portaudio-build/CMakeFiles/portaudio_static.dir/src/common/pa_cpuload.c.o
[ 4%] Building CXX object _deps/openfst-build/src/lib/CMakeFiles/fst.dir/fst.cc.o
[ 4%] Building C object _deps/portaudio-build/CMakeFiles/portaudio_static.dir/src/common/pa_debugprint.c.o
[ 4%] Building CXX object _deps/kaldi_native_fbank-build/kaldi-native-fbank/csrc/CMakeFiles/kaldi-native-fbank-core.dir/feature-functions.cc.o
[ 4%] Building C object _deps/espeak_ng-build/src/ucd-tools/CMakeFiles/ucd.dir/src/tostring.c.o
[ 4%] Building C object _deps/portaudio-build/CMakeFiles/portaudio_static.dir/src/common/pa_dither.c.o
[ 4%] Building CXX object _deps/kaldi_native_fbank-build/kaldi-native-fbank/csrc/CMakeFiles/kaldi-native-fbank-core.dir/feature-window.cc.o
[ 4%] Building C object _deps/portaudio-build/CMakeFiles/portaudio_static.dir/src/common/pa_front.c.o
[ 6%] Linking C static library ../../../../lib/libucd.a
[ 7%] Building C object _deps/portaudio-build/CMakeFiles/portaudio_static.dir/src/common/pa_process.c.o
[ 7%] Built target ucd
[ 7%] Building CXX object _deps/kaldi_native_fbank-build/kaldi-native-fbank/csrc/CMakeFiles/kaldi-native-fbank-core.dir/fftsg.cc.o
[ 9%] Building CXX object _deps/kaldi_native_fbank-build/kaldi-native-fbank/csrc/CMakeFiles/kaldi-native-fbank-core.dir/mel-computations.cc.o
[ 9%] Building C object _deps/portaudio-build/CMakeFiles/portaudio_static.dir/src/common/pa_ringbuffer.c.o
[ 9%] Building C object _deps/portaudio-build/CMakeFiles/portaudio_static.dir/src/common/pa_stream.c.o
[ 9%] Building C object _deps/portaudio-build/CMakeFiles/portaudio_static.dir/src/common/pa_trace.c.o
[ 9%] Building C object _deps/portaudio-build/CMakeFiles/portaudio_static.dir/src/hostapi/skeleton/pa_hostapi_skeleton.c.o
[ 9%] Building CXX object _deps/openfst-build/src/lib/CMakeFiles/fst.dir/properties.cc.o
[ 10%] Building C object _deps/portaudio-build/CMakeFiles/portaudio_static.dir/src/os/unix/pa_unix_hostapis.c.o
[ 10%] Building C object _deps/portaudio-build/CMakeFiles/portaudio_static.dir/src/os/unix/pa_unix_util.c.o
[ 10%] Building CXX object _deps/kaldi_native_fbank-build/kaldi-native-fbank/csrc/CMakeFiles/kaldi-native-fbank-core.dir/online-feature.cc.o
[ 10%] Linking C static library ../../lib/libsherpa-onnx-portaudio_static.a
[ 10%] Built target portaudio_static
[ 10%] Building CXX object _deps/kaldi_native_fbank-build/kaldi-native-fbank/csrc/CMakeFiles/kaldi-native-fbank-core.dir/rfft.cc.o
[ 10%] Building CXX object _deps/openfst-build/src/lib/CMakeFiles/fst.dir/symbol-table.cc.o
[ 10%] Building CXX object _deps/openfst-build/src/lib/CMakeFiles/fst.dir/util.cc.o
[ 10%] Building CXX object _deps/kaldi_native_fbank-build/kaldi-native-fbank/csrc/CMakeFiles/kaldi-native-fbank-core.dir/whisper-feature.cc.o
[ 12%] Building CXX object _deps/openfst-build/src/lib/CMakeFiles/fst.dir/symbol-table-ops.cc.o
[ 12%] Building CXX object _deps/openfst-build/src/lib/CMakeFiles/fst.dir/mapped-file.cc.o
[ 12%] Linking CXX static library ../../../../lib/libkaldi-native-fbank-core.a
[ 12%] Built target kaldi-native-fbank-core
Scanning dependencies of target espeak-ng
[ 12%] Building CXX object _deps/openfst-build/src/lib/CMakeFiles/fst.dir/weight.cc.o
[ 12%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/common.c.o
[ 12%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/mnemonics.c.o
[ 12%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/error.c.o
[ 12%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/ieee80.c.o
[ 14%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/compiledata.c.o
[ 14%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/compiledict.c.o
[ 14%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/dictionary.c.o
[ 14%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/encoding.c.o
[ 14%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/intonation.c.o
[ 15%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/langopts.c.o
[ 15%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/numbers.c.o
[ 15%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/phoneme.c.o
[ 15%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/phonemelist.c.o
[ 15%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/readclause.c.o
[ 15%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/setlengths.c.o
[ 17%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/soundicon.c.o
[ 17%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/spect.c.o
[ 17%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/ssml.c.o
[ 17%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/synthdata.c.o
[ 17%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/synthesize.c.o
[ 18%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/tr_languages.c.o
[ 18%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/translate.c.o
[ 18%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/translateword.c.o
[ 18%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/voices.c.o
[ 18%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/wavegen.c.o
[ 18%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/speech.c.o
[ 20%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/espeak_api.c.o
[ 20%] Linking C static library ../../../../lib/libespeak-ng.a
[ 20%] Built target espeak-ng
Scanning dependencies of target espeak-ng-bin
Scanning dependencies of target piper_phonemize
[ 20%] Building C object _deps/espeak_ng-build/src/CMakeFiles/espeak-ng-bin.dir/espeak-ng.c.o
[ 20%] Building CXX object _deps/piper_phonemize-build/CMakeFiles/piper_phonemize.dir/src/phonemize.cpp.o
[ 20%] Building CXX object _deps/piper_phonemize-build/CMakeFiles/piper_phonemize.dir/src/phoneme_ids.cpp.o
[ 20%] Building CXX object _deps/piper_phonemize-build/CMakeFiles/piper_phonemize.dir/src/tashkeel.cpp.o
[ 21%] Building CXX object _deps/piper_phonemize-build/CMakeFiles/piper_phonemize.dir/src/shared.cpp.o
[ 21%] Linking C executable ../../../bin/espeak-ng-bin
[ 21%] Built target espeak-ng-bin
Scanning dependencies of target speak-ng
Scanning dependencies of target data
[ 21%] Link espeak-ng to compat names
[ 21%] Compile intonations
[ 21%] Built target speak-ng
[ 21%] Compile phonemes
Compiled 30 intonation tunes: 0 errors.
Compiling phoneme data: /mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/../phsource/phonemes
Refs 4484, Reused 3509
Compiled phonemes: 0 errors.
[ 23%] Generating espeak-ng-data/af_dict
[ 23%] Generating espeak-ng-data/am_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/af_dict'
Using phonemetable: 'af'
Compiling: 'af_list'
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/am_dict'
1584 entries
Using phonemetable: 'am'
Compiling: 'af_emoji'
Compiling: 'am_list'
31 entries
1639 entries
Compiling: 'am_emoji'
Compiling: 'af_rules'
1639 entries
Compiling: 'am_rules'
345 rules, 7 groups (0)
[ 23%] Generating espeak-ng-data/an_dict
5202 rules, 60 groups (0)
[ 23%] Generating espeak-ng-data/ar_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/ar_dict'
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/an_dict'
Using phonemetable: 'ar'
Using phonemetable: 'an'
Compiling: 'ar_listx'
Compiling: 'an_list'
484 entries
Compiling: 'an_rules'
184 rules, 29 groups (0)
[ 23%] Generating espeak-ng-data/as_dict
30089 entries
Compiling: 'ar_list'
252 entries
Compiling: 'ar_emoji'
1639 entries
Compiling: 'ar_rules'
383 rules, 39 groups (37)
[ 23%] Generating espeak-ng-data/az_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/as_dict'
Using phonemetable: 'as'
Compiling: 'as_list'
209 entries
Compiling: 'as_rules'
146 rules, 66 groups (66)
[ 25%] Generating espeak-ng-data/ba_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/az_dict'
Using phonemetable: 'az'
Compiling: 'az_list'
84 entries
Compiling: 'az_emoji'
1639 entries
Compiling: 'az_rules'
58 rules, 34 groups (0)
[ 25%] Generating espeak-ng-data/be_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/ba_dict'
Using phonemetable: 'ba'
Compiling: 'ba_list'
70 entries
Compiling: 'ba_rules'
52 rules, 44 groups (0)
[ 25%] Generating espeak-ng-data/bg_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/be_dict'
Using phonemetable: 'be'
Compiling: 'be_list'
77 entries
Compiling: 'be_rules'
83 rules, 33 groups (32)
[ 25%] Generating espeak-ng-data/bn_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/bg_dict'
Using phonemetable: 'bg'
Compiling: 'bg_listx'
2790 entries
Compiling: 'bg_list'
231 entries
Compiling: 'bg_emoji'
1639 entries
Compiling: 'bg_rules'
118 rules, 31 groups (30)
[ 25%] Generating espeak-ng-data/bpy_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/bn_dict'
Using phonemetable: 'bn'
Compiling: 'bn_list'
380 entries
Compiling: 'bn_emoji'
1639 entries
Compiling: 'bn_rules'
168 rules, 68 groups (67)
[ 25%] Generating espeak-ng-data/bs_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/bpy_dict'
Using phonemetable: 'bpy'
Compiling: 'bpy_list'
179 entries
Compiling: 'bpy_rules'
212 rules, 63 groups (63)
[ 26%] Generating espeak-ng-data/ca_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/bs_dict'
Using phonemetable: 'hr'
Compiling: 'bs_list'
613 entries
Compiling: 'bs_emoji'
1635 entries
Compiling: 'bs_rules'
112 rules, 34 groups (0)
[ 26%] Generating espeak-ng-data/chr_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/ca_dict'
Using phonemetable: 'ca'
Compiling: 'ca_list'
192 entries
Compiling: 'ca_emoji'
1639 entries
Compiling: 'ca_rules'
134 rules, 28 groups (0)
[ 26%] Generating espeak-ng-data/cmn_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/chr_dict'
Using phonemetable: 'chr'
Compiling: 'chr_list'
0 entries
Compiling: 'chr_rules'
198 rules, 27 groups (0)
[ 26%] Generating espeak-ng-data/cs_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/cmn_dict'
Using phonemetable: 'cmn'
Compiling: 'cmn_list'
3859 entries
Compiling: 'cmn_listx'
77860 entries
Compiling: 'cmn_emoji'
1639 entries
Compiling: 'cmn_rules'
136 rules, 28 groups (0)
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/cs_dict'
[ 26%] Generating espeak-ng-data/cv_dict
Using phonemetable: 'cs'
Compiling: 'cs_list'
357 entries
Compiling: 'cs_emoji'
1639 entries
Compiling: 'cs_rules'
506 rules, 48 groups (0)
[ 28%] Generating espeak-ng-data/cy_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/cv_dict'
Using phonemetable: 'cv'
Compiling: 'cv_list'
0 entries
Compiling: 'cv_rules'
39 rules, 37 groups (0)
[ 28%] Generating espeak-ng-data/da_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/cy_dict'
Using phonemetable: 'cy'
Compiling: 'cy_list'
166 entries
Compiling: 'cy_emoji'
1636 entries
Compiling: 'cy_rules'
210 rules, 27 groups (0)
[ 28%] Generating espeak-ng-data/de_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/da_dict'
Using phonemetable: 'da'
Compiling: 'da_list'
11152 entries
Compiling: 'da_emoji'
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/de_dict'
1639 entries
Using phonemetable: 'de'
Compiling: 'da_rules'
Compiling: 'de_list'
940 entries
Compiling: 'de_emoji'
1688 entries
Compiling: 'de_rules'
1330 rules, 34 groups (0)
9269 rules, 56 groups (0)
[ 28%] Generating espeak-ng-data/el_dict
[ 28%] Generating espeak-ng-data/en_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/el_dict'
Using phonemetable: 'el'
Compiling: 'el_list'
379 entries
Compiling: 'el_emoji'
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/en_dict'
1639 entries
Using phonemetable: 'en'
Compiling: 'el_rules'
182 rules, 27 groups (26)
[ 29%] Generating espeak-ng-data/eo_dict
Compiling: 'en_list'
[ 29%] Generating espeak-ng-data/es_dict
5481 entries
Compiling: 'en_emoji'
1690 entries
Compiling: 'en_rules'
6744 rules, 103 groups (0)
[ 29%] Generating espeak-ng-data/et_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/eo_dict'
Using phonemetable: 'eo'
Compiling: 'eo_list'
242 entries
Compiling: 'eo_rules'
130 rules, 27 groups (0)
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/es_dict'
Using phonemetable: 'es'
Compiling: 'es_list'
370 entries
Compiling: 'es_emoji'
1639 entries
[ 29%] Generating espeak-ng-data/eu_dict
Compiling: 'es_rules'
192 rules, 29 groups (0)
[ 29%] Generating espeak-ng-data/fa_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/eu_dict'
Using phonemetable: 'eu'
Compiling: 'eu_list'
194 entries
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/et_dict'
Compiling: 'eu_emoji'
Using phonemetable: 'et'
1639 entries
Compiling: 'et_list'
Compiling: 'eu_rules'
159 rules, 27 groups (0)
303 entries
Compiling: 'et_emoji'
1639 entries
Compiling: 'et_rules'
221 rules, 31 groups (0)
[ 29%] Generating espeak-ng-data/fi_dict
[ 31%] Generating espeak-ng-data/fr_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/fa_dict'
Using phonemetable: 'fa'
Compiling: 'fa_list'
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/fi_dict'
Using phonemetable: 'fi'
Compiling: 'fi_list'
332 entries
Compiling: 'fi_emoji'
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/fr_dict'
Using phonemetable: 'fr'
1639 entries
Compiling: 'fi_rules'
Compiling: 'fr_list'
144 rules, 29 groups (0)
885 entries
Compiling: 'fr_emoji'
1638 entries
Compiling: 'fr_rules'
1207 rules, 33 groups (0)
[ 31%] Generating espeak-ng-data/ga_dict
13202 entries
Compiling: 'fa_emoji'
1649 entries
[ 31%] Generating espeak-ng-data/gd_dict
Compiling: 'fa_rules'
3922 rules, 93 groups (45)
[ 31%] Generating espeak-ng-data/gn_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/gd_dict'
Using phonemetable: 'gd'
Compiling: 'gd_list'
104 entries
Compiling: 'gd_emoji'
1636 entries
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/ga_dict'
Using phonemetable: 'ga'
Compiling: 'gd_rules'
252 rules, 35 groups (0)
Compiling: 'ga_list'
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/gn_dict'
250 entries
Using phonemetable: 'gn'
Compiling: 'ga_emoji'
Compiling: 'gn_list'
150 entries
1636 entries
Compiling: 'gn_rules'
Compiling: 'ga_rules'
58 rules, 48 groups (0)
481 rules, 34 groups (0)
[ 31%] Generating espeak-ng-data/grc_dict
[ 32%] Generating espeak-ng-data/gu_dict
[ 32%] Generating espeak-ng-data/hak_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/grc_dict'
Using phonemetable: 'grc'
Compiling: 'grc_list'
22 entries
Compiling: 'grc_rules'
136 rules, 55 groups (27)
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/hak_dict'
Using phonemetable: 'hak'
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/gu_dict'
Using phonemetable: 'gu'
Compiling: 'hak_list'
22 entries
[ 32%] Generating espeak-ng-data/haw_dict
Compiling: 'gu_list'
Compiling: 'hak_rules'
174 entries
261 rules, 27 groups (0)
Compiling: 'gu_emoji'
1639 entries
Compiling: 'gu_rules'
269 rules, 79 groups (77)
[ 32%] Generating espeak-ng-data/he_dict
[ 32%] Generating espeak-ng-data/hi_dict
[ 32%] Generating espeak-ng-data/hr_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/haw_dict'
Using phonemetable: 'haw'
Compiling: 'haw_list'
100 entries
Compiling: 'haw_rules'
40 rules, 30 groups (0)
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/he_dict'
Using phonemetable: 'he'
Compiling: 'he_listx'
140 entries
Compiling: 'he_list'
90 entries
Compiling: 'he_rules'
395 rules, 37 groups (0)
[ 34%] Generating espeak-ng-data/ht_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/hr_dict'
Using phonemetable: 'hr'
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/hi_dict'
Using phonemetable: 'hi'
Compiling: 'hr_list'
Compiling: 'hi_list'
[ 34%] Generating espeak-ng-data/hu_dict
613 entries
316 entries
Compiling: 'hr_emoji'
Compiling: 'hi_emoji'
1639 entries
Compiling: 'hr_rules'
1639 entries
112 rules, 34 groups (0)
Compiling: 'hi_rules'
301 rules, 87 groups (86)
[ 34%] Generating espeak-ng-data/hy_dict
[ 34%] Generating espeak-ng-data/ia_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/ht_dict'
Using phonemetable: 'ht'
Compiling: 'ht_list'
50 entries
Compiling: 'ht_rules'
36 rules, 32 groups (0)
[ 34%] Generating espeak-ng-data/id_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/hu_dict'
Using phonemetable: 'hu'
Compiling: 'hu_list'
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/hy_dict'
Using phonemetable: 'hy'
Compiling: 'hy_list'
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/ia_dict'
170 entries
Using phonemetable: 'ia'
Compiling: 'hy_emoji'
Compiling: 'ia_listx'
1639 entries
Compiling: 'hy_rules'
96 rules, 38 groups (38)
[ 35%] Generating espeak-ng-data/io_dict
5331 entries
Compiling: 'hu_emoji'
1639 entries
Compiling: 'hu_rules'
3019 rules, 46 groups (0)
[ 35%] Generating espeak-ng-data/is_dict
15620 entries
Compiling: 'ia_list'
90 entries
Compiling: 'ia_rules'
79 rules, 26 groups (0)
[ 35%] Generating espeak-ng-data/it_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/id_dict'
Using phonemetable: 'id'
Compiling: 'id_list'
132 entries
Compiling: 'id_emoji'
1639 entries
Compiling: 'id_rules'
78 rules, 27 groups (0)
[ 35%] Generating espeak-ng-data/ja_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/io_dict'
Using phonemetable: 'eo'
Compiling: 'io_list'
50 entries
Compiling: 'io_rules'
78 rules, 26 groups (0)
[ 35%] Generating espeak-ng-data/jbo_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/is_dict'
Using phonemetable: 'is'
Compiling: 'is_list'
327 entries
Compiling: 'is_emoji'
1639 entries
Compiling: 'is_rules'
205 rules, 37 groups (0)
[ 37%] Generating espeak-ng-data/ka_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/it_dict'
Using phonemetable: 'it'
Compiling: 'it_listx'
4297 entries
Compiling: 'it_list'
5135 entries
Compiling: 'it_emoji'
1639 entries
Compiling: 'it_rules'
712 rules, 30 groups (0)
[ 37%] Generating espeak-ng-data/kk_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/ja_dict'
Using phonemetable: 'ja'
Compiling: 'ja_list'
23 entries
Compiling: 'ja_emoji'
1639 entries
Compiling: 'ja_rules'
457 rules, 53 groups (0)
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/jbo_dict'
Using phonemetable: 'jbo'
Compiling: 'jbo_list'
[ 37%] Generating espeak-ng-data/kl_dict
85 entries
Compiling: 'jbo_rules'
64 rules, 27 groups (0)
[ 37%] Generating espeak-ng-data/kn_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/ka_dict'
Using phonemetable: 'ka'
Compiling: 'ka_list'
148 entries
Compiling: 'ka_emoji'
1639 entries
Compiling: 'ka_rules'
50 rules, 44 groups (43)
[ 37%] Generating espeak-ng-data/kok_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/kk_dict'
Using phonemetable: 'kk'
Compiling: 'kk_list'
51 entries
Compiling: 'kk_emoji'
0 entries
Compiling: 'kk_rules'
42 rules, 42 groups (36)
[ 37%] Generating espeak-ng-data/ko_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/ko_dict'
Using phonemetable: 'ko'
Compiling: 'ko_list'
133 entries
Compiling: 'ko_emoji'
1639 entries
Compiling: 'ko_rules'
128 rules, 68 groups (40)
[ 39%] Generating espeak-ng-data/ku_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/kl_dict'
Using phonemetable: 'kl'
Compiling: 'kl_list'
102 entries
Compiling: 'kl_rules'
80 rules, 30 groups (0)
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/kn_dict'
[ 39%] Generating espeak-ng-data/ky_dict
Using phonemetable: 'kn'
Compiling: 'kn_list'
262 entries
Compiling: 'kn_emoji'
1639 entries
Compiling: 'kn_rules'
115 rules, 55 groups (50)
[ 39%] Generating espeak-ng-data/la_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/kok_dict'
Using phonemetable: 'kok'
Compiling: 'kok_list'
189 entries
Compiling: 'kok_rules'
337 rules, 88 groups (0)
[ 39%] Generating espeak-ng-data/lb_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/ku_dict'
Using phonemetable: 'ku'
Compiling: 'ku_list'
106 entries
Compiling: 'ku_rules'
46 rules, 32 groups (0)
[ 39%] Generating espeak-ng-data/lfn_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/ky_dict'
Using phonemetable: 'ky'
Compiling: 'ky_list'
131 entries
Compiling: 'ky_emoji'
1636 entries
Compiling: 'ky_rules'
113 rules, 33 groups (0)
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/la_dict'
Using phonemetable: 'la'
Compiling: 'la_list'
215 entries
Compiling: 'la_rules'
113 rules, 31 groups (0)
[ 40%] Generating espeak-ng-data/lt_dict
[ 40%] Generating espeak-ng-data/lv_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/lb_dict'
Using phonemetable: 'lb'
Compiling: 'lb_list'
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/lfn_dict'
Using phonemetable: 'base2'
Compiling: 'lfn_list'
127 entries
Compiling: 'lfn_rules'
76 rules, 27 groups (0)
[ 40%] Generating espeak-ng-data/mi_dict
35646 entries
Compiling: 'lb_emoji'
25 entries
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/lt_dict'
Compiling: 'lb_rules'
Using phonemetable: 'lt'
175 rules, 50 groups (0)
Compiling: 'lt_list'
167 entries
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/lv_dict'
Compiling: 'lt_emoji'
Using phonemetable: 'lv'
1639 entries
Compiling: 'lv_list'
Compiling: 'lt_rules'
210 rules, 38 groups (0)
887 entries
Compiling: 'lv_emoji'
1639 entries
[ 40%] Generating espeak-ng-data/mk_dict
Compiling: 'lv_rules'
1523 rules, 62 groups (0)
[ 40%] Generating espeak-ng-data/ml_dict
[ 42%] Generating espeak-ng-data/mr_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/mi_dict'
Using phonemetable: 'mi'
Compiling: 'mi_list'
14 entries
Compiling: 'mi_rules'
27 rules, 18 groups (0)
[ 42%] Generating espeak-ng-data/ms_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/mk_dict'
Using phonemetable: 'mk'
Compiling: 'mk_list'
188 entries
Compiling: 'mk_emoji'
1636 entries
Compiling: 'mk_rules'
96 rules, 34 groups (31)
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/mr_dict'
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/ml_dict'
Using phonemetable: 'mr'
Using phonemetable: 'ml'
Compiling: 'mr_list'
Compiling: 'ml_list'
165 entries
235 entries
Compiling: 'ml_emoji'
Compiling: 'mr_emoji'
1639 entries
1639 entries
Compiling: 'ml_rules'
[ 42%] Generating espeak-ng-data/mto_dict
Compiling: 'mr_rules'
141 rules, 45 groups (42)
298 rules, 87 groups (85)
[ 42%] Generating espeak-ng-data/mt_dict
[ 42%] Generating espeak-ng-data/my_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/ms_dict'
Using phonemetable: 'id'
Compiling: 'ms_list'
703 entries
Compiling: 'ms_emoji'
1639 entries
Compiling: 'ms_rules'
125 rules, 27 groups (0)
[ 42%] Generating espeak-ng-data/nci_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/mto_dict'
Using phonemetable: 'mto'
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/mt_dict'
Using phonemetable: 'mt'
Compiling: 'mto_list'
Compiling: 'mt_list'
185 entries
232 entries
Compiling: 'mto_rules'
56 rules, 23 groups (0)
Compiling: 'mt_rules'
99 rules, 31 groups (0)
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/my_dict'
Using phonemetable: 'my'
Compiling: 'my_list'
11 entries
Compiling: 'my_emoji'
1644 entries
Compiling: 'my_rules'
78 rules, 64 groups (0)
[ 43%] Generating espeak-ng-data/nl_dict
[ 43%] Generating espeak-ng-data/ne_dict
[ 43%] Generating espeak-ng-data/nog_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/nci_dict'
Using phonemetable: 'nci'
Compiling: 'nci_list'
16 entries
Compiling: 'nci_rules'
41 rules, 21 groups (0)
[ 43%] Generating espeak-ng-data/no_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/nog_dict'
Using phonemetable: 'nog'
Compiling: 'nog_list'
37 entries
Compiling: 'nog_rules'
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/ne_dict'
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/nl_dict'
180 rules, 33 groups (0)
Using phonemetable: 'ne'
Using phonemetable: 'nl'
Compiling: 'ne_list'
Compiling: 'nl_list'
193 entries
Compiling: 'ne_emoji'
1768 entries
Compiling: 'nl_emoji'
1639 entries
Compiling: 'ne_rules'
[ 43%] Generating espeak-ng-data/om_dict
1639 entries
Compiling: 'nl_rules'
520 rules, 100 groups (92)
826 rules, 37 groups (0)
[ 45%] Generating espeak-ng-data/pap_dict
[ 45%] Generating espeak-ng-data/or_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/no_dict'
Using phonemetable: 'no'
Compiling: 'no_list'
236 entries
Compiling: 'no_rules'
142 rules, 32 groups (0)
[ 45%] Generating espeak-ng-data/pa_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/om_dict'
Using phonemetable: 'om'
Compiling: 'om_list'
87 entries
Compiling: 'om_rules'
53 rules, 33 groups (0)
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/pap_dict'
Using phonemetable: 'base2'
Compiling: 'pap_list'
[ 45%] Generating espeak-ng-data/piqd_dict
86 entries
Compiling: 'pap_rules'
68 rules, 32 groups (0)
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/or_dict'
Using phonemetable: 'or'
Compiling: 'or_list'
198 entries
Compiling: 'or_emoji'
1634 entries
[ 45%] Generating espeak-ng-data/pl_dict
Compiling: 'or_rules'
197 rules, 67 groups (66)
[ 45%] Generating espeak-ng-data/pt_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/pa_dict'
Using phonemetable: 'pa'
Compiling: 'pa_list'
196 entries
Compiling: 'pa_emoji'
1636 entries
Compiling: 'pa_rules'
283 rules, 68 groups (65)
[ 46%] Generating espeak-ng-data/py_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/piqd_dict'
Using phonemetable: 'piqd'
Compiling: 'piqd_list'
36 entries
Compiling: 'piqd_rules'
35 rules, 23 groups (0)
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/pl_dict'
Using phonemetable: 'pl'
Compiling: 'pl_list'
[ 46%] Generating espeak-ng-data/qdb_dict
2956 entries
Compiling: 'pl_emoji'
1639 entries
Compiling: 'pl_rules'
886 rules, 46 groups (0)
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/pt_dict'
Using phonemetable: 'pt-pt'
Compiling: 'pt_list'
[ 46%] Generating espeak-ng-data/quc_dict
1458 entries
Compiling: 'pt_emoji'
1639 entries
Compiling: 'pt_rules'
1105 rules, 39 groups (0)
[ 46%] Generating espeak-ng-data/qu_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/qu_dict'
Using phonemetable: 'qu'
Compiling: 'qu_list'
76 entries
Compiling: 'qu_rules'
39 rules, 28 groups (0)
[ 46%] Generating espeak-ng-data/qya_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/py_dict'
Using phonemetable: 'py'
Compiling: 'py_list'
106 entries
Compiling: 'py_rules'
31 rules, 28 groups (0)
[ 48%] Generating espeak-ng-data/ro_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/qdb_dict'
Using phonemetable: 'qdb'
Compiling: 'qdb_list'
169 entries
Compiling: 'qdb_rules'
38 rules, 25 groups (0)
[ 48%] Generating espeak-ng-data/ru_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/quc_dict'
Using phonemetable: 'quc'
Compiling: 'quc_list'
10 entries
Compiling: 'quc_emoji'
0 entries
Compiling: 'quc_rules'
35 rules, 27 groups (0)
[ 48%] Generating espeak-ng-data/sd_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/qya_dict'
Using phonemetable: 'qya'
Compiling: 'qya_list'
38 entries
Compiling: 'qya_rules'
70 rules, 38 groups (0)
[ 48%] Generating espeak-ng-data/shn_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/ro_dict'
Using phonemetable: 'ro'
Compiling: 'ro_list'
2167 entries
Compiling: 'ro_emoji'
1639 entries
Compiling: 'ro_rules'
349 rules, 32 groups (0)
[ 48%] Generating espeak-ng-data/si_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/sd_dict'
Using phonemetable: 'sd'
Compiling: 'sd_list'
266 entries
Compiling: 'sd_emoji'
1565 entries
Compiling: 'sd_rules'
372 rules, 73 groups (47)
[ 50%] Generating espeak-ng-data/sjn_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/ru_dict'
Using phonemetable: 'ru'
Compiling: 'ru_listx'
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/shn_dict'
Using phonemetable: 'shn'
Compiling: 'shn_list'
4175 entries
Compiling: 'shn_rules'
229 rules, 53 groups (0)
[ 50%] Generating espeak-ng-data/sk_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/si_dict'
Using phonemetable: 'si'
Compiling: 'si_list'
152 entries
Compiling: 'si_emoji'
1648 entries
Compiling: 'si_rules'
142 rules, 75 groups (73)
[ 50%] Generating espeak-ng-data/sl_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/sjn_dict'
Using phonemetable: 'sjn'
Compiling: 'sjn_list'
21 entries
Compiling: 'sjn_rules'
71 rules, 40 groups (0)
[ 50%] Generating espeak-ng-data/smj_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/sk_dict'
Using phonemetable: 'sk'
Compiling: 'sk_list'
348 entries
Compiling: 'sk_emoji'
1639 entries
Compiling: 'sk_rules'
535 rules, 46 groups (0)
[ 50%] Generating espeak-ng-data/sq_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/sl_dict'
Using phonemetable: 'sl'
Compiling: 'sl_list'
196 entries
Compiling: 'sl_emoji'
1639 entries
Compiling: 'sl_rules'
108 rules, 31 groups (0)
[ 50%] Generating espeak-ng-data/sr_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/smj_dict'
Using phonemetable: 'smj'
Compiling: 'smj_list'
2816 entries
Compiling: 'smj_rules'
136 rules, 34 groups (0)
[ 51%] Generating espeak-ng-data/sv_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/sq_dict'
Using phonemetable: 'sq'
Compiling: 'sq_list'
132 entries
Compiling: 'sq_emoji'
1636 entries
Compiling: 'sq_rules'
100 rules, 29 groups (0)
[ 51%] Generating espeak-ng-data/sw_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/sr_dict'
Using phonemetable: 'sr'
Compiling: 'sr_list'
613 entries
Compiling: 'sr_emoji'
1568 entries
Compiling: 'sr_rules'
112 rules, 34 groups (0)
[ 51%] Generating espeak-ng-data/ta_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/sv_dict'
Using phonemetable: 'sv'
Compiling: 'sv_list'
341 entries
Compiling: 'sv_emoji'
1639 entries
Compiling: 'sv_rules'
697 rules, 30 groups (0)
[ 51%] Generating espeak-ng-data/te_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/sw_dict'
Using phonemetable: 'sw'
Compiling: 'sw_list'
170 entries
Compiling: 'sw_emoji'
1638 entries
Compiling: 'sw_rules'
63 rules, 27 groups (0)
[ 51%] Generating espeak-ng-data/th_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/ta_dict'
Using phonemetable: 'ta'
Compiling: 'ta_list'
551 entries
Compiling: 'ta_emoji'
1639 entries
Compiling: 'ta_rules'
804862 entries
Compiling: 'ru_list'
284 entries
5040 rules, 33 groups (28)
Compiling: 'ru_emoji'
1639 entries
[ 53%] Generating espeak-ng-data/tk_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/te_dict'
Using phonemetable: 'te'
Compiling: 'te_list'
155 entries
Compiling: 'te_emoji'
1639 entries
Compiling: 'te_rules'
112 rules, 56 groups (53)
[ 53%] Generating espeak-ng-data/tn_dict
Compiling: 'ru_rules'
430 rules, 34 groups (33)
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/th_dict'
Using phonemetable: 'th'
Compiling: 'th_list'
10 entries
Compiling: 'th_rules'
139 rules, 64 groups (0)
[ 53%] Generating espeak-ng-data/tr_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/tk_dict'
Using phonemetable: 'tk'
Compiling: 'tk_listx'
868 entries
Compiling: 'tk_list'
62 entries
Compiling: 'tk_rules'
318 rules, 30 groups (0)
[ 53%] Generating espeak-ng-data/tt_dict
[ 53%] Generating espeak-ng-data/ug_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/tn_dict'
Using phonemetable: 'tn'
Compiling: 'tn_list'
110 entries
Compiling: 'tn_rules'
82 rules, 27 groups (0)
[ 54%] Generating espeak-ng-data/uk_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/tr_dict'
Using phonemetable: 'tr'
Compiling: 'tr_listx'
147 entries
Compiling: 'tr_list'
175 entries
Compiling: 'tr_emoji'
1639 entries
Compiling: 'tr_rules'
215 rules, 37 groups (0)
[ 54%] Generating espeak-ng-data/ur_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/ug_dict'
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/tt_dict'
Using phonemetable: 'ug'
Using phonemetable: 'tt'
Compiling: 'ug_list'
37 entries
Compiling: 'tt_list'
74 entries
Compiling: 'ug_rules'
81 rules, 61 groups (0)
Compiling: 'tt_rules'
49 rules, 40 groups (34)
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/uk_dict'
Using phonemetable: 'uk'
Compiling: 'uk_list'
167 entries
Compiling: 'uk_rules'
47 rules, 34 groups (33)
[ 54%] Generating espeak-ng-data/vi_dict
[ 54%] Generating espeak-ng-data/uz_dict
[ 54%] Generating espeak-ng-data/yue_dict
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/ur_dict'
Using phonemetable: 'ur'
Compiling: 'ur_list'
3028 entries
Compiling: 'ur_emoji'
1639 entries
Compiling: 'ur_rules'
1488 rules, 62 groups (44)
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/uz_dict'
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/vi_dict'
Using phonemetable: 'uz'
Using phonemetable: 'vi'
Compiling: 'uz_list'
Compiling: 'vi_list'
122 entries
135 entries
Compiling: 'uz_rules'
Compiling: 'vi_emoji'
35 rules, 26 groups (0)
1639 entries
Compiling: 'vi_rules'
592 rules, 97 groups (0)
Can't read dictionary file: '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build/espeak-ng-data/yue_dict'
Using phonemetable: 'yue'
Compiling: 'yue_list'
3822 entries
Compiling: 'yue_listx'
33813 entries
Compiling: 'yue_emoji'
1635 entries
Compiling: 'yue_rules'
79 rules, 27 groups (0)
[ 54%] Built target data
Scanning dependencies of target test_ieee80
Scanning dependencies of target test_readclause
Scanning dependencies of target test_api
Scanning dependencies of target test_encoding
[ 54%] Building C object _deps/espeak_ng-build/tests/CMakeFiles/test_encoding.dir/encoding.c.o
[ 54%] Building C object _deps/espeak_ng-build/tests/CMakeFiles/test_ieee80.dir/ieee80.c.o
[ 54%] Building C object _deps/espeak_ng-build/tests/CMakeFiles/test_api.dir/api.c.o
[ 56%] Building C object _deps/espeak_ng-build/tests/CMakeFiles/test_readclause.dir/readclause.c.o
[ 56%] Linking CXX static library ../../lib/libpiper_phonemize.a
[ 56%] Linking C executable ../../../bin/test_ieee80
[ 56%] Built target piper_phonemize
[ 56%] Built target test_ieee80
[ 56%] Linking C executable ../../../bin/test_readclause
[ 56%] Built target test_readclause
[ 56%] Linking C executable ../../../bin/test_api
[ 56%] Built target test_api
[ 57%] Linking C executable ../../../bin/test_encoding
[ 57%] Built target test_encoding
[ 57%] Linking CXX static library ../../../../lib/libsherpa-onnx-fst.a
[ 57%] Built target fst
Scanning dependencies of target kaldifst_core
[ 59%] Building CXX object _deps/kaldifst-build/kaldifst/csrc/CMakeFiles/kaldifst_core.dir/kaldi-fst-io.cc.o
[ 59%] Building CXX object _deps/kaldifst-build/kaldifst/csrc/CMakeFiles/kaldifst_core.dir/kaldi-holder.cc.o
[ 59%] Building CXX object _deps/kaldifst-build/kaldifst/csrc/CMakeFiles/kaldifst_core.dir/context-fst.cc.o
[ 60%] Building CXX object _deps/kaldifst-build/kaldifst/csrc/CMakeFiles/kaldifst_core.dir/kaldi-math.cc.o
[ 59%] Building CXX object _deps/kaldifst-build/kaldifst/csrc/CMakeFiles/kaldifst_core.dir/kaldi-io.cc.o
[ 60%] Building CXX object _deps/kaldifst-build/kaldifst/csrc/CMakeFiles/kaldifst_core.dir/kaldi-semaphore.cc.o
[ 60%] Building CXX object _deps/kaldifst-build/kaldifst/csrc/CMakeFiles/kaldifst_core.dir/kaldi-table.cc.o
[ 60%] Building CXX object _deps/kaldifst-build/kaldifst/csrc/CMakeFiles/kaldifst_core.dir/parse-options.cc.o
[ 60%] Building CXX object _deps/kaldifst-build/kaldifst/csrc/CMakeFiles/kaldifst_core.dir/text-normalizer.cc.o
[ 60%] Building CXX object _deps/kaldifst-build/kaldifst/csrc/CMakeFiles/kaldifst_core.dir/text-utils.cc.o
[ 60%] Linking CXX static library ../../../../lib/libsherpa-onnx-kaldifst-core.a
[ 60%] Built target kaldifst_core
Scanning dependencies of target kaldi-decoder-core
[ 60%] Building CXX object _deps/kaldi_decoder-build/kaldi-decoder/csrc/CMakeFiles/kaldi-decoder-core.dir/decodable-ctc.cc.o
[ 60%] Building CXX object _deps/kaldi_decoder-build/kaldi-decoder/csrc/CMakeFiles/kaldi-decoder-core.dir/eigen.cc.o
[ 62%] Building CXX object _deps/kaldi_decoder-build/kaldi-decoder/csrc/CMakeFiles/kaldi-decoder-core.dir/faster-decoder.cc.o
[ 62%] Linking CXX static library ../../../../lib/libkaldi-decoder-core.a
[ 62%] Built target kaldi-decoder-core
Scanning dependencies of target sherpa-onnx-core
[ 62%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/base64-decode.cc.o
[ 62%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/circular-buffer.cc.o
[ 62%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/cat.cc.o
[ 62%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/context-graph.cc.o
[ 64%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/features.cc.o
[ 64%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/endpoint.cc.o
[ 64%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/file-utils.cc.o
[ 64%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/hypothesis.cc.o
[ 64%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-ctc-fst-decoder-config.cc.o
[ 65%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-ctc-fst-decoder.cc.o
[ 65%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-ctc-greedy-search-decoder.cc.o
[ 65%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-ctc-model.cc.o
[ 65%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-lm-config.cc.o
[ 65%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-lm.cc.o
[ 65%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-model-config.cc.o
[ 67%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-nemo-enc-dec-ctc-model-config.cc.o
[ 67%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-nemo-enc-dec-ctc-model.cc.o
[ 67%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-paraformer-greedy-search-decoder.cc.o
[ 67%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-paraformer-model-config.cc.o
[ 67%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-paraformer-model.cc.o
[ 68%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-recognizer-impl.cc.o
[ 68%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-recognizer.cc.o
[ 68%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-rnn-lm.cc.o
[ 68%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-stream.cc.o
[ 68%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-tdnn-ctc-model.cc.o
[ 68%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-tdnn-model-config.cc.o
[ 70%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-transducer-greedy-search-decoder.cc.o
[ 70%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-transducer-model-config.cc.o
[ 70%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-transducer-model.cc.o
[ 70%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-transducer-modified-beam-search-decoder.cc.o
[ 70%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-wenet-ctc-model-config.cc.o
[ 71%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-wenet-ctc-model.cc.o
[ 71%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-whisper-greedy-search-decoder.cc.o
[ 71%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-whisper-model-config.cc.o
[ 71%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-whisper-model.cc.o
[ 71%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-zipformer-ctc-model-config.cc.o
[ 73%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-zipformer-ctc-model.cc.o
[ 73%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-conformer-transducer-model.cc.o
[ 73%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-ctc-greedy-search-decoder.cc.o
[ 73%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-ctc-model.cc.o
[ 73%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-lm-config.cc.o
[ 73%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-lm.cc.o
[ 75%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-lstm-transducer-model.cc.o
[ 75%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-model-config.cc.o
[ 75%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-paraformer-model-config.cc.o
[ 75%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-paraformer-model.cc.o
[ 75%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-recognizer-impl.cc.o
[ 76%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-recognizer.cc.o
[ 76%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-rnn-lm.cc.o
[ 76%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-stream.cc.o
[ 76%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-transducer-decoder.cc.o
[ 76%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-transducer-greedy-search-decoder.cc.o
[ 78%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-transducer-model-config.cc.o
[ 78%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-transducer-model.cc.o
[ 78%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-transducer-modified-beam-search-decoder.cc.o
[ 78%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-wenet-ctc-model-config.cc.o
[ 78%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-wenet-ctc-model.cc.o
[ 78%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-zipformer-transducer-model.cc.o
[ 79%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-zipformer2-transducer-model.cc.o
[ 79%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/onnx-utils.cc.o
[ 79%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/packed-sequence.cc.o
[ 79%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/pad-sequence.cc.o
[ 79%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/parse-options.cc.o
[ 81%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/piper-phonemize-lexicon.cc.o
[ 81%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/provider.cc.o
[ 81%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/resample.cc.o
[ 81%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/session.cc.o
[ 81%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/silero-vad-model-config.cc.o
[ 81%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/silero-vad-model.cc.o
[ 82%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/slice.cc.o
[ 82%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/stack.cc.o
[ 82%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/symbol-table.cc.o
[ 82%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/text-utils.cc.o
[ 82%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/transpose.cc.o
[ 84%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/unbind.cc.o
[ 84%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/utils.cc.o
[ 84%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/vad-model-config.cc.o
[ 84%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/vad-model.cc.o
[ 84%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/voice-activity-detector.cc.o
[ 85%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/wave-reader.cc.o
[ 85%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/lexicon.cc.o
[ 85%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-tts-impl.cc.o
[ 85%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-tts-model-config.cc.o
[ 85%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-tts-vits-model-config.cc.o
[ 85%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-tts-vits-model.cc.o
[ 87%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-tts.cc.o
[ 87%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/wave-writer.cc.o
[ 87%] Linking CXX static library ../../lib/libsherpa-onnx-core.a
[ 87%] Built target sherpa-onnx-core
Scanning dependencies of target sherpa-onnx-offline-websocket-server
Scanning dependencies of target sherpa-onnx-offline
Scanning dependencies of target sherpa-onnx-offline-parallel
Scanning dependencies of target sherpa-onnx-offline-tts
Scanning dependencies of target sherpa-onnx
Scanning dependencies of target sherpa-onnx-online-websocket-server
[ 87%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-offline-tts.dir/sherpa-onnx-offline-tts.cc.o
[ 87%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-offline.dir/sherpa-onnx-offline.cc.o
[ 87%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-offline-parallel.dir/sherpa-onnx-offline-parallel.cc.o
[ 87%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx.dir/sherpa-onnx.cc.o
[ 87%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-offline-websocket-server.dir/offline-websocket-server-impl.cc.o
[ 87%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-online-websocket-server.dir/online-websocket-server-impl.cc.o
[ 87%] Linking CXX executable ../../bin/sherpa-onnx-offline-tts
[ 89%] Linking CXX executable ../../bin/sherpa-onnx-offline
[ 89%] Linking CXX executable ../../bin/sherpa-onnx-offline-parallel
[ 89%] Linking CXX executable ../../bin/sherpa-onnx
../../_deps/onnxruntime-src/lib/libonnxruntime.a(implementation.cc.o): In function `std::_Rb_tree<int, std::pair<int const, std::shared_ptr<onnx::FunctionProto> >, std::_Select1st<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > >, std::less<int>, std::allocator<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > > >::_M_erase(std::_Rb_tree_node<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > >*) [clone .isra.0]':
implementation.cc:(.text._ZNSt8_Rb_treeIiSt4pairIKiSt10shared_ptrIN4onnx13FunctionProtoEEESt10_Select1stIS6_ESt4lessIiESaIS6_EE8_M_eraseEPSt13_Rb_tree_nodeIS6_E.isra.0+0x33): undefined reference to `__libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(schema.cc.o): In function `std::_Rb_tree<int, std::pair<int const, std::shared_ptr<onnx::FunctionProto> >, std::_Select1st<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > >, std::less<int>, std::allocator<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > > >::_M_erase(std::_Rb_tree_node<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > >*) [clone .isra.0]':
schema.cc:(.text._ZNSt8_Rb_treeIiSt4pairIKiSt10shared_ptrIN4onnx13FunctionProtoEEESt10_Select1stIS6_ESt4lessIiESaIS6_EE8_M_eraseEPSt13_Rb_tree_nodeIS6_E.isra.0[_ZN4onnx8OpSchemaD5Ev]+0x33): undefined reference to `__libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(schema.cc.o): In function `onnx::OpSchema::SinceVersion(int)':
schema.cc:(.text._ZN4onnx8OpSchema12SinceVersionEi+0x36a): undefined reference to `__libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(schema.cc.o): In function `onnx::OpSchema::FunctionBody(char const*, int)':
schema.cc:(.text._ZN4onnx8OpSchema12FunctionBodyEPKci+0x161): undefined reference to `__libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(schema.cc.o): In function `onnx::OpSchema::FunctionBody(std::vector<onnx::NodeProto, std::allocator<onnx::NodeProto> > const&, int)':
schema.cc:(.text._ZN4onnx8OpSchema12FunctionBodyERKSt6vectorINS_9NodeProtoESaIS2_EEi+0x113): undefined reference to `__libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(schema.cc.o):schema.cc:(.text._ZN4onnx8OpSchema12FunctionBodyERKSt6vectorINS_9NodeProtoESaIS2_EERKS1_INS_18OperatorSetIdProtoESaIS7_EEi+0x193): more undefined references to `__libc_single_threaded' follow
../../_deps/onnxruntime-src/lib/libonnxruntime.a(implementation.cc.o): In function `std::_Rb_tree<int, std::pair<int const, std::shared_ptr<onnx::FunctionProto> >, std::_Select1st<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > >, std::less<int>, std::allocator<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > > >::_M_erase(std::_Rb_tree_node<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > >*) [clone .isra.0]':
implementation.cc:(.text._ZNSt8_Rb_treeIiSt4pairIKiSt10shared_ptrIN4onnx13FunctionProtoEEESt10_Select1stIS6_ESt4lessIiESaIS6_EE8_M_eraseEPSt13_Rb_tree_nodeIS6_E.isra.0+0x33): undefined reference to `__libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(schema.cc.o): In function `std::_Rb_tree<int, std::pair<int const, std::shared_ptr<onnx::FunctionProto> >, std::_Select1st<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > >, std::less<int>, std::allocator<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > > >::_M_erase(std::_Rb_tree_node<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > >*) [clone .isra.0]':
schema.cc:(.text._ZNSt8_Rb_treeIiSt4pairIKiSt10shared_ptrIN4onnx13FunctionProtoEEESt10_Select1stIS6_ESt4lessIiESaIS6_EE8_M_eraseEPSt13_Rb_tree_nodeIS6_E.isra.0[_ZN4onnx8OpSchemaD5Ev]+0x33): undefined reference to `__libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(schema.cc.o): In function `onnx::OpSchema::SinceVersion(int)':
schema.cc:(.text._ZN4onnx8OpSchema12SinceVersionEi+0x36a): undefined reference to `__libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(schema.cc.o): In function `onnx::OpSchema::FunctionBody(char const*, int)':
schema.cc:(.text._ZN4onnx8OpSchema12FunctionBodyEPKci+0x161): undefined reference to `__libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(schema.cc.o): In function `onnx::OpSchema::FunctionBody(std::vector<onnx::NodeProto, std::allocator<onnx::NodeProto> > const&, int)':
schema.cc:(.text._ZN4onnx8OpSchema12FunctionBodyERKSt6vectorINS_9NodeProtoESaIS2_EEi+0x113): undefined reference to `__libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(schema.cc.o):schema.cc:(.text._ZN4onnx8OpSchema12FunctionBodyERKSt6vectorINS_9NodeProtoESaIS2_EERKS1_INS_18OperatorSetIdProtoESaIS7_EEi+0x193): more undefined references to `__libc_single_threaded' follow
../../_deps/onnxruntime-src/lib/libonnxruntime.a(implementation.cc.o): In function `std::_Rb_tree<int, std::pair<int const, std::shared_ptr<onnx::FunctionProto> >, std::_Select1st<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > >, std::less<int>, std::allocator<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > > >::_M_erase(std::_Rb_tree_node<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > >*) [clone .isra.0]':
implementation.cc:(.text._ZNSt8_Rb_treeIiSt4pairIKiSt10shared_ptrIN4onnx13FunctionProtoEEESt10_Select1stIS6_ESt4lessIiESaIS6_EE8_M_eraseEPSt13_Rb_tree_nodeIS6_E.isra.0+0x33): undefined reference to `__libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(schema.cc.o): In function `std::_Rb_tree<int, std::pair<int const, std::shared_ptr<onnx::FunctionProto> >, std::_Select1st<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > >, std::less<int>, std::allocator<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > > >::_M_erase(std::_Rb_tree_node<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > >*) [clone .isra.0]':
schema.cc:(.text._ZNSt8_Rb_treeIiSt4pairIKiSt10shared_ptrIN4onnx13FunctionProtoEEESt10_Select1stIS6_ESt4lessIiESaIS6_EE8_M_eraseEPSt13_Rb_tree_nodeIS6_E.isra.0[_ZN4onnx8OpSchemaD5Ev]+0x33): undefined reference to `__libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(schema.cc.o): In function `onnx::OpSchema::SinceVersion(int)':
schema.cc:(.text._ZN4onnx8OpSchema12SinceVersionEi+0x36a): undefined reference to `__libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(schema.cc.o): In function `onnx::OpSchema::FunctionBody(char const*, int)':
schema.cc:(.text._ZN4onnx8OpSchema12FunctionBodyEPKci+0x161): undefined reference to `__libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(schema.cc.o): In function `onnx::OpSchema::FunctionBody(std::vector<onnx::NodeProto, std::allocator<onnx::NodeProto> > const&, int)':
schema.cc:(.text._ZN4onnx8OpSchema12FunctionBodyERKSt6vectorINS_9NodeProtoESaIS2_EEi+0x113): undefined reference to `__libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(schema.cc.o):schema.cc:(.text._ZN4onnx8OpSchema12FunctionBodyERKSt6vectorINS_9NodeProtoESaIS2_EERKS1_INS_18OperatorSetIdProtoESaIS7_EEi+0x193): more undefined references to `__libc_single_threaded' follow
collect2: error: ld returned 1 exit status
make[2]: *** [sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-offline.dir/build.make:112: bin/sherpa-onnx-offline] Error 1
make[1]: *** [CMakeFiles/Makefile2:2534: sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-offline.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
collect2: error: ld returned 1 exit status
make[2]: *** [sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-offline-tts.dir/build.make:112: bin/sherpa-onnx-offline-tts] Error 1
[ 90%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-online-websocket-server.dir/online-websocket-server.cc.o
make[1]: *** [CMakeFiles/Makefile2:2601: sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-offline-tts.dir/all] Error 2
[ 92%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-offline-websocket-server.dir/offline-websocket-server.cc.o
../../_deps/onnxruntime-src/lib/libonnxruntime.a(onnxruntime_c_api.cc.o): In function `OrtApis::ReleasePrepackedWeightsContainer(OrtPrepackedWeightsContainer*)':
onnxruntime_c_api.cc:(.text._ZN7OrtApis32ReleasePrepackedWeightsContainerEP28OrtPrepackedWeightsContainer+0x253): undefined reference to `__libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(onnxruntime_c_api.cc.o): In function `std::unique_ptr<OrtValue, std::default_delete<OrtValue> >& absl::lts_20220623::inlined_vector_internal::Storage<std::unique_ptr<OrtValue, std::default_delete<OrtValue> >, 6ul, std::allocator<std::unique_ptr<OrtValue, std::default_delete<OrtValue> > > >::EmplaceBackSlow<std::unique_ptr<OrtValue, std::default_delete<OrtValue> > >(std::unique_ptr<OrtValue, std::default_delete<OrtValue> >&&) [clone .isra.0]':
onnxruntime_c_api.cc:(.text._ZN4absl12lts_2022062323inlined_vector_internal7StorageISt10unique_ptrI8OrtValueSt14default_deleteIS4_EELm6ESaIS7_EE15EmplaceBackSlowIJS7_EEERS7_DpOT_.isra.0+0xc8): undefined reference to `__libc_single_threaded'
onnxruntime_c_api.cc:(.text._ZN4absl12lts_2022062323inlined_vector_internal7StorageISt10unique_ptrI8OrtValueSt14default_deleteIS4_EELm6ESaIS7_EE15EmplaceBackSlowIJS7_EEERS7_DpOT_.isra.0+0x13c): undefined reference to `__libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(onnxruntime_c_api.cc.o): In function `OrtApis::ReleaseValue(OrtValue*)':
onnxruntime_c_api.cc:(.text._ZN7OrtApis12ReleaseValueEP8OrtValue+0x1c): undefined reference to `__libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(onnxruntime_c_api.cc.o): In function `std::default_delete<OrtValue>::operator()(OrtValue*) const [clone .constprop.0]':
onnxruntime_c_api.cc:(.text._ZNKSt14default_deleteI8OrtValueEclEPS0_.constprop.0+0x18): undefined reference to `__libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(onnxruntime_c_api.cc.o):onnxruntime_c_api.cc:(.text._ZN7OrtApis16ReleaseIoBindingEP12OrtIoBinding+0x75): more undefined references to `__libc_single_threaded' follow
collect2: error: ld returned 1 exit status
make[2]: *** [sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-offline-parallel.dir/build.make:112: bin/sherpa-onnx-offline-parallel] Error 1
make[1]: *** [CMakeFiles/Makefile2:2466: sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-offline-parallel.dir/all] Error 2
collect2: error: ld returned 1 exit status
make[2]: *** [sherpa-onnx/csrc/CMakeFiles/sherpa-onnx.dir/build.make:112: bin/sherpa-onnx] Error 1
make[1]: *** [CMakeFiles/Makefile2:2635: sherpa-onnx/csrc/CMakeFiles/sherpa-onnx.dir/all] Error 2
[ 92%] Linking CXX executable ../../bin/sherpa-onnx-online-websocket-server
../../_deps/onnxruntime-src/lib/libonnxruntime.a(old.cc.o): In function `std::_Rb_tree<int, std::pair<int const, std::shared_ptr<onnx::FunctionProto> >, std::_Select1st<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > >, std::less<int>, std::allocator<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > > >::_M_erase(std::_Rb_tree_node<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > >*) [clone .isra.0]':
old.cc:(.text._ZNSt8_Rb_treeIiSt4pairIKiSt10shared_ptrIN4onnx13FunctionProtoEEESt10_Select1stIS6_ESt4lessIiESaIS6_EE8_M_eraseEPSt13_Rb_tree_nodeIS6_E.isra.0+0x33): undefined reference to `__libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(old.cc.o): In function `std::_Rb_tree_node<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > >* std::_Rb_tree<int, std::pair<int const, std::shared_ptr<onnx::FunctionProto> >, std::_Select1st<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > >, std::less<int>, std::allocator<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > > >::_M_copy<false, std::_Rb_tree<int, std::pair<int const, std::shared_ptr<onnx::FunctionProto> >, std::_Select1st<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > >, std::less<int>, std::allocator<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > > >::_Alloc_node>(std::_Rb_tree_node<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > >*, std::_Rb_tree_node_base*, std::_Rb_tree<int, std::pair<int const, std::shared_ptr<onnx::FunctionProto> >, std::_Select1st<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > >, std::less<int>, std::allocator<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > > >::_Alloc_node&) [clone .isra.0]':
old.cc:(.text._ZNSt8_Rb_treeIiSt4pairIKiSt10shared_ptrIN4onnx13FunctionProtoEEESt10_Select1stIS6_ESt4lessIiESaIS6_EE7_M_copyILb0ENSC_11_Alloc_nodeEEEPSt13_Rb_tree_nodeIS6_ESH_PSt18_Rb_tree_node_baseRT0_.isra.0[_ZN4onnx8OpSchemaC5ERKS0_]+0x3c): undefined reference to `__libc_single_threaded'
old.cc:(.text._ZNSt8_Rb_treeIiSt4pairIKiSt10shared_ptrIN4onnx13FunctionProtoEEESt10_Select1stIS6_ESt4lessIiESaIS6_EE7_M_copyILb0ENSC_11_Alloc_nodeEEEPSt13_Rb_tree_nodeIS6_ESH_PSt18_Rb_tree_node_baseRT0_.isra.0[_ZN4onnx8OpSchemaC5ERKS0_]+0xb7): undefined reference to `__libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(schema.cc.o): In function `onnx::OpSchema::SinceVersion(int)':
schema.cc:(.text._ZN4onnx8OpSchema12SinceVersionEi+0x36a): undefined reference to `__libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(schema.cc.o): In function `onnx::OpSchema::FunctionBody(char const*, int)':
schema.cc:(.text._ZN4onnx8OpSchema12FunctionBodyEPKci+0x161): undefined reference to `__libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(schema.cc.o):schema.cc:(.text._ZN4onnx8OpSchema12FunctionBodyERKSt6vectorINS_9NodeProtoESaIS2_EEi+0x113): more undefined references to `__libc_single_threaded' follow
collect2: error: ld returned 1 exit status
make[2]: *** [sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-online-websocket-server.dir/build.make:127: bin/sherpa-onnx-online-websocket-server] Error 1
make[1]: *** [CMakeFiles/Makefile2:2500: sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-online-websocket-server.dir/all] Error 2
[ 92%] Linking CXX executable ../../bin/sherpa-onnx-offline-websocket-server
../../_deps/onnxruntime-src/lib/libonnxruntime.a(implementation.cc.o): In function `std::_Rb_tree<int, std::pair<int const, std::shared_ptr<onnx::FunctionProto> >, std::_Select1st<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > >, std::less<int>, std::allocator<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > > >::_M_erase(std::_Rb_tree_node<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > >*) [clone .isra.0]':
implementation.cc:(.text._ZNSt8_Rb_treeIiSt4pairIKiSt10shared_ptrIN4onnx13FunctionProtoEEESt10_Select1stIS6_ESt4lessIiESaIS6_EE8_M_eraseEPSt13_Rb_tree_nodeIS6_E.isra.0+0x33): undefined reference to `__libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(old.cc.o): In function `std::_Rb_tree<int, std::pair<int const, std::shared_ptr<onnx::FunctionProto> >, std::_Select1st<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > >, std::less<int>, std::allocator<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > > >::_M_erase(std::_Rb_tree_node<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > >*) [clone .isra.0]':
old.cc:(.text._ZNSt8_Rb_treeIiSt4pairIKiSt10shared_ptrIN4onnx13FunctionProtoEEESt10_Select1stIS6_ESt4lessIiESaIS6_EE8_M_eraseEPSt13_Rb_tree_nodeIS6_E.isra.0+0x33): undefined reference to `__libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(old.cc.o): In function `std::_Rb_tree_node<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > >* std::_Rb_tree<int, std::pair<int const, std::shared_ptr<onnx::FunctionProto> >, std::_Select1st<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > >, std::less<int>, std::allocator<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > > >::_M_copy<false, std::_Rb_tree<int, std::pair<int const, std::shared_ptr<onnx::FunctionProto> >, std::_Select1st<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > >, std::less<int>, std::allocator<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > > >::_Alloc_node>(std::_Rb_tree_node<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > >*, std::_Rb_tree_node_base*, std::_Rb_tree<int, std::pair<int const, std::shared_ptr<onnx::FunctionProto> >, std::_Select1st<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > >, std::less<int>, std::allocator<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > > >::_Alloc_node&) [clone .isra.0]':
old.cc:(.text._ZNSt8_Rb_treeIiSt4pairIKiSt10shared_ptrIN4onnx13FunctionProtoEEESt10_Select1stIS6_ESt4lessIiESaIS6_EE7_M_copyILb0ENSC_11_Alloc_nodeEEEPSt13_Rb_tree_nodeIS6_ESH_PSt18_Rb_tree_node_baseRT0_.isra.0[_ZN4onnx8OpSchemaC5ERKS0_]+0x3c): undefined reference to `__libc_single_threaded'
old.cc:(.text._ZNSt8_Rb_treeIiSt4pairIKiSt10shared_ptrIN4onnx13FunctionProtoEEESt10_Select1stIS6_ESt4lessIiESaIS6_EE7_M_copyILb0ENSC_11_Alloc_nodeEEEPSt13_Rb_tree_nodeIS6_ESH_PSt18_Rb_tree_node_baseRT0_.isra.0[_ZN4onnx8OpSchemaC5ERKS0_]+0xb7): undefined reference to `__libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(schema.cc.o): In function `onnx::OpSchema::SinceVersion(int)':
schema.cc:(.text._ZN4onnx8OpSchema12SinceVersionEi+0x36a): undefined reference to `__libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(schema.cc.o):schema.cc:(.text._ZN4onnx8OpSchema12FunctionBodyEPKci+0x161): more undefined references to `__libc_single_threaded' follow
collect2: error: ld returned 1 exit status
make[2]: *** [sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-offline-websocket-server.dir/build.make:127: bin/sherpa-onnx-offline-websocket-server] Error 1
make[1]: *** [CMakeFiles/Makefile2:2432: sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-offline-websocket-server.dir/all] Error 2
make: *** [Makefile:171: all] Error 2
-- The C compiler identification is GNU 8.5.0 -- The CXX compiler identification is GNU 8.5.0
try update to gcc 12.0.0
I have update to gcc 12.0.0 follow the suggestion from @csukuangfj . But the installation process is still unsuccessful.
Are you using the latest master?
Are you using the latest master?
yes, I git clone it just now.
Could you remove the build directory after setting the environment variables and re-try?
If it throws errors again, please run
make VERBOSE=1
and post the detailed output.
Also, please make sure the cmake logs show that you are indeed using GCC 12.0.0.
cmake -DCMAKE_BUILD_TYPE=Release ..
yes, I post it here:
cmake -DCMAKE_BUILD_TYPE=Release ..
-- The C compiler identification is GNU 11.2.0
-- The CXX compiler identification is GNU 11.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /cm/local/apps/gcc/11.2.0/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /cm/local/apps/gcc/11.2.0/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- CMAKE_BUILD_TYPE: Release
-- CMAKE_INSTALL_PREFIX: /usr/local
-- BUILD_SHARED_LIBS OFF
-- SHERPA_ONNX_ENABLE_PYTHON OFF
-- SHERPA_ONNX_ENABLE_TESTS OFF
-- SHERPA_ONNX_ENABLE_CHECK OFF
-- SHERPA_ONNX_ENABLE_PORTAUDIO ON
-- SHERPA_ONNX_ENABLE_JNI OFF
-- SHERPA_ONNX_ENABLE_C_API ON
-- SHERPA_ONNX_ENABLE_WEBSOCKET ON
-- SHERPA_ONNX_ENABLE_GPU OFF
-- C++ Standard version: 14
-- Looking for C++ include alsa/asoundlib.h
-- Looking for C++ include alsa/asoundlib.h - not found
-- Looking for C++ include cxxabi.h
-- Looking for C++ include cxxabi.h - found
-- Looking for C++ include execinfo.h
-- Looking for C++ include execinfo.h - found
-- Link libstdc++ statically
-- Downloading kaldi-native-fbank from https://github.com/csukuangfj/kaldi-native-fbank/archive/refs/tags/v1.18.5.tar.gz
-- kaldi-native-fbank is downloaded to /mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/kaldi_native_fbank-src
-- kaldi-native-fbank's binary dir is /mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/kaldi_native_fbank-build
-- CMAKE_BUILD_TYPE: Release
-- CMAKE_EXPORT_COMPILE_COMMANDS:
-- BUILD_SHARED_LIBS: OFF
-- KALDI_NATIVE_FBANK_BUILD_TESTS: OFF
-- KALDI_NATIVE_FBANK_BUILD_PYTHON: OFF
-- KALDI_NATIVE_FBANK_ENABLE_CHECK: OFF
-- KALDI_NATIVE_FBANK_ENABLE_CHECK: OFF
-- CMAKE_CXX_FLAGS: -static-libstdc++ -static-libgcc
-- CMAKE_INSTALL_PREFIX: /usr/local
-- Looking for C++ include cxxabi.h
-- Looking for C++ include cxxabi.h - found
-- Looking for C++ include execinfo.h
-- Looking for C++ include execinfo.h - found
-- Disable building Python
-- Downloading kaldi-decoder from https://github.com/k2-fsa/kaldi-decoder/archive/refs/tags/v0.2.3.tar.gz
-- kaldi-decoder is downloaded to /mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/kaldi_decoder-src
-- kaldi-decoder's binary dir is /mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/kaldi_decoder-build
-- CMAKE_BUILD_TYPE: Release
-- Downloading kaldifst from https://github.com/k2-fsa/kaldifst/archive/refs/tags/v1.7.9.tar.gz
-- kaldifst is downloaded to /mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/kaldifst-src
-- kaldifst's binary dir is /mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/kaldifst-build
-- CMAKE_BUILD_TYPE: Release
-- CMAKE_BUILD_TYPE: Release
-- CMAKE_INSTALL_PREFIX: /usr/local
-- BUILD_SHARED_LIBS OFF
-- C++ Standard version: 14
-- CMAKE_CXX_FLAGS: -static-libstdc++ -static-libgcc
-- Downloading openfst from https://github.com/kkm000/openfst/archive/refs/tags/win/1.6.5.1.tar.gz
-- openfst is downloaded to /mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/openfst-src
-- Found the following ICU libraries:
-- data (required)
-- i18n (required)
-- io (required)
-- test (required)
-- tu (required)
-- uc (required)
-- Found ICU: /usr/include (found version "60.3")
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11")
-- Downloading eigen from https://gitlab.com/libeigen/eigen/-/archive/3.4.0/eigen-3.4.0.tar.gz
-- eigen is downloaded to /mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/eigen-src
-- eigen's binary dir is /mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/eigen-build
-- Performing Test EIGEN_COMPILER_SUPPORT_CPP11
-- Performing Test EIGEN_COMPILER_SUPPORT_CPP11 - Success
-- Performing Test COMPILER_SUPPORT_std=cpp03
-- Performing Test COMPILER_SUPPORT_std=cpp03 - Success
-- Performing Test standard_math_library_linked_to_automatically
-- Performing Test standard_math_library_linked_to_automatically - Success
-- Standard libraries to link to explicitly: none
-- Performing Test COMPILER_SUPPORT_WERROR
-- Performing Test COMPILER_SUPPORT_WERROR - Success
-- Performing Test COMPILER_SUPPORT_pedantic
-- Performing Test COMPILER_SUPPORT_pedantic - Success
-- Performing Test COMPILER_SUPPORT_Wall
-- Performing Test COMPILER_SUPPORT_Wall - Success
-- Performing Test COMPILER_SUPPORT_Wextra
-- Performing Test COMPILER_SUPPORT_Wextra - Success
-- Performing Test COMPILER_SUPPORT_Wundef
-- Performing Test COMPILER_SUPPORT_Wundef - Success
-- Performing Test COMPILER_SUPPORT_Wcastalign
-- Performing Test COMPILER_SUPPORT_Wcastalign - Success
-- Performing Test COMPILER_SUPPORT_Wcharsubscripts
-- Performing Test COMPILER_SUPPORT_Wcharsubscripts - Success
-- Performing Test COMPILER_SUPPORT_Wnonvirtualdtor
-- Performing Test COMPILER_SUPPORT_Wnonvirtualdtor - Success
-- Performing Test COMPILER_SUPPORT_Wunusedlocaltypedefs
-- Performing Test COMPILER_SUPPORT_Wunusedlocaltypedefs - Success
-- Performing Test COMPILER_SUPPORT_Wpointerarith
-- Performing Test COMPILER_SUPPORT_Wpointerarith - Success
-- Performing Test COMPILER_SUPPORT_Wwritestrings
-- Performing Test COMPILER_SUPPORT_Wwritestrings - Success
-- Performing Test COMPILER_SUPPORT_Wformatsecurity
-- Performing Test COMPILER_SUPPORT_Wformatsecurity - Success
-- Performing Test COMPILER_SUPPORT_Wshorten64to32
-- Performing Test COMPILER_SUPPORT_Wshorten64to32 - Failed
-- Performing Test COMPILER_SUPPORT_Wlogicalop
-- Performing Test COMPILER_SUPPORT_Wlogicalop - Success
-- Performing Test COMPILER_SUPPORT_Wenumconversion
-- Performing Test COMPILER_SUPPORT_Wenumconversion - Success
-- Performing Test COMPILER_SUPPORT_Wcpp11extensions
-- Performing Test COMPILER_SUPPORT_Wcpp11extensions - Failed
-- Performing Test COMPILER_SUPPORT_Wdoublepromotion
-- Performing Test COMPILER_SUPPORT_Wdoublepromotion - Success
-- Performing Test COMPILER_SUPPORT_Wshadow
-- Performing Test COMPILER_SUPPORT_Wshadow - Success
-- Performing Test COMPILER_SUPPORT_Wnopsabi
-- Performing Test COMPILER_SUPPORT_Wnopsabi - Success
-- Performing Test COMPILER_SUPPORT_Wnovariadicmacros
-- Performing Test COMPILER_SUPPORT_Wnovariadicmacros - Success
-- Performing Test COMPILER_SUPPORT_Wnolonglong
-- Performing Test COMPILER_SUPPORT_Wnolonglong - Success
-- Performing Test COMPILER_SUPPORT_fnochecknew
-- Performing Test COMPILER_SUPPORT_fnochecknew - Success
-- Performing Test COMPILER_SUPPORT_fnocommon
-- Performing Test COMPILER_SUPPORT_fnocommon - Success
-- Performing Test COMPILER_SUPPORT_fstrictaliasing
-- Performing Test COMPILER_SUPPORT_fstrictaliasing - Success
-- Performing Test COMPILER_SUPPORT_wd981
-- Performing Test COMPILER_SUPPORT_wd981 - Failed
-- Performing Test COMPILER_SUPPORT_wd2304
-- Performing Test COMPILER_SUPPORT_wd2304 - Failed
-- Performing Test COMPILER_SUPPORT_STRICTANSI
-- Performing Test COMPILER_SUPPORT_STRICTANSI - Failed
-- Performing Test COMPILER_SUPPORT_Qunusedarguments
-- Performing Test COMPILER_SUPPORT_Qunusedarguments - Failed
-- Performing Test COMPILER_SUPPORT_ansi
-- Performing Test COMPILER_SUPPORT_ansi - Success
-- Performing Test COMPILER_SUPPORT_OPENMP
-- Performing Test COMPILER_SUPPORT_OPENMP - Success
-- Looking for a Fortran compiler
-- Looking for a Fortran compiler - /usr/bin/f95
-- The Fortran compiler identification is GNU 8.5.0
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Check for working Fortran compiler: /usr/bin/f95 - skipped
-- Checking whether /usr/bin/f95 supports Fortran 90
-- Checking whether /usr/bin/f95 supports Fortran 90 - yes
-- Found unsuitable Qt version "" from NOTFOUND
-- Qt4 not found, so disabling the mandelbrot and opengl demos
-- Could NOT find CHOLMOD (missing: CHOLMOD_INCLUDES CHOLMOD_LIBRARIES)
-- Could NOT find UMFPACK (missing: UMFPACK_INCLUDES UMFPACK_LIBRARIES)
-- Could NOT find KLU (missing: KLU_INCLUDES KLU_LIBRARIES)
-- Could NOT find SuperLU (missing: SUPERLU_INCLUDES SUPERLU_LIBRARIES SUPERLU_VERSION_OK) (Required is at least version "4.0")
-- Checking for one of the modules 'hwloc'
-- A version of Pastix has been found but pastix_nompi.h does not exist in the include directory. Because Eigen tests require a version without MPI, we disable the Pastix backend.
--
-- Configured Eigen 3.4.0
--
-- Available targets (use: make TARGET):
-- ---------+--------------------------------------------------------------
-- Target | Description
-- ---------+--------------------------------------------------------------
-- install | Install Eigen. Headers will be installed to:
-- | <CMAKE_INSTALL_PREFIX>/<INCLUDE_INSTALL_DIR>
-- | Using the following values:
-- | CMAKE_INSTALL_PREFIX: /usr/local
-- | INCLUDE_INSTALL_DIR: include/eigen3
-- | Change the install location of Eigen headers using:
-- | cmake . -DCMAKE_INSTALL_PREFIX=yourprefix
-- | Or:
-- | cmake . -DINCLUDE_INSTALL_DIR=yourdir
-- doc | Generate the API documentation, requires Doxygen & LaTeX
-- blas | Build BLAS library (not the same thing as Eigen)
-- uninstall| Remove files installed by the install target
-- ---------+--------------------------------------------------------------
--
-- CMAKE_SYSTEM_NAME: Linux
-- CMAKE_SYSTEM_PROCESSOR: x86_64
-- location_onnxruntime_header_dir: location_onnxruntime_header_dir-NOTFOUND
-- location_onnxruntime_lib: location_onnxruntime_lib-NOTFOUND
-- Could not find a pre-installed onnxruntime. Downloading pre-compiled onnxruntime
-- CMAKE_SYSTEM_NAME: Linux
-- CMAKE_SYSTEM_PROCESSOR: x86_64
-- CMAKE_SYSTEM_NAME: Linux
-- CMAKE_SYSTEM_PROCESSOR: x86_64
-- Downloading onnxruntime from https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.3/onnxruntime-linux-x64-static_lib-1.16.3.zip
-- onnxruntime is downloaded to /mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/onnxruntime-src
-- onnxruntime lib files: /mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/onnxruntime-src/lib/libonnxruntime.a
-- ONNXRUNTIME_DIR: /mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/onnxruntime-src
-- Downloading portaudio from http://files.portaudio.com/archives/pa_stable_v190700_20210406.tgz
-- portaudio is downloaded to /mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/portaudio-src
-- portaudio's binary dir is /mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/portaudio-build
CMake Warning (dev) at /mntnfs/lee_data1/maduo/package/cmake-3.18.6-Linux-x86_64/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:273 (message):
The package name passed to `find_package_handle_standard_args` (jack) does
not match the name of the calling package (Jack). This can lead to
problems in calling code that expects `find_package` result variables
(e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
build/_deps/portaudio-src/cmake_support/FindJack.cmake:34 (find_package_handle_standard_args)
build/_deps/portaudio-src/CMakeLists.txt:277 (FIND_PACKAGE)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Could NOT find jack (missing: JACK_LIBRARY JACK_INCLUDE_DIR)
-- Could NOT find ALSA (missing: ALSA_LIBRARY ALSA_INCLUDE_DIR)
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Searching 16 bit integer - Using unsigned short
-- Check if the system is big endian - little endian
-- Downloading websocketpp from https://github.com/zaphoyd/websocketpp/archive/b9aeec6eaf3d5610503439b4fae3581d9aff08e8.zip
-- websocketpp is downloaded to /mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/websocketpp-src
-- Downloading asio https://github.com/chriskohlhoff/asio/archive/refs/tags/asio-1-24-0.tar.gz
-- asio is downloaded to /mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/asio-src
-- Downloading espeak-ng from https://github.com/csukuangfj/espeak-ng/archive/c58d2a4a88e9a291ca448f046e15c6188cbd3b3a.zip
-- espeak-ng is downloaded to /mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-src
-- espeak-ng binary dir is /mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-build
-- Looking for mkstemp
-- Looking for mkstemp - found
-- Configuration:
-- shared: OFF
-- mbrola: OFF (MBROLA_BIN-NOTFOUND)
-- libsonic: OFF (SONIC_LIB-NOTFOUND SONIC_INC-NOTFOUND)
-- libpcaudio: OFF (PCAUDIO_LIB-NOTFOUND PCAUDIO_INC-NOTFOUND)
-- klatt: OFF
-- speech-player: OFF
-- async: OFF
-- ESPEAK_NG_DIR: /mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-src
-- Downloading piper-phonemize from https://github.com/csukuangfj/piper-phonemize/archive/6383e46b62e94c5cafc0c6a6212249ed8b9ed8d0.zip
-- piper-phonemize is downloaded to /mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/piper_phonemize-src
-- piper-phonemize binary dir is /mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/piper_phonemize-build
-- Downloading cargs https://github.com/likle/cargs/archive/refs/tags/v1.0.3.tar.gz
-- cargs is downloaded to /mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/cargs-src
-- CMAKE_CXX_FLAGS: -static-libstdc++ -static-libgcc
-- CMAKE_CXX_FLAGS: -static-libstdc++ -static-libgcc
-- Configuring done
-- Generating done
-- Build files have been written to: /mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build
If it throws errors again, please run
make VERBOSE=1
and post the detailed output. I use the
make VERBOSE=1
, the error is as follows:[ 82%] Built target sherpa-onnx-core make -f sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-offline-websocket-server.dir/build.make sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-offline-websocket-server.dir/depend make[2]: Entering directory '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build' cd /mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build && /mntnfs/lee_data1/maduo/package/cmake-3.18.6-Linux-x86_64/bin/cmake -E cmake_depends "Unix Makefiles" /mntnfs/lee_data1/maduo/codebase/sherpa-onnx /mntnfs/lee_data1/maduo/codebase/sherpa-onnx/sherpa-onnx/csrc /mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build /mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/sherpa-onnx/csrc /mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-offline-websocket-server.dir/DependInfo.cmake --color= Dependee "/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-offline-websocket-server.dir/DependInfo.cmake" is newer than depender "/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-offline-websocket-server.dir/depend.internal". Dependee "/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/sherpa-onnx/csrc/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-offline-websocket-server.dir/depend.internal". Scanning dependencies of target sherpa-onnx-offline-websocket-server make[2]: Leaving directory '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build' make -f sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-offline-websocket-server.dir/build.make sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-offline-websocket-server.dir/build make[2]: Entering directory '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build' [ 82%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-offline-websocket-server.dir/offline-websocket-server-impl.cc.o cd /mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/sherpa-onnx/csrc && /cm/local/apps/gcc/11.2.0/bin/g++ -DASIO_STANDALONE -DLIBESPEAK_NG_EXPORT=1 -D_WEBSOCKETPP_CPP11_STL_ -I/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/kaldi_decoder-src -I/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/onnxruntime-src/include -I/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/websocketpp-src -I/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/asio-src/asio/include -I/mntnfs/lee_data1/maduo/codebase/sherpa-onnx -I/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/kaldi_native_fbank-src -I/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/kaldifst-src -I/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/openfst-src/src/include -I/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/eigen-src -I/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/piper_phonemize-src/src -I/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-src/include -I/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/piper_phonemize-src/src/include -I/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-src/src/include -I/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-src/src/ucd-tools/src/include -static-libstdc++ -static-libgcc -O3 -DNDEBUG -Wno-deprecated-declarations -std=c++17 -o CMakeFiles/sherpa-onnx-offline-websocket-server.dir/offline-websocket-server-impl.cc.o -c /mntnfs/lee_data1/maduo/codebase/sherpa-onnx/sherpa-onnx/csrc/offline-websocket-server-impl.cc [ 84%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-offline-websocket-server.dir/offline-websocket-server.cc.o cd /mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/sherpa-onnx/csrc && /cm/local/apps/gcc/11.2.0/bin/g++ -DASIO_STANDALONE -DLIBESPEAK_NG_EXPORT=1 -D_WEBSOCKETPP_CPP11_STL_ -I/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/kaldi_decoder-src -I/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/onnxruntime-src/include -I/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/websocketpp-src -I/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/asio-src/asio/include -I/mntnfs/lee_data1/maduo/codebase/sherpa-onnx -I/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/kaldi_native_fbank-src -I/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/kaldifst-src -I/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/openfst-src/src/include -I/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/eigen-src -I/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/piper_phonemize-src/src -I/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-src/include -I/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/piper_phonemize-src/src/include -I/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-src/src/include -I/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-src/src/ucd-tools/src/include -static-libstdc++ -static-libgcc -O3 -DNDEBUG -Wno-deprecated-declarations -std=c++17 -o CMakeFiles/sherpa-onnx-offline-websocket-server.dir/offline-websocket-server.cc.o -c /mntnfs/lee_data1/maduo/codebase/sherpa-onnx/sherpa-onnx/csrc/offline-websocket-server.cc [ 84%] Linking CXX executable ../../bin/sherpa-onnx-offline-websocket-server cd /mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/sherpa-onnx/csrc && /mntnfs/lee_data1/maduo/package/cmake-3.18.6-Linux-x86_64/bin/cmake -E cmake_link_script CMakeFiles/sherpa-onnx-offline-websocket-server.dir/link.txt --verbose=1 /cm/local/apps/gcc/11.2.0/bin/g++ -static-libstdc++ -static-libgcc -O3 -DNDEBUG CMakeFiles/sherpa-onnx-offline-websocket-server.dir/offline-websocket-server-impl.cc.o CMakeFiles/sherpa-onnx-offline-websocket-server.dir/offline-websocket-server.cc.o -o ../../bin/sherpa-onnx-offline-websocket-server -L/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/onnxruntime-src/lib -Wl,-rpath,"\$ORIGIN:/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/onnxruntime-src/lib:" ../../lib/libsherpa-onnx-core.a -pthread -Wl,-rpath,$ORIGIN/../lib -Wl,-rpath,$ORIGIN/../../../sherpa_onnx/lib ../../lib/libkaldi-native-fbank-core.a ../../lib/libkaldi-decoder-core.a ../../lib/libsherpa-onnx-kaldifst-core.a ../../lib/libsherpa-onnx-fst.a ../../_deps/onnxruntime-src/lib/libonnxruntime.a ../../lib/libpiper_phonemize.a ../../lib/libespeak-ng.a -lm -lonnxruntime ../../lib/libucd.a -ldl ../../_deps/onnxruntime-src/lib/libonnxruntime.a(implementation.cc.o): In function `std::_Rb_tree<int, std::pair<int const, std::shared_ptr<onnx::FunctionProto> >, std::_Select1st<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > >, std::less<int>, std::allocator<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > > >::_M_erase(std::_Rb_tree_node<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > >*) [clone .isra.0]': implementation.cc:(.text._ZNSt8_Rb_treeIiSt4pairIKiSt10shared_ptrIN4onnx13FunctionProtoEEESt10_Select1stIS6_ESt4lessIiESaIS6_EE8_M_eraseEPSt13_Rb_tree_nodeIS6_E.isra.0+0x33): undefined reference to `__libc_single_threaded' ../../_deps/onnxruntime-src/lib/libonnxruntime.a(old.cc.o): In function `std::_Rb_tree<int, std::pair<int const, std::shared_ptr<onnx::FunctionProto> >, std::_Select1st<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > >, std::less<int>, std::allocator<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > > >::_M_erase(std::_Rb_tree_node<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > >*) [clone .isra.0]': old.cc:(.text._ZNSt8_Rb_treeIiSt4pairIKiSt10shared_ptrIN4onnx13FunctionProtoEEESt10_Select1stIS6_ESt4lessIiESaIS6_EE8_M_eraseEPSt13_Rb_tree_nodeIS6_E.isra.0+0x33): undefined reference to `__libc_single_threaded' ../../_deps/onnxruntime-src/lib/libonnxruntime.a(old.cc.o): In function `std::_Rb_tree_node<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > >* std::_Rb_tree<int, std::pair<int const, std::shared_ptr<onnx::FunctionProto> >, std::_Select1st<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > >, std::less<int>, std::allocator<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > > >::_M_copy<false, std::_Rb_tree<int, std::pair<int const, std::shared_ptr<onnx::FunctionProto> >, std::_Select1st<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > >, std::less<int>, std::allocator<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > > >::_Alloc_node>(std::_Rb_tree_node<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > >*, std::_Rb_tree_node_base*, std::_Rb_tree<int, std::pair<int const, std::shared_ptr<onnx::FunctionProto> >, std::_Select1st<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > >, std::less<int>, std::allocator<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > > >::_Alloc_node&) [clone .isra.0]': old.cc:(.text._ZNSt8_Rb_treeIiSt4pairIKiSt10shared_ptrIN4onnx13FunctionProtoEEESt10_Select1stIS6_ESt4lessIiESaIS6_EE7_M_copyILb0ENSC_11_Alloc_nodeEEEPSt13_Rb_tree_nodeIS6_ESH_PSt18_Rb_tree_node_baseRT0_.isra.0[_ZN4onnx8OpSchemaC5ERKS0_]+0x3c): undefined reference to `__libc_single_threaded' old.cc:(.text._ZNSt8_Rb_treeIiSt4pairIKiSt10shared_ptrIN4onnx13FunctionProtoEEESt10_Select1stIS6_ESt4lessIiESaIS6_EE7_M_copyILb0ENSC_11_Alloc_nodeEEEPSt13_Rb_tree_nodeIS6_ESH_PSt18_Rb_tree_node_baseRT0_.isra.0[_ZN4onnx8OpSchemaC5ERKS0_]+0xb7): undefined reference to `__libc_single_threaded' ../../_deps/onnxruntime-src/lib/libonnxruntime.a(schema.cc.o): In function `onnx::OpSchema::SinceVersion(int)': schema.cc:(.text._ZN4onnx8OpSchema12SinceVersionEi+0x36a): undefined reference to `__libc_single_threaded' ../../_deps/onnxruntime-src/lib/libonnxruntime.a(schema.cc.o):schema.cc:(.text._ZN4onnx8OpSchema12FunctionBodyEPKci+0x161): more undefined references to `__libc_single_threaded' follow collect2: error: ld returned 1 exit status make[2]: *** [sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-offline-websocket-server.dir/build.make:127: bin/sherpa-onnx-offline-websocket-server] Error 1 make[2]: Leaving directory '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build' make[1]: *** [CMakeFiles/Makefile2:2432: sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-offline-websocket-server.dir/all] Error 2 make[1]: Leaving directory '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build' make: *** [Makefile:171: all] Error 2
to the line after https://github.com/k2-fsa/sherpa-onnx/blob/539b27e5756bae4f908e5b14b6a7437f856c9456/sherpa-onnx/csrc/CMakeLists.txt#L145
and rerun
make VERBOSE=1
(No need to remove the build directory.)
Could you make a pull-request once you fix it? Not sure why it does not fail in the CI test.
VERBOSE=1
I follow your suggestion, But error is same. the errors is as follows:
[ 82%] Built target sherpa-onnx-core
make -f sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-offline-websocket-server.dir/build.make sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-offline-websocket-server.dir/depend
make[2]: Entering directory '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build'
cd /mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build && /mntnfs/lee_data1/maduo/package/cmake-3.18.6-Linux-x86_64/bin/cmake -E cmake_depends "Unix Makefiles" /mntnfs/lee_data1/maduo/codebase/sherpa-onnx /mntnfs/lee_data1/maduo/codebase/sherpa-onnx/sherpa-onnx/csrc /mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build /mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/sherpa-onnx/csrc /mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-offline-websocket-server.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build'
make -f sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-offline-websocket-server.dir/build.make sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-offline-websocket-server.dir/build
make[2]: Entering directory '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build'
[ 82%] Linking CXX executable ../../bin/sherpa-onnx-offline-websocket-server
cd /mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/sherpa-onnx/csrc && /mntnfs/lee_data1/maduo/package/cmake-3.18.6-Linux-x86_64/bin/cmake -E cmake_link_script CMakeFiles/sherpa-onnx-offline-websocket-server.dir/link.txt --verbose=1
/cm/local/apps/gcc/11.2.0/bin/g++ -static-libstdc++ -static-libgcc -O3 -DNDEBUG CMakeFiles/sherpa-onnx-offline-websocket-server.dir/offline-websocket-server-impl.cc.o CMakeFiles/sherpa-onnx-offline-websocket-server.dir/offline-websocket-server.cc.o -o ../../bin/sherpa-onnx-offline-websocket-server -L/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/onnxruntime-src/lib -Wl,-rpath,"\$ORIGIN:/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/onnxruntime-src/lib:" ../../lib/libsherpa-onnx-core.a -pthread -Wl,-rpath,$ORIGIN/../lib -Wl,-rpath,$ORIGIN/../../../sherpa_onnx/lib ../../lib/libkaldi-native-fbank-core.a ../../lib/libkaldi-decoder-core.a ../../lib/libsherpa-onnx-kaldifst-core.a ../../lib/libsherpa-onnx-fst.a ../../_deps/onnxruntime-src/lib/libonnxruntime.a ../../lib/libpiper_phonemize.a ../../lib/libespeak-ng.a -lm -lonnxruntime ../../lib/libucd.a -ldl
../../_deps/onnxruntime-src/lib/libonnxruntime.a(implementation.cc.o): In function `std::_Rb_tree<int, std::pair<int const, std::shared_ptr<onnx::FunctionProto> >, std::_Select1st<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > >, std::less<int>, std::allocator<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > > >::_M_erase(std::_Rb_tree_node<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > >*) [clone .isra.0]':
implementation.cc:(.text._ZNSt8_Rb_treeIiSt4pairIKiSt10shared_ptrIN4onnx13FunctionProtoEEESt10_Select1stIS6_ESt4lessIiESaIS6_EE8_M_eraseEPSt13_Rb_tree_nodeIS6_E.isra.0+0x33): undefined reference to `__libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(old.cc.o): In function `std::_Rb_tree<int, std::pair<int const, std::shared_ptr<onnx::FunctionProto> >, std::_Select1st<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > >, std::less<int>, std::allocator<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > > >::_M_erase(std::_Rb_tree_node<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > >*) [clone .isra.0]':
old.cc:(.text._ZNSt8_Rb_treeIiSt4pairIKiSt10shared_ptrIN4onnx13FunctionProtoEEESt10_Select1stIS6_ESt4lessIiESaIS6_EE8_M_eraseEPSt13_Rb_tree_nodeIS6_E.isra.0+0x33): undefined reference to `__libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(old.cc.o): In function `std::_Rb_tree_node<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > >* std::_Rb_tree<int, std::pair<int const, std::shared_ptr<onnx::FunctionProto> >, std::_Select1st<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > >, std::less<int>, std::allocator<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > > >::_M_copy<false, std::_Rb_tree<int, std::pair<int const, std::shared_ptr<onnx::FunctionProto> >, std::_Select1st<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > >, std::less<int>, std::allocator<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > > >::_Alloc_node>(std::_Rb_tree_node<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > >*, std::_Rb_tree_node_base*, std::_Rb_tree<int, std::pair<int const, std::shared_ptr<onnx::FunctionProto> >, std::_Select1st<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > >, std::less<int>, std::allocator<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > > >::_Alloc_node&) [clone .isra.0]':
old.cc:(.text._ZNSt8_Rb_treeIiSt4pairIKiSt10shared_ptrIN4onnx13FunctionProtoEEESt10_Select1stIS6_ESt4lessIiESaIS6_EE7_M_copyILb0ENSC_11_Alloc_nodeEEEPSt13_Rb_tree_nodeIS6_ESH_PSt18_Rb_tree_node_baseRT0_.isra.0[_ZN4onnx8OpSchemaC5ERKS0_]+0x3c): undefined reference to `__libc_single_threaded'
old.cc:(.text._ZNSt8_Rb_treeIiSt4pairIKiSt10shared_ptrIN4onnx13FunctionProtoEEESt10_Select1stIS6_ESt4lessIiESaIS6_EE7_M_copyILb0ENSC_11_Alloc_nodeEEEPSt13_Rb_tree_nodeIS6_ESH_PSt18_Rb_tree_node_baseRT0_.isra.0[_ZN4onnx8OpSchemaC5ERKS0_]+0xb7): undefined reference to `__libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(schema.cc.o): In function `onnx::OpSchema::SinceVersion(int)':
schema.cc:(.text._ZN4onnx8OpSchema12SinceVersionEi+0x36a): undefined reference to `__libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(schema.cc.o):schema.cc:(.text._ZN4onnx8OpSchema12FunctionBodyEPKci+0x161): more undefined references to `__libc_single_threaded' follow
collect2: error: ld returned 1 exit status
make[2]: *** [sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-offline-websocket-server.dir/build.make:127: bin/sherpa-onnx-offline-websocket-server] Error 1
make[2]: Leaving directory '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build'
make[1]: *** [CMakeFiles/Makefile2:1648: sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-offline-websocket-server.dir/all] Error 2
make[1]: Leaving directory '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build'
make: *** [Makefile:171: all] Error 2
After modified , I post the CMakeLists.txt
if(SHERPA_ONNX_ENABLE_GPU)
target_link_libraries(sherpa-onnx-core
onnxruntime_providers_cuda
onnxruntime_providers_shared
)
endif()
target_link_libraries(sherpa-onnx-core piper_phonemize)
if(NOT WIN32)
target_link_libraries(sherpa-onnx-core -pthread)
endif()
if(SHERPA_ONNX_ENABLE_CHECK)
target_compile_definitions(sherpa-onnx-core PUBLIC SHERPA_ONNX_ENABLE_CHECK=1)
if(SHERPA_ONNX_HAVE_EXECINFO_H)
target_compile_definitions(sherpa-onnx-core PRIVATE SHERPA_ONNX_HAVE_EXECINFO_H=1)
endif()
if(SHERPA_ONNX_HAVE_CXXABI_H)
target_compile_definitions(sherpa-onnx-core PRIVATE SHERPA_ONNX_HAVE_CXXABI_H=1)
endif()
endif()
Could you make a pull-request once you fix it? Not sure why it does not fail in the CI test.
Yes, if fixed it, I will pull request.
Could you change
target_link_libraries(sherpa-onnx-core piper_phonemize)
to
target_link_libraries(sherpa-onnx-core piper_phonemize -pthread)
and re-try? Please post logs of make VERBOSE=1
if it fails again.
Could you change
target_link_libraries(sherpa-onnx-core piper_phonemize)
to
target_link_libraries(sherpa-onnx-core piper_phonemize -pthread)
and re-try? Please post logs of
make VERBOSE=1
if it fails again.
The CMakeList.txt is as follows:
if(SHERPA_ONNX_ENABLE_GPU)
target_link_libraries(sherpa-onnx-core
onnxruntime_providers_cuda
onnxruntime_providers_shared
)
endif()
target_link_libraries(sherpa-onnx-core piper_phonemize -pthread)
if(NOT WIN32)
target_link_libraries(sherpa-onnx-core -pthread)
endif()
if(SHERPA_ONNX_ENABLE_CHECK)
target_compile_definitions(sherpa-onnx-core PUBLIC SHERPA_ONNX_ENABLE_CHECK=1)
if(SHERPA_ONNX_HAVE_EXECINFO_H)
target_compile_definitions(sherpa-onnx-core PRIVATE SHERPA_ONNX_HAVE_EXECINFO_H=1)
endif()
if(SHERPA_ONNX_HAVE_CXXABI_H)
target_compile_definitions(sherpa-onnx-core PRIVATE SHERPA_ONNX_HAVE_CXXABI_H=1)
endif()
endif()
the error is as follows:
[ 84%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-offline-websocket-server.dir/offline-websocket-server.cc.o
cd /mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/sherpa-onnx/csrc && /cm/local/apps/gcc/11.2.0/bin/g++ -DASIO_STANDALONE -DLIBESPEAK_NG_EXPORT=1 -D_WEBSOCKETPP_CPP11_STL_ -I/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/kaldi_decoder-src -I/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/onnxruntime-src/include -I/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/websocketpp-src -I/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/asio-src/asio/include -I/mntnfs/lee_data1/maduo/codebase/sherpa-onnx -I/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/kaldi_native_fbank-src -I/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/kaldifst-src -I/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/openfst-src/src/include -I/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/eigen-src -I/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/piper_phonemize-src/src -I/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-src/include -I/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/piper_phonemize-src/src/include -I/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-src/src/include -I/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/espeak_ng-src/src/ucd-tools/src/include -static-libstdc++ -static-libgcc -O3 -DNDEBUG -Wno-deprecated-declarations -std=c++17 -o CMakeFiles/sherpa-onnx-offline-websocket-server.dir/offline-websocket-server.cc.o -c /mntnfs/lee_data1/maduo/codebase/sherpa-onnx/sherpa-onnx/csrc/offline-websocket-server.cc
[ 84%] Linking CXX executable ../../bin/sherpa-onnx-offline-websocket-server
cd /mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/sherpa-onnx/csrc && /mntnfs/lee_data1/maduo/package/cmake-3.18.6-Linux-x86_64/bin/cmake -E cmake_link_script CMakeFiles/sherpa-onnx-offline-websocket-server.dir/link.txt --verbose=1
/cm/local/apps/gcc/11.2.0/bin/g++ -static-libstdc++ -static-libgcc -O3 -DNDEBUG CMakeFiles/sherpa-onnx-offline-websocket-server.dir/offline-websocket-server-impl.cc.o CMakeFiles/sherpa-onnx-offline-websocket-server.dir/offline-websocket-server.cc.o -o ../../bin/sherpa-onnx-offline-websocket-server -L/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/onnxruntime-src/lib -Wl,-rpath,"\$ORIGIN:/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build/_deps/onnxruntime-src/lib:" ../../lib/libsherpa-onnx-core.a -pthread -Wl,-rpath,$ORIGIN/../lib -Wl,-rpath,$ORIGIN/../../../sherpa_onnx/lib ../../lib/libkaldi-native-fbank-core.a ../../lib/libkaldi-decoder-core.a ../../lib/libsherpa-onnx-kaldifst-core.a ../../lib/libsherpa-onnx-fst.a ../../_deps/onnxruntime-src/lib/libonnxruntime.a ../../lib/libpiper_phonemize.a ../../lib/libespeak-ng.a -lm -lonnxruntime ../../lib/libucd.a -ldl
../../_deps/onnxruntime-src/lib/libonnxruntime.a(implementation.cc.o): In function `std::_Rb_tree<int, std::pair<int const, std::shared_ptr<onnx::FunctionProto> >, std::_Select1st<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > >, std::less<int>, std::allocator<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > > >::_M_erase(std::_Rb_tree_node<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > >*) [clone .isra.0]':
implementation.cc:(.text._ZNSt8_Rb_treeIiSt4pairIKiSt10shared_ptrIN4onnx13FunctionProtoEEESt10_Select1stIS6_ESt4lessIiESaIS6_EE8_M_eraseEPSt13_Rb_tree_nodeIS6_E.isra.0+0x33): undefined reference to `__libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(old.cc.o): In function `std::_Rb_tree<int, std::pair<int const, std::shared_ptr<onnx::FunctionProto> >, std::_Select1st<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > >, std::less<int>, std::allocator<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > > >::_M_erase(std::_Rb_tree_node<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > >*) [clone .isra.0]':
old.cc:(.text._ZNSt8_Rb_treeIiSt4pairIKiSt10shared_ptrIN4onnx13FunctionProtoEEESt10_Select1stIS6_ESt4lessIiESaIS6_EE8_M_eraseEPSt13_Rb_tree_nodeIS6_E.isra.0+0x33): undefined reference to `__libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(old.cc.o): In function `std::_Rb_tree_node<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > >* std::_Rb_tree<int, std::pair<int const, std::shared_ptr<onnx::FunctionProto> >, std::_Select1st<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > >, std::less<int>, std::allocator<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > > >::_M_copy<false, std::_Rb_tree<int, std::pair<int const, std::shared_ptr<onnx::FunctionProto> >, std::_Select1st<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > >, std::less<int>, std::allocator<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > > >::_Alloc_node>(std::_Rb_tree_node<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > >*, std::_Rb_tree_node_base*, std::_Rb_tree<int, std::pair<int const, std::shared_ptr<onnx::FunctionProto> >, std::_Select1st<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > >, std::less<int>, std::allocator<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > > >::_Alloc_node&) [clone .isra.0]':
old.cc:(.text._ZNSt8_Rb_treeIiSt4pairIKiSt10shared_ptrIN4onnx13FunctionProtoEEESt10_Select1stIS6_ESt4lessIiESaIS6_EE7_M_copyILb0ENSC_11_Alloc_nodeEEEPSt13_Rb_tree_nodeIS6_ESH_PSt18_Rb_tree_node_baseRT0_.isra.0[_ZN4onnx8OpSchemaC5ERKS0_]+0x3c): undefined reference to `__libc_single_threaded'
old.cc:(.text._ZNSt8_Rb_treeIiSt4pairIKiSt10shared_ptrIN4onnx13FunctionProtoEEESt10_Select1stIS6_ESt4lessIiESaIS6_EE7_M_copyILb0ENSC_11_Alloc_nodeEEEPSt13_Rb_tree_nodeIS6_ESH_PSt18_Rb_tree_node_baseRT0_.isra.0[_ZN4onnx8OpSchemaC5ERKS0_]+0xb7): undefined reference to `__libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(schema.cc.o): In function `onnx::OpSchema::SinceVersion(int)':
schema.cc:(.text._ZN4onnx8OpSchema12SinceVersionEi+0x36a): undefined reference to `__libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(schema.cc.o):schema.cc:(.text._ZN4onnx8OpSchema12FunctionBodyEPKci+0x161): more undefined references to `__libc_single_threaded' follow
collect2: error: ld returned 1 exit status
make[2]: *** [sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-offline-websocket-server.dir/build.make:127: bin/sherpa-onnx-offline-websocket-server] Error 1
make[2]: Leaving directory '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build'
make[1]: *** [CMakeFiles/Makefile2:2432: sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-offline-websocket-server.dir/all] Error 2
make[1]: Leaving directory '/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/build'
make: *** [Makefile:171: all] Error 2
Please use
cmake -DBUILD_SHARED_LIBS=ON ..
make -j4
It should work with shared libraries on your system.
I will try to reproduce it.
Please use
cmake -DBUILD_SHARED_LIBS=ON .. make -j4
It should work with shared libraries on your system.
I will try to reproduce it.
yes, solved it. thanks a lot @csukuangfj
however, when I run the below command:
tts_model_dir=../../pretrain_models/tts/vits-ljs/
./build/bin/sherpa-onnx-offline-tts \
--vits-model=$tts_model_dir/vits-ljs.onnx \
--vits-lexicon=$tts_model_dir/lexicon.txt \
--vits-tokens=$tts_model_dir/tokens.txt \
--output-filename=./generated.wav \
'liliana, the most beautiful and lovely assistant of our team!'
the output error is as follows:
/mntnfs/lee_data1/maduo/codebase/sherpa-onnx/sherpa-onnx/csrc/parse-options.cc:Read:361 ./build/bin/sherpa-onnx-offline-tts --vits-model=../../pretrain_models/tts/vits-ljs//vits-ljs.onnx --vits-lexicon=../../pretrain_models/tts/vits-ljs//lexicon.txt --vits-tokens=../../pretrain_models/tts/vits-ljs//tokens.txt --output-filename=./generated.wav 'liliana, the most beautiful and lovely assistant of our team!'
terminate called after throwing an instance of 'Ort::Exception'
what(): Failed to load model because protobuf parsing failed.
../../source-md/sherpa_onnx_tts_files.sh: line 9: 1477325 Aborted (core dumped) ./build/bin/sherpa-onnx-offline-tts --vits-model=$tts_model_dir/vits-ljs.onnx --vits-lexicon=$tts_model_dir/lexicon.txt --vits-tokens=$tts_model_dir/tokens.txt --output-filename=./generated.wav 'liliana, the most beautiful and lovely assistant of our team!'
please check the file size of your model
please check the file size of your model
Yes, I checked my model and found the size is very small. when I download the model, I forget that run this command git lfs pull --include "*.onnx"git lfs pull --include "*.onnx"
, Sorry for trobule you. Thanks a lot.
However, I have a querstion, There are so many English models, which one has better synthesis effect? Do you have any recommendations?
There are so many English models, which one has better synthesis effect
I suggest that you select a model that you prefer.
There are no WERs for TTS models. So it is hard to say whether a model is better or worse.
You can try all of the models at the following huggingface space. https://huggingface.co/spaces/k2-fsa/text-to-speech
There are so many English models, which one has better synthesis effect
I suggest that you select a model that you prefer.
There are no WERs for TTS models. So it is hard to say whether a model is better or worse.
You can try all of the models at the following huggingface space. https://huggingface.co/spaces/k2-fsa/text-to-speech
Yes, I see , I haven’t seen a Chinese-English bilingual tts. Is there such a vits tts model?
Please use
cmake -DBUILD_SHARED_LIBS=ON .. make -j4
It should work with shared libraries on your system.
I will try to reproduce it.
I got the same error. Have you resolve it with static library? @shanguanma @csukuangfj
I meet the same problem My OS is ubuntu18.04
-- The C compiler identification is GNU 7.5.0 -- The CXX compiler identification is GNU 7.5.0 I tried switching the GNU version to 12.1.0, but it still didn't work -- The C compiler identification is GNU 12.1.0 -- The CXX compiler identification is GNU 12.1.0
[ 92%] Linking CXX executable ../../bin/sherpa-onnx-offline-parallel
../../_deps/onnxruntime-src/lib/libonnxruntime.a(onnxruntime_c_api.cc.o): In function `OrtApis::ReleasePrepackedWeightsContainer(OrtPrepackedWeightsContainer*)':
onnxruntime_c_api.cc:(.text._ZN7OrtApis32ReleasePrepackedWeightsContainerEP28OrtPrepackedWeightsContainer+0x253): undefined reference to `__libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(onnxruntime_c_api.cc.o): In function `std::unique_ptr<OrtValue, std::default_delete<OrtValue> >& absl::lts_20240116::inlined_vector_internal::Storage<std::unique_ptr<OrtValue, std::default_delete<OrtValue> >, 6ul, std::allocator<std::unique_ptr<OrtValue, std::default_delete<OrtValue> > > >::EmplaceBackSlow<std::unique_ptr<OrtValue, std::default_delete<OrtValue> > >(std::unique_ptr<OrtValue, std::default_delete<OrtValue> >&&) [clone .isra.0]':
onnxruntime_c_api.cc:(.text._ZN4absl12lts_2024011623inlined_vector_internal7StorageISt10unique_ptrI8OrtValueSt14default_deleteIS4_EELm6ESaIS7_EE15EmplaceBackSlowIJS7_EEERS7_DpOT_.isra.0+0xc8): undefined reference to `__libc_single_threaded'
onnxruntime_c_api.cc:(.text._ZN4absl12lts_2024011623inlined_vector_internal7StorageISt10unique_ptrI8OrtValueSt14default_deleteIS4_EELm6ESaIS7_EE15EmplaceBackSlowIJS7_EEERS7_DpOT_.isra.0+0x13c): undefined reference to `__libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(onnxruntime_c_api.cc.o): In function `std::default_delete<OrtValue>::operator()(OrtValue*) const [clone .constprop.0]':
onnxruntime_c_api.cc:(.text._ZNKSt14default_deleteI8OrtValueEclEPS0_.constprop.0+0x18): undefined reference to `__libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(onnxruntime_c_api.cc.o): In function `OrtApis::ReleaseValue(OrtValue*)':
onnxruntime_c_api.cc:(.text._ZN7OrtApis12ReleaseValueEP8OrtValue+0x1c): undefined reference to `__libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(onnxruntime_c_api.cc.o):onnxruntime_c_api.cc:(.text._ZN7OrtApis16ReleaseIoBindingEP12OrtIoBinding+0x75): more undefined references to `__libc_single_threaded' follow
../../_deps/onnxruntime-src/lib/libonnxruntime.a(implementation.cc.o): In function `std::_Rb_tree<int, std::pair<int const, std::shared_ptr<onnx::FunctionProto> >, std::_Select1st<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > >, std::less<int>, std::allocator<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > > >::_M_erase(std::_Rb_tree_node<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > >*) [clone .isra.0]':
implementation.cc:(.text._ZNSt8_Rb_treeIiSt4pairIKiSt10shared_ptrIN4onnx13FunctionProtoEEESt10_Select1stIS6_ESt4lessIiESaIS6_EE8_M_eraseEPSt13_Rb_tree_nodeIS6_E.isra.0+0x33): undefined reference to `__libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(schema.cc.o): In function `onnx::OpSchema::SinceVersion(int)':
schema.cc:(.text._ZN4onnx8OpSchema12SinceVersionEi+0x37a): undefined reference to `__libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(schema.cc.o): In function `onnx::OpSchema::FunctionBody(char const*, int)':
schema.cc:(.text._ZN4onnx8OpSchema12FunctionBodyEPKci+0x161): undefined reference to `__libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(schema.cc.o): In function `onnx::OpSchema::FunctionBody(std::vector<onnx::NodeProto, std::allocator<onnx::NodeProto> > const&, int)':
schema.cc:(.text._ZN4onnx8OpSchema12FunctionBodyERKSt6vectorINS_9NodeProtoESaIS2_EEi+0x113): undefined reference to `__libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(schema.cc.o): In function `onnx::OpSchema::FunctionBody(std::vector<onnx::NodeProto, std::allocator<onnx::NodeProto> > const&, std::vector<onnx::OperatorSetIdProto, std::allocator<onnx::OperatorSetIdProto> > const&, int)':
schema.cc:(.text._ZN4onnx8OpSchema12FunctionBodyERKSt6vectorINS_9NodeProtoESaIS2_EERKS1_INS_18OperatorSetIdProtoESaIS7_EEi+0x193): undefined reference to `__libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(checker.cc.o):checker.cc:(.text._ZNSt8_Rb_treeIiSt4pairIKiSt10shared_ptrIN4onnx13FunctionProtoEEESt10_Select1stIS6_ESt4lessIiESaIS6_EE8_M_eraseEPSt13_Rb_tree_nodeIS6_E.isra.0+0x33): more undefined references to `__libc_single_threaded' follow
../../_deps/onnxruntime-src/lib/libonnxruntime.a(implementation.cc.o): In function `std::_Rb_tree<int, std::pair<int const, std::shared_ptr<onnx::FunctionProto> >, std::_Select1st<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > >, std::less<int>, std::allocator<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > > >::_M_erase(std::_Rb_tree_node<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > >*) [clone .isra.0]':
implementation.cc:(.text._ZNSt8_Rb_treeIiSt4pairIKiSt10shared_ptrIN4onnx13FunctionProtoEEESt10_Select1stIS6_ESt4lessIiESaIS6_EE8_M_eraseEPSt13_Rb_tree_nodeIS6_E.isra.0+0x33): undefined reference to `__libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(schema.cc.o): In function `onnx::OpSchema::SinceVersion(int)':
schema.cc:(.text._ZN4onnx8OpSchema12SinceVersionEi+0x37a): undefined reference to `__libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(schema.cc.o): In function `onnx::OpSchema::FunctionBody(char const*, int)':
schema.cc:(.text._ZN4onnx8OpSchema12FunctionBodyEPKci+0x161): undefined reference to `__libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(schema.cc.o): In function `onnx::OpSchema::FunctionBody(std::vector<onnx::NodeProto, std::allocator<onnx::NodeProto> > const&, int)':
schema.cc:(.text._ZN4onnx8OpSchema12FunctionBodyERKSt6vectorINS_9NodeProtoESaIS2_EEi+0x113): undefined reference to `__libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(schema.cc.o): In function `onnx::OpSchema::FunctionBody(std::vector<onnx::NodeProto, std::allocator<onnx::NodeProto> > const&, std::vector<onnx::OperatorSetIdProto, std::allocator<onnx::OperatorSetIdProto> > const&, int)':
schema.cc:(.text._ZN4onnx8OpSchema12FunctionBodyERKSt6vectorINS_9NodeProtoESaIS2_EERKS1_INS_18OperatorSetIdProtoESaIS7_EEi+0x193): undefined reference to `__libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(checker.cc.o):checker.cc:(.text._ZNSt8_Rb_treeIiSt4pairIKiSt10shared_ptrIN4onnx13FunctionProtoEEESt10_Select1stIS6_ESt4lessIiESaIS6_EE8_M_eraseEPSt13_Rb_tree_nodeIS6_E.isra.0+0x33): more undefined references to `__libc_single_threaded' follow
../../_deps/onnxruntime-src/lib/libonnxruntime.a(implementation.cc.o): In function `std::_Rb_tree<int, std::pair<int const, std::shared_ptr<onnx::FunctionProto> >, std::_Select1st<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > >, std::less<int>, std::allocator<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > > >::_M_erase(std::_Rb_tree_node<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > >*) [clone .isra.0]':
implementation.cc:(.text._ZNSt8_Rb_treeIiSt4pairIKiSt10shared_ptrIN4onnx13FunctionProtoEEESt10_Select1stIS6_ESt4lessIiESaIS6_EE8_M_eraseEPSt13_Rb_tree_nodeIS6_E.isra.0+0x33): undefined reference to `__libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(schema.cc.o): In function `onnx::OpSchema::SinceVersion(int)':
schema.cc:(.text._ZN4onnx8OpSchema12SinceVersionEi+0x37a): undefined reference to `__libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(schema.cc.o): In function `onnx::OpSchema::FunctionBody(char const*, int)':
schema.cc:(.text._ZN4onnx8OpSchema12FunctionBodyEPKci+0x161): undefined reference to `__libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(schema.cc.o): In function `onnx::OpSchema::FunctionBody(std::vector<onnx::NodeProto, std::allocator<onnx::NodeProto> > const&, int)':
schema.cc:(.text._ZN4onnx8OpSchema12FunctionBodyERKSt6vectorINS_9NodeProtoESaIS2_EEi+0x113): undefined reference to `__libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(schema.cc.o): In function `onnx::OpSchema::FunctionBody(std::vector<onnx::NodeProto, std::allocator<onnx::NodeProto> > const&, std::vector<onnx::OperatorSetIdProto, std::allocator<onnx::OperatorSetIdProto> > const&, int)':
schema.cc:(.text._ZN4onnx8OpSchema12FunctionBodyERKSt6vectorINS_9NodeProtoESaIS2_EERKS1_INS_18OperatorSetIdProtoESaIS7_EEi+0x193): undefined reference to `__libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(checker.cc.o):checker.cc:(.text._ZNSt8_Rb_treeIiSt4pairIKiSt10shared_ptrIN4onnx13FunctionProtoEEESt10_Select1stIS6_ESt4lessIiESaIS6_EE8_M_eraseEPSt13_Rb_tree_nodeIS6_E.isra.0+0x33): more undefined references to `__libc_single_threaded' follow
../../_deps/onnxruntime-src/lib/libonnxruntime.a(onnxruntime_c_api.cc.o): In function `OrtApis::ReleasePrepackedWeightsContainer(OrtPrepackedWeightsContainer*)':
onnxruntime_c_api.cc:(.text._ZN7OrtApis32ReleasePrepackedWeightsContainerEP28OrtPrepackedWeightsContainer+0x253): undefined reference to `__libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(onnxruntime_c_api.cc.o): In function `std::unique_ptr<OrtValue, std::default_delete<OrtValue> >& absl::lts_20240116::inlined_vector_internal::Storage<std::unique_ptr<OrtValue, std::default_delete<OrtValue> >, 6ul, std::allocator<std::unique_ptr<OrtValue, std::default_delete<OrtValue> > > >::EmplaceBackSlow<std::unique_ptr<OrtValue, std::default_delete<OrtValue> > >(std::unique_ptr<OrtValue, std::default_delete<OrtValue> >&&) [clone .isra.0]':
onnxruntime_c_api.cc:(.text._ZN4absl12lts_2024011623inlined_vector_internal7StorageISt10unique_ptrI8OrtValueSt14default_deleteIS4_EELm6ESaIS7_EE15EmplaceBackSlowIJS7_EEERS7_DpOT_.isra.0+0xc8): undefined reference to `__libc_single_threaded'
onnxruntime_c_api.cc:(.text._ZN4absl12lts_2024011623inlined_vector_internal7StorageISt10unique_ptrI8OrtValueSt14default_deleteIS4_EELm6ESaIS7_EE15EmplaceBackSlowIJS7_EEERS7_DpOT_.isra.0+0x13c): undefined reference to `__libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(onnxruntime_c_api.cc.o): In function `std::default_delete<OrtValue>::operator()(OrtValue*) const [clone .constprop.0]':
onnxruntime_c_api.cc:(.text._ZNKSt14default_deleteI8OrtValueEclEPS0_.constprop.0+0x18): undefined reference to `__libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(onnxruntime_c_api.cc.o): In function `OrtApis::ReleaseValue(OrtValue*)':
onnxruntime_c_api.cc:(.text._ZN7OrtApis12ReleaseValueEP8OrtValue+0x1c): undefined reference to `__libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(onnxruntime_c_api.cc.o):onnxruntime_c_api.cc:(.text._ZN7OrtApis16ReleaseIoBindingEP12OrtIoBinding+0x75): more undefined references to `__libc_single_threaded' follow
collect2: error: ld returned 1 exit status
sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-offline-tts.dir/build.make:92: recipe for target 'bin/sherpa-onnx-offline-tts' failed
make[2]: *** [bin/sherpa-onnx-offline-tts] Error 1
CMakeFiles/Makefile2:2349: recipe for target 'sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-offline-tts.dir/all' failed
make[1]: *** [sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-offline-tts.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
collect2: error: ld returned 1 exit status
../../_deps/onnxruntime-src/lib/libonnxruntime.a(implementation.cc.o): In function `std::_Rb_tree<int, std::pair<int const, std::shared_ptr<onnx::FunctionProto> >, std::_Select1st<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > >, std::less<int>, std::allocator<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > > >::_M_erase(std::_Rb_tree_node<std::pair<int const, std::shared_ptr<onnx::FunctionProto> > >*) [clone .isra.0]':
implementation.cc:(.text._ZNSt8_Rb_treeIiSt4pairIKiSt10shared_ptrIN4onnx13FunctionProtoEEESt10_Select1stIS6_ESt4lessIiESaIS6_EE8_M_eraseEPSt13_Rb_tree_nodeIS6_E.isra.0+0x33): undefined reference to `__libc_single_threaded'
sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-vad-microphone.dir/build.make:108: recipe for target 'bin/sherpa-onnx-vad-microphone' failed
make[2]: *** [bin/sherpa-onnx-vad-microphone] Error 1
CMakeFiles/Makefile2:2245: recipe for target 'sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-vad-microphone.dir/all' failed
make[1]: *** [sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-vad-microphone.dir/all] Error 2
../../_deps/onnxruntime-src/lib/libonnxruntime.a(schema.cc.o): In function `onnx::OpSchema::SinceVersion(int)':
schema.cc:(.text._ZN4onnx8OpSchema12SinceVersionEi+0x37a): undefined reference to `__libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(schema.cc.o): In function `onnx::OpSchema::FunctionBody(char const*, int)':
schema.cc:(.text._ZN4onnx8OpSchema12FunctionBodyEPKci+0x161): undefined reference to `__libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(schema.cc.o): In function `onnx::OpSchema::FunctionBody(std::vector<onnx::NodeProto, std::allocator<onnx::NodeProto> > const&, int)':
schema.cc:(.text._ZN4onnx8OpSchema12FunctionBodyERKSt6vectorINS_9NodeProtoESaIS2_EEi+0x113): undefined reference to `__libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(schema.cc.o): In function `onnx::OpSchema::FunctionBody(std::vector<onnx::NodeProto, std::allocator<onnx::NodeProto> > const&, std::vector<onnx::OperatorSetIdProto, std::allocator<onnx::OperatorSetIdProto> > const&, int)':
schema.cc:(.text._ZN4onnx8OpSchema12FunctionBodyERKSt6vectorINS_9NodeProtoESaIS2_EERKS1_INS_18OperatorSetIdProtoESaIS7_EEi+0x193): undefined reference to `__libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(checker.cc.o):checker.cc:(.text._ZNSt8_Rb_treeIiSt4pairIKiSt10shared_ptrIN4onnx13FunctionProtoEEESt10_Select1stIS6_ESt4lessIiESaIS6_EE8_M_eraseEPSt13_Rb_tree_nodeIS6_E.isra.0+0x33): more undefined references to `__libc_single_threaded' follow
collect2: error: ld returned 1 exit status
sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-microphone-offline.dir/build.make:108: recipe for target 'bin/sherpa-onnx-microphone-offline' failed
make[2]: *** [bin/sherpa-onnx-microphone-offline] Error 1
CMakeFiles/Makefile2:2280: recipe for target 'sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-microphone-offline.dir/all' failed
make[1]: *** [sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-microphone-offline.dir/all] Error 2
collect2: error: ld returned 1 exit status
sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-offline-tts-play.dir/build.make:108: recipe for target 'bin/sherpa-onnx-offline-tts-play' failed
make[2]: *** [bin/sherpa-onnx-offline-tts-play] Error 1
CMakeFiles/Makefile2:2451: recipe for target 'sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-offline-tts-play.dir/all' failed
make[1]: *** [sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-offline-tts-play.dir/all] Error 2
collect2: error: ld returned 1 exit status
sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-microphone.dir/build.make:108: recipe for target 'bin/sherpa-onnx-microphone' failed
make[2]: *** [bin/sherpa-onnx-microphone] Error 1
CMakeFiles/Makefile2:2315: recipe for target 'sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-microphone.dir/all' failed
make[1]: *** [sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-microphone.dir/all] Error 2
collect2: error: ld returned 1 exit status
sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-offline-parallel.dir/build.make:92: recipe for target 'bin/sherpa-onnx-offline-parallel' failed
make[2]: *** [bin/sherpa-onnx-offline-parallel] Error 1
CMakeFiles/Makefile2:2383: recipe for target 'sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-offline-parallel.dir/all' failed
make[1]: *** [sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-offline-parallel.dir/all] Error 2
Makefile:151: recipe for target 'all' failed
make: *** [all] Error 2
When I use GNU 12.1.0
cmake -DBUILD_SHARED_LIBS=ON ..
make -j4
still not work
When i use GNU 7.5.0 , it's work
@deyiluobo Error message indicates undefined references to __libc_single_threaded It may be something with -pthread or versions of lstdc++ or libc++ Also it could be due static or dynamic linking.... I think need check CMakeLists.txt some inforamtion https://stackoverflow.com/questions/76727663/undefined-reference-to-pthread-using-cmake
https://groups.google.com/g/sparselizardforum/c/bfmP65SP9gE
alexandr...@gmail.com's profile photo
alexandr...@gmail.com
unread,
Sep 20, 2021, 9:18:28 AM
to sparselizardforum
Hi Arvind,
This is because a recent enough version of gcc is needed (this __libc_single_threaded was added in 2020 to gcc).
Solution:
1. Use an older version of the static library: http://www.sparselizard.org/staticlibs/linux64/sparselizard_linux64_staticlib_v202012.0.zip (from May this year)
2. Update your system
Could you please let me know if that older version works for you?
Alex
https://www.gnu.org/software/libc/manual/html_node/Single_002dThreaded.html
I am rebuilding the static onnxruntime lib with a lower version gcc, i.e., GCC 8. Please wait for a moment.
@shanguanma @magicse @xiayezi2013 @deyiluobo
Could you try the latest master?
It should be fixed via #587
hi @csukuangfj I had no problems from the very beginning and everything compiled and worked without problems. I was simply giving advice to those users who had errors during compilation. Thanks again for the support.
I want to run your tts model, I compiler sherpa-onnx follow the steps:
however, when I run this command:
cmake -DCMAKE_BUILD_TYPE=Release ..
,it occurs the below errors:cmake version is as follows: