k2-fsa / sherpa-onnx

Speech-to-text, text-to-speech, speaker diarization, and VAD using next-gen Kaldi with onnxruntime without Internet connection. Support embedded systems, Android, iOS, Raspberry Pi, RISC-V, x86_64 servers, websocket server/client, C/C++, Python, Kotlin, C#, Go, NodeJS, Java, Swift, Dart, JavaScript, Flutter, Object Pascal, Lazarus, Rust
https://k2-fsa.github.io/sherpa/onnx/index.html
Apache License 2.0
3.7k stars 430 forks source link

ONNX models on an ARM embedded platform? #1204

Closed yegeli closed 2 months ago

yegeli commented 3 months ago

Running speech synthesis ONNX models on an ARM embedded platform without a GPU, using only the CPU?

csukuangfj commented 3 months ago

Yes, all models provided by us, not limited to TTS models, can be run on ARM embedded platforms.

When we say ARM, we refer to both ARM64 and ARM32.

yegeli commented 3 months ago

是的,我们提供的所有模型(不仅限于TTS模型)都可以在ARM嵌入式平台上运行。

当我们说 ARM 时,我们指的是 ARM64 和 ARM32。

Which current open-source TTS models support deployment to ARM embedded platforms using Sherpa-ONNX?

csukuangfj commented 3 months ago

We only support VITS. please see https://github.com/k2-fsa/sherpa-onnx/releases/tag/tts-models for a list of pre-trained models.

The doc can be found at https://k2-fsa.github.io/sherpa/onnx/tts/pretrained_models/index.html

Note if you use arm32, then it would be slow to run our models.

If you use Raspberry Pi 4B, then the speed would be acceptable for English TTS models.

yegeli commented 3 months ago

我们仅支持 VITS。 请参阅 https://github.com/k2-fsa/sherpa-onnx/releases/tag/tts-models 获取预训练模型列表。

该文档可在https://k2-fsa.github.io/sherpa/onnx/tts/pretrained_models/index.html找到

请注意,如果您使用 arm32,那么运行我们的模型就会很慢。

如果你使用 Raspberry Pi 4B,那么速度对于英语 TTS 模型来说是可以接受的。

I would like to know the current location of the C++ code for this model.

csukuangfj commented 3 months ago

Please see https://github.com/k2-fsa/sherpa-onnx/tree/master/sherpa-onnx/csrc

csukuangfj commented 3 months ago

The entry point is

yegeli commented 3 months ago

入口点是

Thank you. I encountered an error while installing Sherpa-ONNX locally on Ubuntu using the command. command: git clone https://github.com/k2-fsa/sherpa-onnx cd sherpa-onnx mkdir build cd build cmake -DCMAKE_BUILD_TYPE=Release .. make -j6 error: collect2: error: ld returned 1 exit status make[2]: [sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-alsa-offline-audio-tagging.dir/build.make:110: bin/sherpa-onnx-alsa-offline-audio-tagging] Error 1 make[1]: [CMakeFiles/Makefile2:1575: sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-alsa-offline-audio-tagging.dir/all] Error 2 make: *** [Makefile:152: all] Error 2

why?

csukuangfj commented 3 months ago

Could you post all of the logs?

yegeli commented 3 months ago

collect2: error: ld returned 1 exit status make[2]: [sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-alsa-offline-audio-tagging.dir/build.make:110: bin/sherpa-onnx-alsa-offline-audio-tagging] Error 1 make[1]: [CMakeFiles/Makefile2:1575: sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-alsa-offline-audio-tagging.dir/all] Error 2 make: *** [Makefile:152: all] Error 2

make Scanning dependencies of target ucd [ 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 C object _deps/espeak_ng-build/src/ucd-tools/CMakeFiles/ucd.dir/src/ctype.c.o [ 1%] Building C object _deps/espeak_ng-build/src/ucd-tools/CMakeFiles/ucd.dir/src/proplist.c.o [ 2%] Building C object _deps/espeak_ng-build/src/ucd-tools/CMakeFiles/ucd.dir/src/scripts.c.o [ 2%] Building C object _deps/espeak_ng-build/src/ucd-tools/CMakeFiles/ucd.dir/src/tostring.c.o [ 2%] Linking C static library ../../../../lib/libucd.a [ 2%] Built target ucd Scanning dependencies of target espeak-ng [ 4%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/common.c.o [ 4%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/mnemonics.c.o [ 4%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/error.c.o [ 4%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/ieee80.c.o [ 5%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/compiledata.c.o [ 5%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/compiledict.c.o [ 5%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/dictionary.c.o [ 5%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/encoding.c.o [ 5%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/intonation.c.o [ 6%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/langopts.c.o [ 6%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/numbers.c.o [ 6%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/phoneme.c.o [ 6%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/phonemelist.c.o [ 8%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/readclause.c.o [ 8%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/setlengths.c.o [ 8%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/soundicon.c.o [ 8%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/spect.c.o [ 8%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/ssml.c.o [ 9%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/synthdata.c.o [ 9%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/synthesize.c.o [ 9%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/tr_languages.c.o [ 9%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/translate.c.o [ 10%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/translateword.c.o [ 10%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/voices.c.o [ 10%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/wavegen.c.o [ 10%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/speech.c.o [ 10%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/espeak_api.c.o [ 12%] Linking C static library ../../../../lib/libespeak-ng.a [ 12%] Built target espeak-ng Scanning dependencies of target piper_phonemize [ 13%] Building CXX object _deps/piper_phonemize-build/CMakeFiles/piper_phonemize.dir/src/phonemize.cpp.o [ 13%] Building CXX object _deps/piper_phonemize-build/CMakeFiles/piper_phonemize.dir/src/phoneme_ids.cpp.o [ 13%] Building CXX object _deps/piper_phonemize-build/CMakeFiles/piper_phonemize.dir/src/tashkeel.cpp.o [ 13%] Building CXX object _deps/piper_phonemize-build/CMakeFiles/piper_phonemize.dir/src/shared.cpp.o [ 14%] Linking CXX static library ../../lib/libpiper_phonemize.a [ 14%] Built target piper_phonemize Scanning dependencies of target kaldi-native-fbank-core [ 14%] Building CXX object _deps/kaldi_native_fbank-build/kaldi-native-fbank/csrc/CMakeFiles/kaldi-native-fbank-core.dir/feature-fbank.cc.o [ 14%] Building CXX object _deps/kaldi_native_fbank-build/kaldi-native-fbank/csrc/CMakeFiles/kaldi-native-fbank-core.dir/feature-functions.cc.o [ 16%] Building CXX object _deps/kaldi_native_fbank-build/kaldi-native-fbank/csrc/CMakeFiles/kaldi-native-fbank-core.dir/feature-mfcc.cc.o [ 16%] Building CXX object _deps/kaldi_native_fbank-build/kaldi-native-fbank/csrc/CMakeFiles/kaldi-native-fbank-core.dir/feature-window.cc.o [ 16%] Building CXX object _deps/kaldi_native_fbank-build/kaldi-native-fbank/csrc/CMakeFiles/kaldi-native-fbank-core.dir/fftsg.cc.o [ 16%] Building CXX object _deps/kaldi_native_fbank-build/kaldi-native-fbank/csrc/CMakeFiles/kaldi-native-fbank-core.dir/kaldi-math.cc.o [ 17%] Building CXX object _deps/kaldi_native_fbank-build/kaldi-native-fbank/csrc/CMakeFiles/kaldi-native-fbank-core.dir/mel-computations.cc.o [ 17%] Building CXX object _deps/kaldi_native_fbank-build/kaldi-native-fbank/csrc/CMakeFiles/kaldi-native-fbank-core.dir/online-feature.cc.o [ 17%] Building CXX object _deps/kaldi_native_fbank-build/kaldi-native-fbank/csrc/CMakeFiles/kaldi-native-fbank-core.dir/rfft.cc.o [ 17%] Building CXX object _deps/kaldi_native_fbank-build/kaldi-native-fbank/csrc/CMakeFiles/kaldi-native-fbank-core.dir/whisper-feature.cc.o [ 17%] Linking CXX static library ../../../../lib/libkaldi-native-fbank-core.a [ 17%] Built target kaldi-native-fbank-core Scanning dependencies of target fst [ 17%] Building CXX object _deps/openfst-build/src/lib/CMakeFiles/fst.dir/compat.cc.o [ 17%] Building CXX object _deps/openfst-build/src/lib/CMakeFiles/fst.dir/flags.cc.o [ 17%] Building CXX object _deps/openfst-build/src/lib/CMakeFiles/fst.dir/fst.cc.o [ 18%] Building CXX object _deps/openfst-build/src/lib/CMakeFiles/fst.dir/properties.cc.o [ 18%] Building CXX object _deps/openfst-build/src/lib/CMakeFiles/fst.dir/symbol-table.cc.o [ 18%] Building CXX object _deps/openfst-build/src/lib/CMakeFiles/fst.dir/util.cc.o [ 18%] Building CXX object _deps/openfst-build/src/lib/CMakeFiles/fst.dir/symbol-table-ops.cc.o [ 20%] Building CXX object _deps/openfst-build/src/lib/CMakeFiles/fst.dir/mapped-file.cc.o [ 20%] Building CXX object _deps/openfst-build/src/lib/CMakeFiles/fst.dir/weight.cc.o [ 20%] Linking CXX static library ../../../../lib/libsherpa-onnx-fst.a [ 20%] Built target fst Scanning dependencies of target fstfar [ 20%] Building CXX object _deps/openfst-build/src/extensions/far/CMakeFiles/fstfar.dir/sttable.cc.o [ 20%] Building CXX object _deps/openfst-build/src/extensions/far/CMakeFiles/fstfar.dir/stlist.cc.o [ 21%] Linking CXX static library ../../../../../lib/libsherpa-onnx-fstfar.a [ 21%] Built target fstfar Scanning dependencies of target kaldifst_core [ 22%] Building CXX object _deps/kaldifst-build/kaldifst/csrc/CMakeFiles/kaldifst_core.dir/context-fst.cc.o [ 22%] Building CXX object _deps/kaldifst-build/kaldifst/csrc/CMakeFiles/kaldifst_core.dir/kaldi-fst-io.cc.o [ 22%] Building CXX object _deps/kaldifst-build/kaldifst/csrc/CMakeFiles/kaldifst_core.dir/kaldi-holder.cc.o [ 22%] Building CXX object _deps/kaldifst-build/kaldifst/csrc/CMakeFiles/kaldifst_core.dir/kaldi-io.cc.o [ 24%] Building CXX object _deps/kaldifst-build/kaldifst/csrc/CMakeFiles/kaldifst_core.dir/kaldi-math.cc.o [ 24%] Building CXX object _deps/kaldifst-build/kaldifst/csrc/CMakeFiles/kaldifst_core.dir/kaldi-semaphore.cc.o [ 24%] Building CXX object _deps/kaldifst-build/kaldifst/csrc/CMakeFiles/kaldifst_core.dir/kaldi-table.cc.o [ 24%] Building CXX object _deps/kaldifst-build/kaldifst/csrc/CMakeFiles/kaldifst_core.dir/parse-options.cc.o [ 25%] Building CXX object _deps/kaldifst-build/kaldifst/csrc/CMakeFiles/kaldifst_core.dir/text-normalizer.cc.o [ 25%] Building CXX object _deps/kaldifst-build/kaldifst/csrc/CMakeFiles/kaldifst_core.dir/text-utils.cc.o [ 25%] Linking CXX static library ../../../../lib/libsherpa-onnx-kaldifst-core.a [ 25%] Built target kaldifst_core Scanning dependencies of target kaldi-decoder-core [ 26%] Building CXX object _deps/kaldi_decoder-build/kaldi-decoder/csrc/CMakeFiles/kaldi-decoder-core.dir/decodable-ctc.cc.o [ 26%] Building CXX object _deps/kaldi_decoder-build/kaldi-decoder/csrc/CMakeFiles/kaldi-decoder-core.dir/eigen.cc.o [ 26%] Building CXX object _deps/kaldi_decoder-build/kaldi-decoder/csrc/CMakeFiles/kaldi-decoder-core.dir/faster-decoder.cc.o [ 26%] Building CXX object _deps/kaldi_decoder-build/kaldi-decoder/csrc/CMakeFiles/kaldi-decoder-core.dir/lattice-faster-decoder.cc.o [ 28%] Building CXX object _deps/kaldi_decoder-build/kaldi-decoder/csrc/CMakeFiles/kaldi-decoder-core.dir/lattice-simple-decoder.cc.o [ 28%] Building CXX object _deps/kaldi_decoder-build/kaldi-decoder/csrc/CMakeFiles/kaldi-decoder-core.dir/simple-decoder.cc.o [ 28%] Linking CXX static library ../../../../lib/libkaldi-decoder-core.a [ 28%] Built target kaldi-decoder-core Scanning dependencies of target ssentencepiece_core [ 29%] Building CXX object _deps/simple-sentencepiece-build/ssentencepiece/csrc/CMakeFiles/ssentencepiece_core.dir/ssentencepiece.cc.o [ 29%] Linking CXX static library ../../../../lib/libssentencepiece_core.a [ 29%] Built target ssentencepiece_core Scanning dependencies of target sherpa-onnx-core [ 29%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/base64-decode.cc.o [ 29%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/cat.cc.o [ 29%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/circular-buffer.cc.o [ 30%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/context-graph.cc.o [ 30%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/endpoint.cc.o [ 30%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/features.cc.o [ 30%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/file-utils.cc.o [ 30%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/hypothesis.cc.o [ 32%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/keyword-spotter-impl.cc.o [ 32%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/keyword-spotter.cc.o [ 32%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-ctc-fst-decoder-config.cc.o [ 32%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-ctc-fst-decoder.cc.o [ 33%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-ctc-greedy-search-decoder.cc.o [ 33%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-ctc-model.cc.o [ 33%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-lm-config.cc.o [ 33%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-lm.cc.o [ 33%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-model-config.cc.o [ 34%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-nemo-enc-dec-ctc-model-config.cc.o [ 34%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-nemo-enc-dec-ctc-model.cc.o [ 34%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-paraformer-greedy-search-decoder.cc.o [ 34%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-paraformer-model-config.cc.o [ 36%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-paraformer-model.cc.o [ 36%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-recognizer-impl.cc.o [ 36%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-recognizer.cc.o [ 36%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-rnn-lm.cc.o [ 37%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-sense-voice-model-config.cc.o [ 37%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-sense-voice-model.cc.o [ 37%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-stream.cc.o [ 37%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-tdnn-ctc-model.cc.o [ 37%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-tdnn-model-config.cc.o [ 38%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-telespeech-ctc-model.cc.o [ 38%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-transducer-greedy-search-decoder.cc.o [ 38%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-transducer-greedy-search-nemo-decoder.cc.o [ 38%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-transducer-model-config.cc.o [ 40%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-transducer-model.cc.o [ 40%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-transducer-modified-beam-search-decoder.cc.o [ 40%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-transducer-nemo-model.cc.o [ 40%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-wenet-ctc-model-config.cc.o [ 40%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-wenet-ctc-model.cc.o [ 41%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-whisper-greedy-search-decoder.cc.o [ 41%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-whisper-model-config.cc.o [ 41%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-whisper-model.cc.o [ 41%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-zipformer-ctc-model-config.cc.o [ 42%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-zipformer-ctc-model.cc.o [ 42%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-conformer-transducer-model.cc.o [ 42%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-ctc-fst-decoder-config.cc.o [ 42%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-ctc-fst-decoder.cc.o [ 42%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-ctc-greedy-search-decoder.cc.o [ 44%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-ctc-model.cc.o [ 44%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-lm-config.cc.o [ 44%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-lm.cc.o [ 44%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-lstm-transducer-model.cc.o [ 45%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-model-config.cc.o [ 45%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-nemo-ctc-model-config.cc.o [ 45%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-nemo-ctc-model.cc.o [ 45%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-paraformer-model-config.cc.o [ 45%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-paraformer-model.cc.o [ 46%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-recognizer-impl.cc.o [ 46%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-recognizer.cc.o [ 46%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-rnn-lm.cc.o [ 46%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-stream.cc.o [ 48%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-transducer-decoder.cc.o [ 48%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-transducer-greedy-search-decoder.cc.o [ 48%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-transducer-model-config.cc.o [ 48%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-transducer-model.cc.o [ 49%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-transducer-modified-beam-search-decoder.cc.o [ 49%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-transducer-nemo-model.cc.o [ 49%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-transducer-greedy-search-nemo-decoder.cc.o [ 49%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-wenet-ctc-model-config.cc.o [ 49%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-wenet-ctc-model.cc.o [ 50%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-zipformer-transducer-model.cc.o [ 50%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-zipformer2-ctc-model-config.cc.o [ 50%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-zipformer2-ctc-model.cc.o [ 50%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-zipformer2-transducer-model.cc.o [ 52%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/onnx-utils.cc.o [ 52%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/packed-sequence.cc.o [ 52%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/pad-sequence.cc.o [ 52%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/parse-options.cc.o [ 52%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/provider-config.cc.o [ 53%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/provider.cc.o [ 53%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/resample.cc.o [ 53%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/session.cc.o [ 53%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/silero-vad-model-config.cc.o [ 54%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/silero-vad-model.cc.o [ 54%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/slice.cc.o [ 54%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/spoken-language-identification-impl.cc.o [ 54%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/spoken-language-identification.cc.o [ 54%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/stack.cc.o [ 56%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/symbol-table.cc.o [ 56%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/text-utils.cc.o [ 56%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/transducer-keyword-decoder.cc.o [ 56%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/transpose.cc.o [ 57%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/unbind.cc.o [ 57%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/utils.cc.o [ 57%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/vad-model-config.cc.o [ 57%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/vad-model.cc.o [ 58%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/voice-activity-detector.cc.o [ 58%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/wave-reader.cc.o [ 58%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/wave-writer.cc.o [ 58%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/speaker-embedding-extractor-impl.cc.o [ 58%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/speaker-embedding-extractor-model.cc.o [ 60%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/speaker-embedding-extractor-nemo-model.cc.o [ 60%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/speaker-embedding-extractor.cc.o [ 60%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/speaker-embedding-manager.cc.o [ 60%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/audio-tagging-impl.cc.o [ 61%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/audio-tagging-label-file.cc.o [ 61%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/audio-tagging-model-config.cc.o [ 61%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/audio-tagging.cc.o [ 61%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-ced-model.cc.o [ 61%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-zipformer-audio-tagging-model-config.cc.o [ 62%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-zipformer-audio-tagging-model.cc.o [ 62%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-ct-transformer-model.cc.o [ 62%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-punctuation-impl.cc.o [ 62%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-punctuation-model-config.cc.o [ 64%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-punctuation.cc.o [ 64%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/jieba-lexicon.cc.o [ 64%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/lexicon.cc.o [ 64%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/melo-tts-lexicon.cc.o [ 64%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-tts-character-frontend.cc.o [ 65%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-tts-frontend.cc.o [ 65%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-tts-impl.cc.o [ 65%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-tts-model-config.cc.o [ 65%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-tts-vits-model-config.cc.o [ 66%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-tts-vits-model.cc.o [ 66%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-tts.cc.o [ 66%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/piper-phonemize-lexicon.cc.o [ 66%] Linking CXX static library ../../lib/libsherpa-onnx-core.a [ 66%] Built target sherpa-onnx-core Scanning dependencies of target sherpa-onnx-alsa-offline-audio-tagging [ 66%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-alsa-offline-audio-tagging.dir/sherpa-onnx-alsa-offline-audio-tagging.cc.o [ 66%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-alsa-offline-audio-tagging.dir/alsa.cc.o [ 68%] Linking CXX executable ../../bin/sherpa-onnx-alsa-offline-audio-tagging /usr/bin/ld: CMakeFiles/sherpa-onnx-alsa-offline-audio-tagging.dir/sherpa-onnx-alsa-offline-audio-tagging.cc.o: in function main': sherpa-onnx-alsa-offline-audio-tagging.cc:(.text.startup+0x5d7): undefined reference tostd::cxx11::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(onnxruntime_c_api.cc.o): in function `std::_Sp_counted_ptr_inplace<onnxruntime::IAllocatorImplWrappingOrtAllocator, std::allocator, (gnu_cxx::_Lock_policy)2>::_M_get_deleter(std::type_info const&)': onnxruntime_c_api.cc:(.text._ZNSt23_Sp_counted_ptr_inplaceIN11onnxruntime34IAllocatorImplWrappingOrtAllocatorESaIS1_ELN9gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info[_ZNSt23_Sp_counted_ptr_inplaceIN11onnxruntime34IAllocatorImplWrappingOrtAllocatorESaIS1_ELN9gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info]+0x13): undefined reference to std::_Sp_make_shared_tag::_S_eq(std::type_info const&)' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(onnxruntime_c_api.cc.o): in functionOrtApis::CreateArenaCfgV2(char const const, unsigned long const*, unsigned long, OrtArenaCfg*)': onnxruntime_c_api.cc:(.text._ZN7OrtApis16CreateArenaCfgV2EPKPKcPKmmPP11OrtArenaCfg+0x190): undefined reference to std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(onnxruntime_c_api.cc.o): in functionCreateTensorImpl(onnxruntime::DataTypeImpl const, long const, unsigned long, OrtMemoryInfo const, void*, unsigned long, OrtValue&)': onnxruntime_c_api.cc:(.text._Z16CreateTensorImplPKN11onnxruntime12DataTypeImplEPKlmPK13OrtMemoryInfoPvmR8OrtValue+0x2f5): undefined reference to std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(inference_session.cc.o): in functionstd::_Sp_counted_ptr_inplace<onnxruntime::CPUAllocator, std::allocator, (gnu_cxx::_Lock_policy)2>::_M_get_deleter(std::type_info const&)': inference_session.cc:(.text._ZNSt23_Sp_counted_ptr_inplaceIN11onnxruntime12CPUAllocatorESaIS1_ELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info[_ZNSt23_Sp_counted_ptr_inplaceIN11onnxruntime12CPUAllocatorESaIS1_ELN9gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info]+0x13): undefined reference to std::_Sp_make_shared_tag::_S_eq(std::type_info const&)' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(inference_session.cc.o): in functiononnxruntime::CheckTypes(onnxruntime::DataTypeImpl const, onnxruntime::DataTypeImpl const, std::string const&, char const)': inference_session.cc:(.text._ZN11onnxruntimeL10CheckTypesEPKNS_12DataTypeImplES2_RKSsPKc+0x45): undefined reference to std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(inference_session.cc.o): in functiononnxruntime::InferenceSession::ShrinkMemoryArenas(gsl::span<std::shared_ptr const, 18446744073709551615ul>)': inference_session.cc:(.text._ZN11onnxruntime16InferenceSession18ShrinkMemoryArenasEN3gsl4spanIKSt10shared_ptrINS_10IAllocatorEELm18446744073709551615EEE+0x1d1): undefined reference to std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()' /usr/bin/ld: inference_session.cc:(.text._ZN11onnxruntime16InferenceSession18ShrinkMemoryArenasEN3gsl4spanIKSt10shared_ptrINS_10IAllocatorEELm18446744073709551615EEE+0x202): undefined reference tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: inference_session.cc:(.text._ZN11onnxruntime16InferenceSession18ShrinkMemoryArenasEN3gsl4spanIKSt10shared_ptrINS_10IAllocatorEELm18446744073709551615EEE+0x2e0): undefined reference to std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(inference_session.cc.o): in functiononnxruntime::InferenceSession::CheckShapes(std::string const&, onnxruntime::TensorShape const&, onnxruntime::TensorShape const&, char const) const': inference_session.cc:(.text._ZNK11onnxruntime16InferenceSession11CheckShapesERKSsRKNS_11TensorShapeES5_PKc+0xee): undefined reference to std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(inference_session.cc.o):inference_session.cc:(.text._ZNK11onnxruntime16InferenceSession11CheckShapesERKSsRKNS_11TensorShapeES5_PKc+0x249): more undefined references tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' follow /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(inference_session.cc.o): in function onnxruntime::InferenceSession::ConstructorCommon(onnxruntime::SessionOptions const&, onnxruntime::Environment const&)': inference_session.cc:(.text._ZN11onnxruntime16InferenceSession17ConstructorCommonERKNS_14SessionOptionsERKNS_11EnvironmentE+0x81e): undefined reference tostd::basic_stringstream<char, std::char_traits, std::allocator >::basic_stringstream()' /usr/bin/ld: inference_session.cc:(.text._ZN11onnxruntime16InferenceSession17ConstructorCommonERKNS_14SessionOptionsERKNS_11EnvironmentE+0xcc6): undefined reference to std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(inference_session.cc.o): in functiononnxruntime::InferenceSession::LoadOnnxModel(std::string const&)': inference_session.cc:(.text._ZN11onnxruntime16InferenceSession13LoadOnnxModelERKSs+0xc7): undefined reference to std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(inference_session.cc.o): in functiononnxruntime::InferenceSession::LoadOrtModelWithLoader(std::function<onnxruntime::common::Status ()>)': inference_session.cc:(.text._ZN11onnxruntime16InferenceSession22LoadOrtModelWithLoaderESt8functionIFNS_6common6StatusEvEE+0x6ec): undefined reference to std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()' /usr/bin/ld: inference_session.cc:(.text._ZN11onnxruntime16InferenceSession22LoadOrtModelWithLoaderESt8functionIFNS_6common6StatusEvEE+0x88c): undefined reference tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: inference_session.cc:(.text._ZN11onnxruntime16InferenceSession22LoadOrtModelWithLoaderESt8functionIFNS_6common6StatusEvEE+0xaa3): undefined reference to std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(inference_session.cc.o): in functiononnxruntime::InferenceSession::SaveToOrtFormat(std::string const&) const': inference_session.cc:(.text._ZNK11onnxruntime16InferenceSession15SaveToOrtFormatERKSs+0xc87): undefined reference to std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(inference_session.cc.o):inference_session.cc:(.text._ZN11onnxruntime16InferenceSession10InitializeEv+0x121b): more undefined references tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' follow /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(custom_ops.cc.o): in function std::_Sp_counted_ptr_inplace<onnxruntime::KernelRegistry, std::allocator<onnxruntime::KernelRegistry>, (__gnu_cxx::_Lock_policy)2>::_M_get_deleter(std::type_info const&)': custom_ops.cc:(.text._ZNSt23_Sp_counted_ptr_inplaceIN11onnxruntime14KernelRegistryESaIS1_ELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info[_ZNSt23_Sp_counted_ptr_inplaceIN11onnxruntime14KernelRegistryESaIS1_ELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info]+0x13): undefined reference tostd::_Sp_make_shared_tag::_S_eq(std::type_info const&)' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(custom_ops.cc.o): in function std::_Sp_counted_ptr_inplace<onnxruntime::OnnxRuntimeOpSchemaRegistry, std::allocator<onnxruntime::OnnxRuntimeOpSchemaRegistry>, (__gnu_cxx::_Lock_policy)2>::_M_get_deleter(std::type_info const&)': custom_ops.cc:(.text._ZNSt23_Sp_counted_ptr_inplaceIN11onnxruntime27OnnxRuntimeOpSchemaRegistryESaIS1_ELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info[_ZNSt23_Sp_counted_ptr_inplaceIN11onnxruntime27OnnxRuntimeOpSchemaRegistryESaIS1_ELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info]+0x13): undefined reference tostd::_Sp_make_shared_tag::_S_eq(std::type_info const&)' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(custom_ops.cc.o): in function std::_Sp_counted_ptr_inplace<onnxruntime::CustomRegistry, std::allocator<onnxruntime::CustomRegistry>, (__gnu_cxx::_Lock_policy)2>::_M_get_deleter(std::type_info const&)': custom_ops.cc:(.text._ZNSt23_Sp_counted_ptr_inplaceIN11onnxruntime14CustomRegistryESaIS1_ELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info[_ZNSt23_Sp_counted_ptr_inplaceIN11onnxruntime14CustomRegistryESaIS1_ELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info]+0x13): undefined reference tostd::_Sp_make_shared_tag::_S_eq(std::type_info const&)' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(custom_ops.cc.o): in function OrtApis::Logger_LogMessage(OrtLogger const*, OrtLoggingLevel, char const*, char const*, int, char const*)': custom_ops.cc:(.text._ZN7OrtApis17Logger_LogMessageEPK9OrtLogger15OrtLoggingLevelPKcS5_iS5_+0xd6): undefined reference tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(custom_ops.cc.o): in function std::string onnxruntime::detail::MakeStringImpl<char const*, char const*, char const*>(char const* const&, char const* const&, char const* const&)': custom_ops.cc:(.text._ZN11onnxruntime6detail14MakeStringImplIJPKcS3_S3_EEESsDpRKT_[_ZN11onnxruntime6detail14MakeStringImplIJPKcS3_S3_EEESsDpRKT_]+0x24): undefined reference tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(custom_ops.cc.o): in function std::string onnxruntime::detail::MakeStringImpl<char const*, std::string, char const*, char const*, char const*, char const*, char const*>(char const* const&, std::string const&, char const* const&, char const* const&, char const* const&, char const* const&, char const* const&)': custom_ops.cc:(.text._ZN11onnxruntime6detail14MakeStringImplIJPKcSsS3_S3_S3_S3_S3_EEESsDpRKT_[_ZN11onnxruntime6detail14MakeStringImplIJPKcSsS3_S3_S3_S3_S3_EEESsDpRKT_]+0x2d): undefined reference tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(custom_ops.cc.o): in function std::string onnxruntime::detail::MakeStringImpl<std::string, char const*, char const*, unsigned long, char const*, char const*>(std::string const&, char const* const&, char const* const&, unsigned long const&, char const* const&, char const* const&)': custom_ops.cc:(.text._ZN11onnxruntime6detail14MakeStringImplIJSsPKcS3_mS3_S3_EEESsDpRKT_[_ZN11onnxruntime6detail14MakeStringImplIJSsPKcS3_mS3_S3_EEESsDpRKT_]+0x2d): undefined reference tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(custom_ops.cc.o): in function onnxruntime::IsCompatible(onnx::OpSchema const&, OrtCustomOp const*)': custom_ops.cc:(.text._ZN11onnxruntime12IsCompatibleERKN4onnx8OpSchemaEPK11OrtCustomOp+0x358): undefined reference tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(custom_ops.cc.o):custom_ops.cc:(.text._ZNK20OrtShapeInferContext18SetOutputTypeShapeEmPK25OrtTensorTypeAndShapeInfo[_ZNK20OrtShapeInferContext18SetOutputTypeShapeEmPK25OrtTensorTypeAndShapeInfo]+0x1ba): more undefined references to std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()' follow /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(schema.cc.o): in functionstd::string onnx::MakeString<std::string, char [24], std::string>(std::string const&, char const (&) [24], std::string const&)': schema.cc:(.text._ZN4onnx10MakeStringIJSsA24cSsEEESsDpRKT[_ZN4onnx10MakeStringIJSsA24cSsEEESsDpRKT]+0x22): undefined reference to std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(schema.cc.o): in functionstd::string onnx::MakeString<char [12], std::string, char [27]>(char const (&) [12], std::string const&, char const (&) [27])': schema.cc:(.text._ZN4onnx10MakeStringIJA12_cSsA27cEEESsDpRKT[_ZN4onnx10MakeStringIJA12_cSsA27cEEESsDpRKT]+0x29): undefined reference to std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(schema.cc.o): in functionstd::string onnx::MakeString<char [12], std::string, char [32]>(char const (&) [12], std::string const&, char const (&) [32])': schema.cc:(.text._ZN4onnx10MakeStringIJA12_cSsA32cEEESsDpRKT[_ZN4onnx10MakeStringIJA12_cSsA32cEEESsDpRKT]+0x29): undefined reference to std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(schema.cc.o): in functiononnx::OpSchemaRegistry::OpSchemaRegisterOnce::CheckDomainAndVersionToRegister(onnx::OpSchema const&, std::string const&, std::string const&)': schema.cc:(.text._ZN4onnx16OpSchemaRegistry20OpSchemaRegisterOnce31CheckDomainAndVersionToRegisterERKNS8OpSchemaERKSsS6[_ZN4onnx16OpSchemaRegistry20OpSchemaRegisterOnce31CheckDomainAndVersionToRegisterERKNS8OpSchemaERKSsS6]+0x1d8): undefined reference to std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()' /usr/bin/ld: schema.cc:(.text._ZN4onnx16OpSchemaRegistry20OpSchemaRegisterOnce31CheckDomainAndVersionToRegisterERKNS_8OpSchemaERKSsS6_[_ZN4onnx16OpSchemaRegistry20OpSchemaRegisterOnce31CheckDomainAndVersionToRegisterERKNS_8OpSchemaERKSsS6_]+0x3e9): undefined reference tostd::basic_stringstream<char, std::char_traits, std::allocator >::basic_stringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(schema.cc.o):schema.cc:(.text.unlikely._ZNK4onnx8OpSchema20CheckInputOutputTypeERNS_16InferenceContextE+0x1cb): more undefined references to std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()' follow /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(model.cc.o): in functionstd::_Sp_counted_ptr_inplace<onnxruntime::SchemaRegistryManager, std::allocator, (gnu_cxx::_Lock_policy)2>::_M_get_deleter(std::type_info const&)': model.cc:(.text._ZNSt23_Sp_counted_ptr_inplaceIN11onnxruntime21SchemaRegistryManagerESaIS1_ELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info[_ZNSt23_Sp_counted_ptr_inplaceIN11onnxruntime21SchemaRegistryManagerESaIS1_ELN9gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info]+0x13): undefined reference to std::_Sp_make_shared_tag::_S_eq(std::type_info const&)' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(model.cc.o): in functionstd::_Sp_counted_ptr_inplace<onnxruntime::Model, std::allocator, (gnu_cxx::_Lock_policy)2>::_M_get_deleter(std::type_info const&)': model.cc:(.text._ZNSt23_Sp_counted_ptr_inplaceIN11onnxruntime5ModelESaIS1_ELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info[_ZNSt23_Sp_counted_ptr_inplaceIN11onnxruntime5ModelESaIS1_ELN9gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info]+0x13): undefined reference to std::_Sp_make_shared_tag::_S_eq(std::type_info const&)' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(model.cc.o): in functionstd::string onnxruntime::detail::MakeStringImpl<char const, char const, char const, std::string>(char const const&, char const const&, char const const&, std::string const&)': model.cc:(.text._ZN11onnxruntime6detail14MakeStringImplIJPKcS3_S3SsEEESsDpRKT[_ZN11onnxruntime6detail14MakeStringImplIJPKcS3_S3SsEEESsDpRKT]+0x29): undefined reference to std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(model.cc.o): in functionstd::string onnxruntime::detail::MakeStringImpl<char const, int, char const, std::string, char const, int, char const>(char const const&, int const&, char const const&, std::string const&, char const const&, int const&, char const const&)': model.cc:(.text._ZN11onnxruntime6detail14MakeStringImplIJPKciS3_SsS3_iS3EEESsDpRKT[_ZN11onnxruntime6detail14MakeStringImplIJPKciS3_SsS3_iS3EEESsDpRKT]+0x2d): undefined reference to std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(model.cc.o): in functiononnxruntime::model_load_utils::ValidateOpsetForDomain(std::unordered_map<std::string, int, std::hash, std::equal_to, std::allocator<std::pair<std::string const, int> > > const&, onnxruntime::logging::Logger const&, bool, std::string const&, int)': model.cc:(.text._ZN11onnxruntime16model_load_utils22ValidateOpsetForDomainERKSt13unordered_mapISsiSt4hashISsESt8equal_toISsESaISt4pairIKSsiEEERKNS_7logging6LoggerEbRS7_i[_ZN11onnxruntime16model_load_utils22ValidateOpsetForDomainERKSt13unordered_mapISsiSt4hashISsESt8equal_toISsESaISt4pairIKSsiEEERKNS_7logging6LoggerEbRS7_i]+0x176): undefined reference to std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(model.cc.o): in functionstd::string onnxruntime::detail::MakeStringImpl<char const, long, char const, onnx::Version>(char const const&, long const&, char const const&, onnx::Version const&)': model.cc:(.text._ZN11onnxruntime6detail14MakeStringImplIJPKclS3N4onnx7VersionEEEESsDpRKT[_ZN11onnxruntime6detail14MakeStringImplIJPKclS3N4onnx7VersionEEEESsDpRKT]+0x29): undefined reference to std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(model.cc.o): in functionstd::string onnxruntime::detail::MakeStringImpl<char const, std::string, char const>(char const const&, std::string const&, char const const&)': model.cc:(.text._ZN11onnxruntime6detail14MakeStringImplIJPKcSsS3EEESsDpRKT[_ZN11onnxruntime6detail14MakeStringImplIJPKcSsS3EEESsDpRKT]+0x24): undefined reference to std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(model.cc.o):model.cc:(.text._ZN11onnxruntime5Model17LoadFromOrtFormatERKNS_3fbs5ModelEPKSt4listISt10shared_ptrINS_30IOnnxRuntimeOpSchemaCollectionEESaIS8_EERKNS_20OrtFormatLoadOptionsERKNS_7logging6LoggerERSt10unique_ptrIS0_St14default_deleteIS0_EE+0xe32): more undefined references tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' follow /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(graph.cc.o): in function onnxruntime::Graph::InferAndVerifyTypeMatch(onnxruntime::Node&, onnx::OpSchema const&, onnxruntime::Graph::ResolveOptions const&)': graph.cc:(.text._ZN11onnxruntime5Graph23InferAndVerifyTypeMatchERNS_4NodeERKN4onnx8OpSchemaERKNS0_14ResolveOptionsE+0x124f): undefined reference tostd::basic_stringstream<char, std::char_traits, std::allocator >::basic_stringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(graph.cc.o): in function onnxruntime::Graph::InjectExternalInitializedTensors(onnxruntime::InlinedHashMap<std::string, OrtValue, std::allocator<std::pair<std::string const, OrtValue> > > const&) [clone .cold]': graph.cc:(.text.unlikely._ZN11onnxruntime5Graph32InjectExternalInitializedTensorsERKNS_14InlinedHashMapISs8OrtValueSaISt4pairIKSsS2_EEEE+0xdf): undefined reference tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(graph.cc.o): in function onnxruntime::Graph::FinalizeFuseSubGraph(onnxruntime::IndexedSubGraph const&, onnxruntime::Node&) [clone .cold]': graph.cc:(.text.unlikely._ZN11onnxruntime5Graph20FinalizeFuseSubGraphERKNS_15IndexedSubGraphERNS_4NodeE+0x26d): undefined reference tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(graph.cc.o): in function onnxruntime::Graph::LoadFromOrtFormat(onnxruntime::fbs::Graph const&, onnxruntime::OrtFormatLoadOptions const&)': graph.cc:(.text._ZN11onnxruntime5Graph17LoadFromOrtFormatERKNS_3fbs5GraphERKNS_20OrtFormatLoadOptionsE+0x5dc): undefined reference tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: graph.cc:(.text._ZN11onnxruntime5Graph17LoadFromOrtFormatERKNS_3fbs5GraphERKNS_20OrtFormatLoadOptionsE+0xe3e): undefined reference to std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(graph.cc.o): in functiononnxruntime::Graph::Graph(onnxruntime::Model const&, onnx::GraphProto, std::unordered_map<std::string, int, std::hash, std::equal_to, std::allocator<std::pair<std::string const, int> > > const&, long, std::shared_ptr, onnxruntime::Graph, onnxruntime::Node const, onnxruntime::logging::Logger const&, bool)': graph.cc:(.text._ZN11onnxruntime5GraphC2ERKNS_5ModelEPN4onnx10GraphProtoERKSt13unordered_mapISsiSt4hashISsESt8equal_toISsESaISt4pairIKSsiEEElSt10shared_ptrINS_30IOnnxRuntimeOpSchemaCollectionEEPS0_PKNS_4NodeERKNS_7logging6LoggerEb+0x102c): undefined reference to std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(graph.cc.o):graph.cc:(.text._ZN11onnxruntime5GraphC2ERKNS_5ModelEPN4onnx10GraphProtoERKSt13unordered_mapISsiSt4hashISsESt8equal_toISsESaISt4pairIKSsiEEElSt10shared_ptrINS_30IOnnxRuntimeOpSchemaCollectionEEPS0_PKNS_4NodeERKNS_7logging6LoggerEb+0x14bc): more undefined references tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' follow /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(session_state.cc.o): in function std::_Sp_counted_ptr_inplace<std::unordered_map<std::string, onnxruntime::FuncManager::FuncInfo, std::hash<std::string>, std::equal_to<std::string>, std::allocator<std::pair<std::string const, onnxruntime::FuncManager::FuncInfo> > >, std::allocator<std::unordered_map<std::string, onnxruntime::FuncManager::FuncInfo, std::hash<std::string>, std::equal_to<std::string>, std::allocator<std::pair<std::string const, onnxruntime::FuncManager::FuncInfo> > > >, (__gnu_cxx::_Lock_policy)2>::_M_get_deleter(std::type_info const&)': session_state.cc:(.text._ZNSt23_Sp_counted_ptr_inplaceISt13unordered_mapISsN11onnxruntime11FuncManager8FuncInfoESt4hashISsESt8equal_toISsESaISt4pairIKSsS3_EEESaISC_ELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info[_ZNSt23_Sp_counted_ptr_inplaceISt13unordered_mapISsN11onnxruntime11FuncManager8FuncInfoESt4hashISsESt8equal_toISsESaISt4pairIKSsS3_EEESaISC_ELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info]+0x13): undefined reference tostd::_Sp_make_shared_tag::_S_eq(std::type_info const&)' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(session_state.cc.o): in function `onnxruntime::logging::Capture::Capture(onnxruntime::logging::Logger const&, onnxruntime::logging::Severity, char const, onnxruntime::logging::DataType, onnxruntime::CodeLocation const&) [clone .constprop.0]': session_state.cc:(.text._ZN11onnxruntime7logging7CaptureC2ERKNS0_6LoggerENS0_8SeverityEPKcNS0_8DataTypeERKNS_12CodeLocationE.constprop.0+0xc1): undefined reference to std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(session_state.cc.o): in functiononnxruntime::CalculateMemoryPatternsKey(gsl::span<OrtValue const, 18446744073709551615ul> const&) [clone .cold]': session_state.cc:(.text.unlikely._ZN11onnxruntimeL26CalculateMemoryPatternsKeyERKN3gsl4spanIK8OrtValueLm18446744073709551615EEE+0x27): undefined reference to std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(session_state.cc.o): in functiononnxruntime::KernelUseSharedPrePackedBuffers(onnxruntime::OpKernel&, int, onnxruntime::PrePackedWeights const&, std::string const&)': session_state.cc:(.text._ZN11onnxruntimeL31KernelUseSharedPrePackedBuffersERNS_8OpKernelEiRKNS_16PrePackedWeightsERKSs+0x52e): undefined reference to std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(session_state.cc.o): in functionstd::string onnxruntime::detail::MakeStringImpl<char const, std::string, char const, std::string, char const, unsigned long, char const, std::string>(char const const&, std::string const&, char const const&, std::string const&, char const const&, unsigned long const&, char const const&, std::string const&)': session_state.cc:(.text._ZN11onnxruntime6detail14MakeStringImplIJPKcSsS3_SsS3_mS3SsEEESsDpRKT[_ZN11onnxruntime6detail14MakeStringImplIJPKcSsS3_SsS3_mS3SsEEESsDpRKT]+0x2d): undefined reference to std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(session_state.cc.o): in functiononnxruntime::SessionState::PruneRemovableAttributes() [clone .cold]': session_state.cc:(.text.unlikely._ZN11onnxruntime12SessionState24PruneRemovableAttributesEv+0x24c): undefined reference to std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(session_state.cc.o):session_state.cc:(.text._ZN11onnxruntime12SessionState24PruneRemovableAttributesEv+0x3bc): more undefined references tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' follow /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(session_options.cc.o): in function std::_Sp_counted_ptr_inplace<onnxruntime::LibraryHandles, std::allocator<onnxruntime::LibraryHandles>, (__gnu_cxx::_Lock_policy)2>::_M_get_deleter(std::type_info const&)': session_options.cc:(.text._ZNSt23_Sp_counted_ptr_inplaceIN11onnxruntime14LibraryHandlesESaIS1_ELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info[_ZNSt23_Sp_counted_ptr_inplaceIN11onnxruntime14LibraryHandlesESaIS1_ELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info]+0x13): undefined reference tostd::_Sp_make_shared_tag::_S_eq(std::type_info const&)' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(prepacked_weights.cc.o): in function onnxruntime::PrePackedWeights::GetHash() const [clone .cold]': prepacked_weights.cc:(.text.unlikely._ZNK11onnxruntime16PrePackedWeights7GetHashEv+0x43): undefined reference tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(op_kernel.cc.o): in function onnxruntime::OpKernelContext::OpKernelContext(onnxruntime::IExecutionFrame*, onnxruntime::OpKernel const*, onnxruntime::Stream*, onnxruntime::concurrency::ThreadPool*, onnxruntime::logging::Logger const&) [clone .cold]': op_kernel.cc:(.text.unlikely._ZN11onnxruntime15OpKernelContextC2EPNS_15IExecutionFrameEPKNS_8OpKernelEPNS_6StreamEPNS_11concurrency10ThreadPoolERKNS_7logging6LoggerE+0xf2): undefined reference tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(mldata_type_utils.cc.o): in function onnxruntime::utils::GetMLDataType(onnxruntime::NodeArg const&) [clone .cold]': mldata_type_utils.cc:(.text.unlikely._ZN11onnxruntime5utils13GetMLDataTypeERKNS_7NodeArgE+0x43): undefined reference tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(kernel_def_builder.cc.o): in function onnxruntime::KernelDefBuilder::VariadicAlias(int, int) [clone .cold]': kernel_def_builder.cc:(.text.unlikely._ZN11onnxruntime16KernelDefBuilder13VariadicAliasEii+0x43): undefined reference tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(graph_partitioner.cc.o): in function onnxruntime::FunctionKernel::Compute(onnxruntime::OpKernelContext*) const': graph_partitioner.cc:(.text._ZNK11onnxruntime14FunctionKernel7ComputeEPNS_15OpKernelContextE[_ZNK11onnxruntime14FunctionKernel7ComputeEPNS_15OpKernelContextE]+0xae): undefined reference tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(graph_partitioner.cc.o):graph_partitioner.cc:(.text._ZN11onnxruntime14FunctionKernel6CreateERNS_11FuncManagerERKNS_12OpKernelInfoERSt10unique_ptrINS_8OpKernelESt14default_deleteIS7_EE[_ZN11onnxruntime14FunctionKernel6CreateERNS_11FuncManagerERKNS_12OpKernelInfoERSt10unique_ptrINS_8OpKernelESt14default_deleteIS7_EE]+0x1e1): more undefined references to std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()' follow /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(allocation_planner.cc.o): in functionstd::_Sp_counted_ptr_inplace<nlohmann::detail::output_string_adapter<char, std::string>, std::allocator<nlohmann::detail::output_string_adapter<char, std::string> >, (gnu_cxx::_Lock_policy)2>::_M_get_deleter(std::type_info const&)': allocation_planner.cc:(.text._ZNSt23_Sp_counted_ptr_inplaceIN8nlohmann6detail21output_string_adapterIcSsEESaIS3_ELN9gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info[_ZNSt23_Sp_counted_ptr_inplaceIN8nlohmann6detail21output_string_adapterIcSsEESaIS3_ELN9gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info]+0x13): undefined reference to std::_Sp_make_shared_tag::_S_eq(std::type_info const&)' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(allocation_planner.cc.o): in functiononnxruntime::PlannerImpl::UseCount(int)': allocation_planner.cc:(.text._ZN11onnxruntime11PlannerImpl8UseCountEi[_ZN11onnxruntime11PlannerImpl8UseCountEi]+0xa3): undefined reference to std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(allocation_planner.cc.o): in functionnlohmann::detail::serializer<nlohmann::basic_json<std::map, std::vector, std::string, bool, long, unsigned long, double, std::allocator, nlohmann::adl_serializer, std::vector<unsigned char, std::allocator > > >::dump_escaped(std::string const&, bool)': allocation_planner.cc:(.text._ZN8nlohmann6detail10serializerINS_10basic_jsonISt3mapSt6vectorSsblmdSaNS_14adl_serializerES4_IhSaIhEEEEE12dump_escapedERKSsb[_ZN8nlohmann6detail10serializerINS_10basic_jsonISt3mapSt6vectorSsblmdSaNS_14adl_serializerES4_IhSaIhEEEEE12dump_escapedERKSsb]+0x86a): undefined reference to std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(allocation_planner.cc.o): in functiononnxruntime::PlannerImpl::ComputeReuseCount()': allocation_planner.cc:(.text._ZN11onnxruntime11PlannerImpl17ComputeReuseCountEv[_ZN11onnxruntime11PlannerImpl17ComputeReuseCountEv]+0x5fc): undefined reference to std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()' /usr/bin/ld: allocation_planner.cc:(.text._ZN11onnxruntime11PlannerImpl17ComputeReuseCountEv[_ZN11onnxruntime11PlannerImpl17ComputeReuseCountEv]+0x999): undefined reference tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(allocation_planner.cc.o): in function onnxruntime::PlannerImpl::ComputeValueLocation()': allocation_planner.cc:(.text._ZN11onnxruntime11PlannerImpl20ComputeValueLocationEv[_ZN11onnxruntime11PlannerImpl20ComputeValueLocationEv]+0x4f3): undefined reference tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(allocation_planner.cc.o): in function onnxruntime::DeviceBasedPartitioner::Initialize()': allocation_planner.cc:(.text._ZN11onnxruntime22DeviceBasedPartitioner10InitializeEv+0x48c): undefined reference tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(allocation_planner.cc.o): in function onnxruntime::IGraphPartitioner::CreateGraphPartitioner(onnxruntime::logging::Logger const&, std::string const&)': allocation_planner.cc:(.text._ZN11onnxruntime17IGraphPartitioner22CreateGraphPartitionerERKNS_7logging6LoggerERKSs+0x1bc): undefined reference tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(cpu_provider_factory.cc.o): in function `std::_Sp_counted_ptr_inplace<onnxruntime::CpuProviderFactory, std::allocator, (__gnu_cxx::_Lock_policy)2>::_M_get_deleter(std::type_info const&)': cpu_provider_factory.cc:(.text._ZNSt23_Sp_counted_ptr_inplaceIN11onnxruntime18CpuProviderFactoryESaIS1_ELN9gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info[_ZNSt23_Sp_counted_ptr_inplaceIN11onnxruntime18CpuProviderFactoryESaIS1_ELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info]+0x13): undefined reference to std::_Sp_make_shared_tag::_S_eq(std::type_info const&)' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(loop.cc.o): in functiononnxruntime::Loop::Init(onnxruntime::OpKernelInfo const&) [clone .cold]': loop.cc:(.text.unlikely._ZN11onnxruntime4Loop4InitERKNS_12OpKernelInfoE+0x3e): undefined reference to std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(loop.cc.o): in functiononnxruntime::LoopImpl::Initialize()': loop.cc:(.text._ZN11onnxruntime8LoopImpl10InitializeEv+0xb07): undefined reference to std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()' /usr/bin/ld: loop.cc:(.text._ZN11onnxruntime8LoopImpl10InitializeEv+0xd66): undefined reference tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(activations.cc.o): in function onnxruntime::functors::GetFloatParam(std::string const&, std::unordered_map<std::string, onnx::AttributeProto, std::hash<std::string>, std::equal_to<std::string>, std::allocator<std::pair<std::string const, onnx::AttributeProto> > > const&, float&)': activations.cc:(.text._ZN11onnxruntime8functors13GetFloatParamERKSsRKSt13unordered_mapISsN4onnx14AttributeProtoESt4hashISsESt8equal_toISsESaISt4pairIS1_S5_EEERf[_ZN11onnxruntime8functors13GetFloatParamERKSsRKSt13unordered_mapISsN4onnx14AttributeProtoESt4hashISsESt8equal_toISsESaISt4pairIS1_S5_EEERf]+0x96): undefined reference tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: activations.cc:(.text._ZN11onnxruntime8functors13GetFloatParamERKSsRKSt13unordered_mapISsN4onnx14AttributeProtoESt4hashISsESt8equal_toISsESaISt4pairIS1_S5_EEERf[_ZN11onnxruntime8functors13GetFloatParamERKSsRKSt13unordered_mapISsN4onnx14AttributeProtoESt4hashISsESt8equal_toISsESaISt4pairIS1_S5_EEERf]+0x1c6): undefined reference to std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(transformer_memcpy.cc.o):transformer_memcpy.cc:(.text.unlikely._ZNSt17_Function_handlerIFN11onnxruntime6common6StatusERKNS0_7NodeArgEmEZNS0_21TransformerMemcpyImpl19ProcessInitializersERKNS0_21KernelRegistryManagerERKSt13unordered_mapISsPKN4onnx11TensorProtoESt4hashISsESt8equal_toISsESaISt4pairIKSsSF_EEEEUlS5_mE0_E9_M_invokeERKSt9_Any_dataS5_Om+0x43): more undefined references tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' follow /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(implementation.cc.o): in function std::string onnx::MakeString<char [22], char [87]>(char const (&) [22], char const (&) [87])': implementation.cc:(.text._ZN4onnx10MakeStringIJA22_cA87_cEEESsDpRKT_[_ZN4onnx10MakeStringIJA22_cA87_cEEESsDpRKT_]+0x27): undefined reference tostd::basic_stringstream<char, std::char_traits, std::allocator >::basic_stringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(implementation.cc.o): in function std::string onnx::MakeString<char [22], char [11], std::string, char [27]>(char const (&) [22], char const (&) [11], std::string const&, char const (&) [27])': implementation.cc:(.text._ZN4onnx10MakeStringIJA22_cA11_cSsA27_cEEESsDpRKT_[_ZN4onnx10MakeStringIJA22_cA11_cSsA27_cEEESsDpRKT_]+0x30): undefined reference tostd::basic_stringstream<char, std::char_traits, std::allocator >::basic_stringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(implementation.cc.o): in function std::string onnx::MakeString<char [23], std::string>(char const (&) [23], std::string const&)': implementation.cc:(.text._ZN4onnx10MakeStringIJA23_cSsEEESsDpRKT_[_ZN4onnx10MakeStringIJA23_cSsEEESsDpRKT_]+0x26): undefined reference tostd::basic_stringstream<char, std::char_traits, std::allocator >::basic_stringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(implementation.cc.o): in function std::string onnx::MakeString<char [23], char [62], onnx::TypeProto::ValueCase>(char const (&) [23], char const (&) [62], onnx::TypeProto::ValueCase const&)': implementation.cc:(.text._ZN4onnx10MakeStringIJA23_cA62_cNS_9TypeProto9ValueCaseEEEESsDpRKT_[_ZN4onnx10MakeStringIJA23_cA62_cNS_9TypeProto9ValueCaseEEEESsDpRKT_]+0x2b): undefined reference tostd::basic_stringstream<char, std::char_traits, std::allocator >::basic_stringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(implementation.cc.o): in function std::string onnx::MakeString<char [23], char [97]>(char const (&) [23], char const (&) [97])': implementation.cc:(.text._ZN4onnx10MakeStringIJA23_cA97_cEEESsDpRKT_[_ZN4onnx10MakeStringIJA23_cA97_cEEESsDpRKT_]+0x27): undefined reference tostd::basic_stringstream<char, std::char_traits, std::allocator >::basic_stringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(implementation.cc.o):implementation.cc:(.text._ZN4onnx17LoadProtoFromPathINS10ModelProtoEEEvSsRT[_ZN4onnx17LoadProtoFromPathINS10ModelProtoEEEvSsRT]+0x569): more undefined references to std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()' follow /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(math_cpu.cc.o): in functiononnxruntime::math::NextPosition(long, long const, long) [clone .cold]': math_cpu.cc:(.text.unlikely._ZN11onnxruntime4mathL12NextPositionElPKlPl+0x43): undefined reference to std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(math_cpu.cc.o): in functiononnxruntime::math::Im2col<unsigned char, 2>::operator()(unsigned char const, long const, long const, long, long const, long const, long const, long const, long, unsigned char, bool, unsigned char)': math_cpu.cc:(.text._ZN11onnxruntime4math6Im2colIhLi2EEclEPKhPKlS6_lS6_S6_S6_S6_lPhbh[_ZN11onnxruntime4math6Im2colIhLi2EEclEPKhPKlS6_lS6_S6_S6_S6_lPhbh]+0x41f): undefined reference to std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(math_cpu.cc.o): in functiononnxruntime::math::Im2col<float, 2>::operator()(float const, long const, long const, long, long const, long const, long const, long const, long, float, bool, float)': math_cpu.cc:(.text._ZN11onnxruntime4math6Im2colIfLi2EEclEPKfPKlS6_lS6_S6_S6_S6_lPfbf[_ZN11onnxruntime4math6Im2colIfLi2EEclEPKfPKlS6_lS6_S6_S6_S6_lPfbf]+0x429): undefined reference to std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(math_cpu.cc.o): in functiononnxruntime::math::Im2col<unsigned char, 1>::operator()(unsigned char const, long, long const, long const, long const, long const, long const, long const*, long, long, long, unsigned char const, unsigned char const)': math_cpu.cc:(.text._ZN11onnxruntime4math6Im2colIhLi1EEclEPKhlPKlS6_S6_S6_S6_S6_lllPS4S4[_ZN11onnxruntime4math6Im2colIhLi1EEclEPKhlPKlS6_S6_S6_S6_S6_lllPS4S4]+0x70f): undefined reference to std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(math_cpu.cc.o): in functiononnxruntime::math::Im2col<signed char, 1>::operator()(signed char const, long, long const, long const, long const, long const, long const, long const, long, long, long, signed char const, signed char const*)': math_cpu.cc:(.text._ZN11onnxruntime4math6Im2colIaLi1EEclEPKalPKlS6_S6_S6_S6_S6_lllPS4S4[_ZN11onnxruntime4math6Im2colIaLi1EEclEPKalPKlS6_S6_S6_S6_S6_lllPS4S4]+0x70f): undefined reference to std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(math_cpu.cc.o):math_cpu.cc:(.text._ZN11onnxruntime4math6Im2colINS_9MLFloat16ELi1EEclEPKS2_lPKlS7_S7_S7_S7_S7_lllPS5_S5_[_ZN11onnxruntime4math6Im2colINS_9MLFloat16ELi1EEclEPKS2_lPKlS7_S7_S7_S7_S7_lllPS5_S5_]+0x70f): more undefined references tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' follow /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(quantization_defs.cc.o): in function onnxruntime::contrib::GetOpSchema<onnxruntime::contrib::QLinearConcat_Microsoft_ver1>()::{lambda(onnx::InferenceContext&)#1}::operator()(onnx::InferenceContext&) const [clone .constprop.0] [clone .cold]': quantization_defs.cc:(.text.unlikely._ZZN11onnxruntime7contrib11GetOpSchemaINS0_28QLinearConcat_Microsoft_ver1EEEN4onnx8OpSchemaEvENKUlRNS3_16InferenceContextEE_clES6_.constprop.0+0x9c): undefined reference tostd::basic_stringstream<char, std::char_traits, std::allocator >::basic_stringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(quantization_defs.cc.o): in function onnxruntime::contrib::ValidateTypeAndShapeForScaleAndZP(onnx::InferenceContext&, int, int, onnxruntime::contrib::QuantParamTensorType, int) [clone .cold]': quantization_defs.cc:(.text.unlikely._ZN11onnxruntime7contrib33ValidateTypeAndShapeForScaleAndZPERN4onnx16InferenceContextEiiNS0_20QuantParamTensorTypeEi+0x16): undefined reference tostd::basic_stringstream<char, std::char_traits, std::allocator >::basic_stringstream()' /usr/bin/ld: quantization_defs.cc:(.text.unlikely._ZN11onnxruntime7contrib33ValidateTypeAndShapeForScaleAndZPERN4onnx16InferenceContextEiiNS0_20QuantParamTensorTypeEi+0x166): undefined reference to std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()' /usr/bin/ld: quantization_defs.cc:(.text.unlikely._ZN11onnxruntime7contrib33ValidateTypeAndShapeForScaleAndZPERN4onnx16InferenceContextEiiNS0_20QuantParamTensorTypeEi+0x21b): undefined reference tostd::basic_stringstream<char, std::char_traits, std::allocator >::basic_stringstream()' /usr/bin/ld: quantization_defs.cc:(.text.unlikely._ZN11onnxruntime7contrib33ValidateTypeAndShapeForScaleAndZPERN4onnx16InferenceContextEiiNS0_20QuantParamTensorTypeEi+0x324): undefined reference to std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(quantization_defs.cc.o):quantization_defs.cc:(.text.unlikely._ZZN11onnxruntime7contrib11GetOpSchemaINS0_35QLinearConvTranspose_Microsoft_ver1EEEN4onnx8OpSchemaEvENKUlRNS3_16InferenceContextEE_clES6_.constprop.0+0x16): more undefined references tostd::basic_stringstream<char, std::char_traits, std::allocator >::basic_stringstream()' follow /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(session_state_utils.cc.o): in function onnxruntime::session_state_utils::SaveInitializedTensors(onnxruntime::Env const&, std::string const&, onnxruntime::GraphViewer const&, std::shared_ptr<onnxruntime::IAllocator> const&, onnxruntime::OrtValueNameIdxMap const&, std::vector<int, std::allocator<int> > const&, onnxruntime::ITensorAllocator&, std::function<onnxruntime::common::Status (std::string const&, int, OrtValue const&, onnxruntime::OrtCallback const&, bool, bool)> const&, onnxruntime::logging::Logger const&, onnxruntime::DataTransferManager const&, onnxruntime::ExecutionPlanBase const&, onnxruntime::SessionOptions const&, std::function<void (onnxruntime::ITensorAllocator&)> const&) [clone .cold]': session_state_utils.cc:(.text.unlikely._ZN11onnxruntime19session_state_utils22SaveInitializedTensorsERKNS_3EnvERKSsRKNS_11GraphViewerERKSt10shared_ptrINS_10IAllocatorEERKNS_18OrtValueNameIdxMapERKSt6vectorIiSaIiEERNS_16ITensorAllocatorERKSt8functionIFNS_6common6StatusES5_iRK8OrtValueRKNS_11OrtCallbackEbbEERKNS_7logging6LoggerERKNS_19DataTransferManagerERKNS_17ExecutionPlanBaseERKNS_14SessionOptionsERKSO_IFvSN_EE+0x6c8): undefined reference tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(session_state_utils.cc.o): in function onnxruntime::session_state_utils::SaveInitializedTensors(onnxruntime::Env const&, std::string const&, onnxruntime::GraphViewer const&, std::shared_ptr<onnxruntime::IAllocator> const&, onnxruntime::OrtValueNameIdxMap const&, std::vector<int, std::allocator<int> > const&, onnxruntime::ITensorAllocator&, std::function<onnxruntime::common::Status (std::string const&, int, OrtValue const&, onnxruntime::OrtCallback const&, bool, bool)> const&, onnxruntime::logging::Logger const&, onnxruntime::DataTransferManager const&, onnxruntime::ExecutionPlanBase const&, onnxruntime::SessionOptions const&, std::function<void (onnxruntime::ITensorAllocator&)> const&)': session_state_utils.cc:(.text._ZN11onnxruntime19session_state_utils22SaveInitializedTensorsERKNS_3EnvERKSsRKNS_11GraphViewerERKSt10shared_ptrINS_10IAllocatorEERKNS_18OrtValueNameIdxMapERKSt6vectorIiSaIiEERNS_16ITensorAllocatorERKSt8functionIFNS_6common6StatusES5_iRK8OrtValueRKNS_11OrtCallbackEbbEERKNS_7logging6LoggerERKNS_19DataTransferManagerERKNS_17ExecutionPlanBaseERKNS_14SessionOptionsERKSO_IFvSN_EE+0x263): undefined reference tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: session_state_utils.cc:(.text._ZN11onnxruntime19session_state_utils22SaveInitializedTensorsERKNS_3EnvERKSsRKNS_11GraphViewerERKSt10shared_ptrINS_10IAllocatorEERKNS_18OrtValueNameIdxMapERKSt6vectorIiSaIiEERNS_16ITensorAllocatorERKSt8functionIFNS_6common6StatusES5_iRK8OrtValueRKNS_11OrtCallbackEbbEERKNS_7logging6LoggerERKNS_19DataTransferManagerERKNS_17ExecutionPlanBaseERKNS_14SessionOptionsERKSO_IFvSN_EE+0xbb4): undefined reference to std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()' /usr/bin/ld: session_state_utils.cc:(.text._ZN11onnxruntime19session_state_utils22SaveInitializedTensorsERKNS_3EnvERKSsRKNS_11GraphViewerERKSt10shared_ptrINS_10IAllocatorEERKNS_18OrtValueNameIdxMapERKSt6vectorIiSaIiEERNS_16ITensorAllocatorERKSt8functionIFNS_6common6StatusES5_iRK8OrtValueRKNS_11OrtCallbackEbbEERKNS_7logging6LoggerERKNS_19DataTransferManagerERKNS_17ExecutionPlanBaseERKNS_14SessionOptionsERKSO_IFvSN_EE+0x16f6): undefined reference tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: session_state_utils.cc:(.text._ZN11onnxruntime19session_state_utils22SaveInitializedTensorsERKNS_3EnvERKSsRKNS_11GraphViewerERKSt10shared_ptrINS_10IAllocatorEERKNS_18OrtValueNameIdxMapERKSt6vectorIiSaIiEERNS_16ITensorAllocatorERKSt8functionIFNS_6common6StatusES5_iRK8OrtValueRKNS_11OrtCallbackEbbEERKNS_7logging6LoggerERKNS_19DataTransferManagerERKNS_17ExecutionPlanBaseERKNS_14SessionOptionsERKSO_IFvSN_EE+0x1bbe): undefined reference to std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(session_state_utils.cc.o):session_state_utils.cc:(.text._ZN11onnxruntime19session_state_utils22SaveInitializedTensorsERKNS_3EnvERKSsRKNS_11GraphViewerERKSt10shared_ptrINS_10IAllocatorEERKNS_18OrtValueNameIdxMapERKSt6vectorIiSaIiEERNS_16ITensorAllocatorERKSt8functionIFNS_6common6StatusES5_iRK8OrtValueRKNS_11OrtCallbackEbbEERKNS_7logging6LoggerERKNS_19DataTransferManagerERKNS_17ExecutionPlanBaseERKNS_14SessionOptionsERKSO_IFvSN_EE+0x2003): more undefined references tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' follow /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(utils.cc.o): in function onnx::gridSampleShapeInference(onnx::InferenceContext&) [clone .cold]': utils.cc:(.text.unlikely._ZN4onnx24gridSampleShapeInferenceERNS_16InferenceContextE+0x285): undefined reference tostd::basic_stringstream<char, std::char_traits, std::allocator >::basic_stringstream()' /usr/bin/ld: utils.cc:(.text.unlikely._ZN4onnx24gridSampleShapeInferenceERNS_16InferenceContextE+0x731): undefined reference to std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()' /usr/bin/ld: utils.cc:(.text.unlikely._ZN4onnx24gridSampleShapeInferenceERNS_16InferenceContextE+0x828): undefined reference tostd::basic_stringstream<char, std::char_traits, std::allocator >::basic_stringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(utils.cc.o): in function onnx::PadDocGenerator(char const*, char const*)::{lambda(onnx::OpSchema&)#1}::operator()(onnx::OpSchema&) const::{lambda(onnx::InferenceContext&)#1}::operator()(onnx::InferenceContext) const [clone .constprop.0] [clone .cold]': utils.cc:(.text.unlikely._ZZZN4onnx15PadDocGeneratorEPKcS1_ENKUlRNS_8OpSchemaEE_clES3_ENKUlRNS_16InferenceContextEE_clES6_.constprop.0+0x15a): undefined reference tostd::basic_stringstream<char, std::char_traits, std::allocator >::basic_stringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(utils.cc.o): in function onnx::IfInferenceFunction(onnx::InferenceContext&) [clone .cold]': utils.cc:(.text.unlikely._ZN4onnx19IfInferenceFunctionERNS_16InferenceContextE+0x11): undefined reference tostd::basic_stringstream<char, std::char_traits, std::allocator >::basic_stringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(utils.cc.o):utils.cc:(.text.unlikely._ZN4onnx19IfInferenceFunctionERNS_16InferenceContextE+0xf4): more undefined references to std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()' follow /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(word_conv_embedding.cc.o): in functiononnxruntime::contrib::WordConvEmbedding::Compute(onnxruntime::OpKernelContext) const [clone .cold]': word_conv_embedding.cc:(.text.unlikely._ZNK11onnxruntime7contrib17WordConvEmbedding7ComputeEPNS_15OpKernelContextE+0x2af): undefined reference to std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()' /usr/bin/ld: word_conv_embedding.cc:(.text.unlikely._ZNK11onnxruntime7contrib17WordConvEmbedding7ComputeEPNS_15OpKernelContextE+0xbc3): undefined reference tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(sampling.cc.o): in function onnxruntime::contrib::transformers::GenerateBase::CheckScalarInput(std::string const&, int, bool) const': sampling.cc:(.text._ZNK11onnxruntime7contrib12transformers12GenerateBase16CheckScalarInputERKSsib[_ZNK11onnxruntime7contrib12transformers12GenerateBase16CheckScalarInputERKSsib]+0x81): undefined reference tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: sampling.cc:(.text._ZNK11onnxruntime7contrib12transformers12GenerateBase16CheckScalarInputERKSsib[_ZNK11onnxruntime7contrib12transformers12GenerateBase16CheckScalarInputERKSsib]+0x1de): undefined reference to std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(sampling.cc.o): in functiononnxruntime::common::Status onnxruntime::contrib::transformers::GenerateBase::CheckInputsImpl<onnxruntime::contrib::transformers::SamplingParameters>(onnxruntime::contrib::transformers::SamplingParameters const&, onnxruntime::Tensor const, onnxruntime::Tensor const, onnxruntime::Tensor const, onnxruntime::Tensor const, onnxruntime::Tensor const, onnxruntime::Tensor const*) const': sampling.cc:(.text._ZNK11onnxruntime7contrib12transformers12GenerateBase15CheckInputsImplIPNS1_18SamplingParametersEEENS_6common6StatusERKT_PKNS_6TensorESD_SD_SD_SDSD[_ZNK11onnxruntime7contrib12transformers12GenerateBase15CheckInputsImplIPNS1_18SamplingParametersEEENS_6common6StatusERKT_PKNS_6TensorESD_SD_SD_SDSD]+0x33b): undefined reference to std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(greedy_search.cc.o):greedy_search.cc:(.text._ZNK11onnxruntime7contrib12transformers12GenerateBase15CheckInputsImplIPNS1_22GreedySearchParametersEEENS_6common6StatusERKT_PKNS_6TensorESD_SD_SD_SD_SD_[_ZNK11onnxruntime7contrib12transformers12GenerateBase15CheckInputsImplIPNS1_22GreedySearchParametersEEENS_6common6StatusERKT_PKNS_6TensorESD_SD_SD_SD_SD_]+0x33b): more undefined references tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' follow collect2: error: ld returned 1 exit status make[2]: [sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-alsa-offline-audio-tagging.dir/build.make:110: bin/sherpa-onnx-alsa-offline-audio-tagging] Error 1 make[1]: [CMakeFiles/Makefile2:2365: sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-alsa-offline-audio-tagging.dir/all] Error 2 make: *** [Makefile:152: all] Error 2

yegeli commented 3 months ago

collect2: error: ld returned 1 exit status make[2]: [sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-alsa-offline-audio-tagging.dir/build.make:110: bin/sherpa-onnx-alsa-offline-audio-tagging] Error 1 make[1]: [CMakeFiles/Makefile2:1575: sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-alsa-offline-audio-tagging.dir/all] Error 2 make: *** [Makefile:152: all] Error 2

make Scanning dependencies of target ucd [ 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 C object _deps/espeak_ng-build/src/ucd-tools/CMakeFiles/ucd.dir/src/ctype.c.o [ 1%] Building C object _deps/espeak_ng-build/src/ucd-tools/CMakeFiles/ucd.dir/src/proplist.c.o [ 2%] Building C object _deps/espeak_ng-build/src/ucd-tools/CMakeFiles/ucd.dir/src/scripts.c.o [ 2%] Building C object _deps/espeak_ng-build/src/ucd-tools/CMakeFiles/ucd.dir/src/tostring.c.o [ 2%] Linking C static library ../../../../lib/libucd.a [ 2%] Built target ucd Scanning dependencies of target espeak-ng [ 4%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/common.c.o [ 4%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/mnemonics.c.o [ 4%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/error.c.o [ 4%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/ieee80.c.o [ 5%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/compiledata.c.o [ 5%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/compiledict.c.o [ 5%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/dictionary.c.o [ 5%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/encoding.c.o [ 5%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/intonation.c.o [ 6%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/langopts.c.o [ 6%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/numbers.c.o [ 6%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/phoneme.c.o [ 6%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/phonemelist.c.o [ 8%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/readclause.c.o [ 8%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/setlengths.c.o [ 8%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/soundicon.c.o [ 8%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/spect.c.o [ 8%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/ssml.c.o [ 9%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/synthdata.c.o [ 9%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/synthesize.c.o [ 9%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/tr_languages.c.o [ 9%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/translate.c.o [ 10%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/translateword.c.o [ 10%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/voices.c.o [ 10%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/wavegen.c.o [ 10%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/speech.c.o [ 10%] Building C object _deps/espeak_ng-build/src/libespeak-ng/CMakeFiles/espeak-ng.dir/espeak_api.c.o [ 12%] Linking C static library ../../../../lib/libespeak-ng.a [ 12%] Built target espeak-ng Scanning dependencies of target piper_phonemize [ 13%] Building CXX object _deps/piper_phonemize-build/CMakeFiles/piper_phonemize.dir/src/phonemize.cpp.o [ 13%] Building CXX object _deps/piper_phonemize-build/CMakeFiles/piper_phonemize.dir/src/phoneme_ids.cpp.o [ 13%] Building CXX object _deps/piper_phonemize-build/CMakeFiles/piper_phonemize.dir/src/tashkeel.cpp.o [ 13%] Building CXX object _deps/piper_phonemize-build/CMakeFiles/piper_phonemize.dir/src/shared.cpp.o [ 14%] Linking CXX static library ../../lib/libpiper_phonemize.a [ 14%] Built target piper_phonemize Scanning dependencies of target kaldi-native-fbank-core [ 14%] Building CXX object _deps/kaldi_native_fbank-build/kaldi-native-fbank/csrc/CMakeFiles/kaldi-native-fbank-core.dir/feature-fbank.cc.o [ 14%] Building CXX object _deps/kaldi_native_fbank-build/kaldi-native-fbank/csrc/CMakeFiles/kaldi-native-fbank-core.dir/feature-functions.cc.o [ 16%] Building CXX object _deps/kaldi_native_fbank-build/kaldi-native-fbank/csrc/CMakeFiles/kaldi-native-fbank-core.dir/feature-mfcc.cc.o [ 16%] Building CXX object _deps/kaldi_native_fbank-build/kaldi-native-fbank/csrc/CMakeFiles/kaldi-native-fbank-core.dir/feature-window.cc.o [ 16%] Building CXX object _deps/kaldi_native_fbank-build/kaldi-native-fbank/csrc/CMakeFiles/kaldi-native-fbank-core.dir/fftsg.cc.o [ 16%] Building CXX object _deps/kaldi_native_fbank-build/kaldi-native-fbank/csrc/CMakeFiles/kaldi-native-fbank-core.dir/kaldi-math.cc.o [ 17%] Building CXX object _deps/kaldi_native_fbank-build/kaldi-native-fbank/csrc/CMakeFiles/kaldi-native-fbank-core.dir/mel-computations.cc.o [ 17%] Building CXX object _deps/kaldi_native_fbank-build/kaldi-native-fbank/csrc/CMakeFiles/kaldi-native-fbank-core.dir/online-feature.cc.o [ 17%] Building CXX object _deps/kaldi_native_fbank-build/kaldi-native-fbank/csrc/CMakeFiles/kaldi-native-fbank-core.dir/rfft.cc.o [ 17%] Building CXX object _deps/kaldi_native_fbank-build/kaldi-native-fbank/csrc/CMakeFiles/kaldi-native-fbank-core.dir/whisper-feature.cc.o [ 17%] Linking CXX static library ../../../../lib/libkaldi-native-fbank-core.a [ 17%] Built target kaldi-native-fbank-core Scanning dependencies of target fst [ 17%] Building CXX object _deps/openfst-build/src/lib/CMakeFiles/fst.dir/compat.cc.o [ 17%] Building CXX object _deps/openfst-build/src/lib/CMakeFiles/fst.dir/flags.cc.o [ 17%] Building CXX object _deps/openfst-build/src/lib/CMakeFiles/fst.dir/fst.cc.o [ 18%] Building CXX object _deps/openfst-build/src/lib/CMakeFiles/fst.dir/properties.cc.o [ 18%] Building CXX object _deps/openfst-build/src/lib/CMakeFiles/fst.dir/symbol-table.cc.o [ 18%] Building CXX object _deps/openfst-build/src/lib/CMakeFiles/fst.dir/util.cc.o [ 18%] Building CXX object _deps/openfst-build/src/lib/CMakeFiles/fst.dir/symbol-table-ops.cc.o [ 20%] Building CXX object _deps/openfst-build/src/lib/CMakeFiles/fst.dir/mapped-file.cc.o [ 20%] Building CXX object _deps/openfst-build/src/lib/CMakeFiles/fst.dir/weight.cc.o [ 20%] Linking CXX static library ../../../../lib/libsherpa-onnx-fst.a [ 20%] Built target fst Scanning dependencies of target fstfar [ 20%] Building CXX object _deps/openfst-build/src/extensions/far/CMakeFiles/fstfar.dir/sttable.cc.o [ 20%] Building CXX object _deps/openfst-build/src/extensions/far/CMakeFiles/fstfar.dir/stlist.cc.o [ 21%] Linking CXX static library ../../../../../lib/libsherpa-onnx-fstfar.a [ 21%] Built target fstfar Scanning dependencies of target kaldifst_core [ 22%] Building CXX object _deps/kaldifst-build/kaldifst/csrc/CMakeFiles/kaldifst_core.dir/context-fst.cc.o [ 22%] Building CXX object _deps/kaldifst-build/kaldifst/csrc/CMakeFiles/kaldifst_core.dir/kaldi-fst-io.cc.o [ 22%] Building CXX object _deps/kaldifst-build/kaldifst/csrc/CMakeFiles/kaldifst_core.dir/kaldi-holder.cc.o [ 22%] Building CXX object _deps/kaldifst-build/kaldifst/csrc/CMakeFiles/kaldifst_core.dir/kaldi-io.cc.o [ 24%] Building CXX object _deps/kaldifst-build/kaldifst/csrc/CMakeFiles/kaldifst_core.dir/kaldi-math.cc.o [ 24%] Building CXX object _deps/kaldifst-build/kaldifst/csrc/CMakeFiles/kaldifst_core.dir/kaldi-semaphore.cc.o [ 24%] Building CXX object _deps/kaldifst-build/kaldifst/csrc/CMakeFiles/kaldifst_core.dir/kaldi-table.cc.o [ 24%] Building CXX object _deps/kaldifst-build/kaldifst/csrc/CMakeFiles/kaldifst_core.dir/parse-options.cc.o [ 25%] Building CXX object _deps/kaldifst-build/kaldifst/csrc/CMakeFiles/kaldifst_core.dir/text-normalizer.cc.o [ 25%] Building CXX object _deps/kaldifst-build/kaldifst/csrc/CMakeFiles/kaldifst_core.dir/text-utils.cc.o [ 25%] Linking CXX static library ../../../../lib/libsherpa-onnx-kaldifst-core.a [ 25%] Built target kaldifst_core Scanning dependencies of target kaldi-decoder-core [ 26%] Building CXX object _deps/kaldi_decoder-build/kaldi-decoder/csrc/CMakeFiles/kaldi-decoder-core.dir/decodable-ctc.cc.o [ 26%] Building CXX object _deps/kaldi_decoder-build/kaldi-decoder/csrc/CMakeFiles/kaldi-decoder-core.dir/eigen.cc.o [ 26%] Building CXX object _deps/kaldi_decoder-build/kaldi-decoder/csrc/CMakeFiles/kaldi-decoder-core.dir/faster-decoder.cc.o [ 26%] Building CXX object _deps/kaldi_decoder-build/kaldi-decoder/csrc/CMakeFiles/kaldi-decoder-core.dir/lattice-faster-decoder.cc.o [ 28%] Building CXX object _deps/kaldi_decoder-build/kaldi-decoder/csrc/CMakeFiles/kaldi-decoder-core.dir/lattice-simple-decoder.cc.o [ 28%] Building CXX object _deps/kaldi_decoder-build/kaldi-decoder/csrc/CMakeFiles/kaldi-decoder-core.dir/simple-decoder.cc.o [ 28%] Linking CXX static library ../../../../lib/libkaldi-decoder-core.a [ 28%] Built target kaldi-decoder-core Scanning dependencies of target ssentencepiece_core [ 29%] Building CXX object _deps/simple-sentencepiece-build/ssentencepiece/csrc/CMakeFiles/ssentencepiece_core.dir/ssentencepiece.cc.o [ 29%] Linking CXX static library ../../../../lib/libssentencepiece_core.a [ 29%] Built target ssentencepiece_core Scanning dependencies of target sherpa-onnx-core [ 29%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/base64-decode.cc.o [ 29%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/cat.cc.o [ 29%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/circular-buffer.cc.o [ 30%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/context-graph.cc.o [ 30%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/endpoint.cc.o [ 30%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/features.cc.o [ 30%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/file-utils.cc.o [ 30%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/hypothesis.cc.o [ 32%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/keyword-spotter-impl.cc.o [ 32%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/keyword-spotter.cc.o [ 32%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-ctc-fst-decoder-config.cc.o [ 32%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-ctc-fst-decoder.cc.o [ 33%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-ctc-greedy-search-decoder.cc.o [ 33%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-ctc-model.cc.o [ 33%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-lm-config.cc.o [ 33%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-lm.cc.o [ 33%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-model-config.cc.o [ 34%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-nemo-enc-dec-ctc-model-config.cc.o [ 34%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-nemo-enc-dec-ctc-model.cc.o [ 34%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-paraformer-greedy-search-decoder.cc.o [ 34%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-paraformer-model-config.cc.o [ 36%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-paraformer-model.cc.o [ 36%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-recognizer-impl.cc.o [ 36%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-recognizer.cc.o [ 36%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-rnn-lm.cc.o [ 37%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-sense-voice-model-config.cc.o [ 37%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-sense-voice-model.cc.o [ 37%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-stream.cc.o [ 37%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-tdnn-ctc-model.cc.o [ 37%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-tdnn-model-config.cc.o [ 38%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-telespeech-ctc-model.cc.o [ 38%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-transducer-greedy-search-decoder.cc.o [ 38%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-transducer-greedy-search-nemo-decoder.cc.o [ 38%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-transducer-model-config.cc.o [ 40%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-transducer-model.cc.o [ 40%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-transducer-modified-beam-search-decoder.cc.o [ 40%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-transducer-nemo-model.cc.o [ 40%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-wenet-ctc-model-config.cc.o [ 40%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-wenet-ctc-model.cc.o [ 41%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-whisper-greedy-search-decoder.cc.o [ 41%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-whisper-model-config.cc.o [ 41%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-whisper-model.cc.o [ 41%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-zipformer-ctc-model-config.cc.o [ 42%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-zipformer-ctc-model.cc.o [ 42%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-conformer-transducer-model.cc.o [ 42%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-ctc-fst-decoder-config.cc.o [ 42%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-ctc-fst-decoder.cc.o [ 42%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-ctc-greedy-search-decoder.cc.o [ 44%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-ctc-model.cc.o [ 44%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-lm-config.cc.o [ 44%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-lm.cc.o [ 44%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-lstm-transducer-model.cc.o [ 45%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-model-config.cc.o [ 45%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-nemo-ctc-model-config.cc.o [ 45%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-nemo-ctc-model.cc.o [ 45%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-paraformer-model-config.cc.o [ 45%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-paraformer-model.cc.o [ 46%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-recognizer-impl.cc.o [ 46%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-recognizer.cc.o [ 46%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-rnn-lm.cc.o [ 46%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-stream.cc.o [ 48%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-transducer-decoder.cc.o [ 48%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-transducer-greedy-search-decoder.cc.o [ 48%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-transducer-model-config.cc.o [ 48%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-transducer-model.cc.o [ 49%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-transducer-modified-beam-search-decoder.cc.o [ 49%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-transducer-nemo-model.cc.o [ 49%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-transducer-greedy-search-nemo-decoder.cc.o [ 49%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-wenet-ctc-model-config.cc.o [ 49%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-wenet-ctc-model.cc.o [ 50%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-zipformer-transducer-model.cc.o [ 50%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-zipformer2-ctc-model-config.cc.o [ 50%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-zipformer2-ctc-model.cc.o [ 50%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/online-zipformer2-transducer-model.cc.o [ 52%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/onnx-utils.cc.o [ 52%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/packed-sequence.cc.o [ 52%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/pad-sequence.cc.o [ 52%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/parse-options.cc.o [ 52%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/provider-config.cc.o [ 53%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/provider.cc.o [ 53%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/resample.cc.o [ 53%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/session.cc.o [ 53%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/silero-vad-model-config.cc.o [ 54%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/silero-vad-model.cc.o [ 54%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/slice.cc.o [ 54%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/spoken-language-identification-impl.cc.o [ 54%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/spoken-language-identification.cc.o [ 54%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/stack.cc.o [ 56%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/symbol-table.cc.o [ 56%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/text-utils.cc.o [ 56%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/transducer-keyword-decoder.cc.o [ 56%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/transpose.cc.o [ 57%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/unbind.cc.o [ 57%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/utils.cc.o [ 57%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/vad-model-config.cc.o [ 57%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/vad-model.cc.o [ 58%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/voice-activity-detector.cc.o [ 58%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/wave-reader.cc.o [ 58%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/wave-writer.cc.o [ 58%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/speaker-embedding-extractor-impl.cc.o [ 58%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/speaker-embedding-extractor-model.cc.o [ 60%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/speaker-embedding-extractor-nemo-model.cc.o [ 60%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/speaker-embedding-extractor.cc.o [ 60%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/speaker-embedding-manager.cc.o [ 60%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/audio-tagging-impl.cc.o [ 61%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/audio-tagging-label-file.cc.o [ 61%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/audio-tagging-model-config.cc.o [ 61%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/audio-tagging.cc.o [ 61%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-ced-model.cc.o [ 61%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-zipformer-audio-tagging-model-config.cc.o [ 62%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-zipformer-audio-tagging-model.cc.o [ 62%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-ct-transformer-model.cc.o [ 62%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-punctuation-impl.cc.o [ 62%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-punctuation-model-config.cc.o [ 64%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-punctuation.cc.o [ 64%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/jieba-lexicon.cc.o [ 64%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/lexicon.cc.o [ 64%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/melo-tts-lexicon.cc.o [ 64%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-tts-character-frontend.cc.o [ 65%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-tts-frontend.cc.o [ 65%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-tts-impl.cc.o [ 65%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-tts-model-config.cc.o [ 65%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-tts-vits-model-config.cc.o [ 66%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-tts-vits-model.cc.o [ 66%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/offline-tts.cc.o [ 66%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-core.dir/piper-phonemize-lexicon.cc.o [ 66%] Linking CXX static library ../../lib/libsherpa-onnx-core.a [ 66%] Built target sherpa-onnx-core Scanning dependencies of target sherpa-onnx-alsa-offline-audio-tagging [ 66%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-alsa-offline-audio-tagging.dir/sherpa-onnx-alsa-offline-audio-tagging.cc.o [ 66%] Building CXX object sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-alsa-offline-audio-tagging.dir/alsa.cc.o [ 68%] Linking CXX executable ../../bin/sherpa-onnx-alsa-offline-audio-tagging /usr/bin/ld: CMakeFiles/sherpa-onnx-alsa-offline-audio-tagging.dir/sherpa-onnx-alsa-offline-audio-tagging.cc.o: in function main': sherpa-onnx-alsa-offline-audio-tagging.cc:(.text.startup+0x5d7): undefined reference tostd::cxx11::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(onnxruntime_c_api.cc.o): in function `std::_Sp_counted_ptr_inplace<onnxruntime::IAllocatorImplWrappingOrtAllocator, std::allocator, (gnu_cxx::_Lock_policy)2>::_M_get_deleter(std::type_info const&)': onnxruntime_c_api.cc:(.text._ZNSt23_Sp_counted_ptr_inplaceIN11onnxruntime34IAllocatorImplWrappingOrtAllocatorESaIS1_ELN9gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info[_ZNSt23_Sp_counted_ptr_inplaceIN11onnxruntime34IAllocatorImplWrappingOrtAllocatorESaIS1_ELN9gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info]+0x13): undefined reference to std::_Sp_make_shared_tag::_S_eq(std::type_info const&)' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(onnxruntime_c_api.cc.o): in functionOrtApis::CreateArenaCfgV2(char const const, unsigned long const*, unsigned long, OrtArenaCfg*)': onnxruntime_c_api.cc:(.text._ZN7OrtApis16CreateArenaCfgV2EPKPKcPKmmPP11OrtArenaCfg+0x190): undefined reference to std::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(onnxruntime_c_api.cc.o): in functionCreateTensorImpl(onnxruntime::DataTypeImpl const, long const, unsigned long, OrtMemoryInfo const, void*, unsigned long, OrtValue&)': onnxruntime_c_api.cc:(.text._Z16CreateTensorImplPKN11onnxruntime12DataTypeImplEPKlmPK13OrtMemoryInfoPvmR8OrtValue+0x2f5): undefined reference to std::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(inference_session.cc.o): in functionstd::_Sp_counted_ptr_inplace<onnxruntime::CPUAllocator, std::allocator, (gnu_cxx::_Lock_policy)2>::_M_get_deleter(std::type_info const&)': inference_session.cc:(.text._ZNSt23_Sp_counted_ptr_inplaceIN11onnxruntime12CPUAllocatorESaIS1_ELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info[_ZNSt23_Sp_counted_ptr_inplaceIN11onnxruntime12CPUAllocatorESaIS1_ELN9gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info]+0x13): undefined reference to std::_Sp_make_shared_tag::_S_eq(std::type_info const&)' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(inference_session.cc.o): in functiononnxruntime::CheckTypes(onnxruntime::DataTypeImpl const, onnxruntime::DataTypeImpl const, std::string const&, char const)': inference_session.cc:(.text._ZN11onnxruntimeL10CheckTypesEPKNS_12DataTypeImplES2_RKSsPKc+0x45): undefined reference to std::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(inference_session.cc.o): in functiononnxruntime::InferenceSession::ShrinkMemoryArenas(gsl::span<std::shared_ptr const, 18446744073709551615ul>)': inference_session.cc:(.text._ZN11onnxruntime16InferenceSession18ShrinkMemoryArenasEN3gsl4spanIKSt10shared_ptrINS_10IAllocatorEELm18446744073709551615EEE+0x1d1): undefined reference to std::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: inference_session.cc:(.text._ZN11onnxruntime16InferenceSession18ShrinkMemoryArenasEN3gsl4spanIKSt10shared_ptrINS_10IAllocatorEELm18446744073709551615EEE+0x202): undefined reference tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: inference_session.cc:(.text._ZN11onnxruntime16InferenceSession18ShrinkMemoryArenasEN3gsl4spanIKSt10shared_ptrINS_10IAllocatorEELm18446744073709551615EEE+0x2e0): undefined reference to std::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(inference_session.cc.o): in functiononnxruntime::InferenceSession::CheckShapes(std::string const&, onnxruntime::TensorShape const&, onnxruntime::TensorShape const&, char const) const': inference_session.cc:(.text._ZNK11onnxruntime16InferenceSession11CheckShapesERKSsRKNS_11TensorShapeES5_PKc+0xee): undefined reference to std::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(inference_session.cc.o):inference_session.cc:(.text._ZNK11onnxruntime16InferenceSession11CheckShapesERKSsRKNS_11TensorShapeES5_PKc+0x249): more undefined references tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' follow /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(inference_session.cc.o): in function onnxruntime::InferenceSession::ConstructorCommon(onnxruntime::SessionOptions const&, onnxruntime::Environment const&)': inference_session.cc:(.text._ZN11onnxruntime16InferenceSession17ConstructorCommonERKNS_14SessionOptionsERKNS_11EnvironmentE+0x81e): undefined reference tostd::basic_stringstream<char, std::char_traits, std::allocator >::basic_stringstream()' /usr/bin/ld: inference_session.cc:(.text._ZN11onnxruntime16InferenceSession17ConstructorCommonERKNS_14SessionOptionsERKNS_11EnvironmentE+0xcc6): undefined reference to std::basic_stringstream<char, std::char_traits, std::allocator >::basic_stringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(inference_session.cc.o): in functiononnxruntime::InferenceSession::LoadOnnxModel(std::string const&)': inference_session.cc:(.text._ZN11onnxruntime16InferenceSession13LoadOnnxModelERKSs+0xc7): undefined reference to std::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(inference_session.cc.o): in functiononnxruntime::InferenceSession::LoadOrtModelWithLoader(std::function<onnxruntime::common::Status ()>)': inference_session.cc:(.text._ZN11onnxruntime16InferenceSession22LoadOrtModelWithLoaderESt8functionIFNS_6common6StatusEvEE+0x6ec): undefined reference to std::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: inference_session.cc:(.text._ZN11onnxruntime16InferenceSession22LoadOrtModelWithLoaderESt8functionIFNS_6common6StatusEvEE+0x88c): undefined reference tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: inference_session.cc:(.text._ZN11onnxruntime16InferenceSession22LoadOrtModelWithLoaderESt8functionIFNS_6common6StatusEvEE+0xaa3): undefined reference to std::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(inference_session.cc.o): in functiononnxruntime::InferenceSession::SaveToOrtFormat(std::string const&) const': inference_session.cc:(.text._ZNK11onnxruntime16InferenceSession15SaveToOrtFormatERKSs+0xc87): undefined reference to std::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(inference_session.cc.o):inference_session.cc:(.text._ZN11onnxruntime16InferenceSession10InitializeEv+0x121b): more undefined references tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' follow /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(custom_ops.cc.o): in function std::_Sp_counted_ptr_inplace<onnxruntime::KernelRegistry, std::allocatoronnxruntime::KernelRegistry, (__gnu_cxx::_Lock_policy)2>::_M_get_deleter(std::type_info const&)': custom_ops.cc:(.text._ZNSt23_Sp_counted_ptr_inplaceIN11onnxruntime14KernelRegistryESaIS1_ELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info[_ZNSt23_Sp_counted_ptr_inplaceIN11onnxruntime14KernelRegistryESaIS1_ELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info]+0x13): undefined reference tostd::_Sp_make_shared_tag::_S_eq(std::type_info const&)' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(custom_ops.cc.o): in function std::_Sp_counted_ptr_inplace<onnxruntime::OnnxRuntimeOpSchemaRegistry, std::allocatoronnxruntime::OnnxRuntimeOpSchemaRegistry, (__gnu_cxx::_Lock_policy)2>::_M_get_deleter(std::type_info const&)': custom_ops.cc:(.text._ZNSt23_Sp_counted_ptr_inplaceIN11onnxruntime27OnnxRuntimeOpSchemaRegistryESaIS1_ELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info[_ZNSt23_Sp_counted_ptr_inplaceIN11onnxruntime27OnnxRuntimeOpSchemaRegistryESaIS1_ELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info]+0x13): undefined reference tostd::_Sp_make_shared_tag::_S_eq(std::type_info const&)' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(custom_ops.cc.o): in function std::_Sp_counted_ptr_inplace<onnxruntime::CustomRegistry, std::allocatoronnxruntime::CustomRegistry, (__gnu_cxx::_Lock_policy)2>::_M_get_deleter(std::type_info const&)': custom_ops.cc:(.text._ZNSt23_Sp_counted_ptr_inplaceIN11onnxruntime14CustomRegistryESaIS1_ELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info[_ZNSt23_Sp_counted_ptr_inplaceIN11onnxruntime14CustomRegistryESaIS1_ELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info]+0x13): undefined reference tostd::_Sp_make_shared_tag::_S_eq(std::type_info const&)' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(custom_ops.cc.o): in function OrtApis::Logger_LogMessage(OrtLogger const*, OrtLoggingLevel, char const*, char const*, int, char const*)': custom_ops.cc:(.text._ZN7OrtApis17Logger_LogMessageEPK9OrtLogger15OrtLoggingLevelPKcS5_iS5_+0xd6): undefined reference tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(custom_ops.cc.o): in function std::string onnxruntime::detail::MakeStringImpl<char const*, char const*, char const*>(char const* const&, char const* const&, char const* const&)': custom_ops.cc:(.text._ZN11onnxruntime6detail14MakeStringImplIJPKcS3_S3_EEESsDpRKT_[_ZN11onnxruntime6detail14MakeStringImplIJPKcS3_S3_EEESsDpRKT_]+0x24): undefined reference tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(custom_ops.cc.o): in function std::string onnxruntime::detail::MakeStringImpl<char const*, std::string, char const*, char const*, char const*, char const*, char const*>(char const* const&, std::string const&, char const* const&, char const* const&, char const* const&, char const* const&, char const* const&)': custom_ops.cc:(.text._ZN11onnxruntime6detail14MakeStringImplIJPKcSsS3_S3_S3_S3_S3_EEESsDpRKT_[_ZN11onnxruntime6detail14MakeStringImplIJPKcSsS3_S3_S3_S3_S3_EEESsDpRKT_]+0x2d): undefined reference tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(custom_ops.cc.o): in function std::string onnxruntime::detail::MakeStringImpl<std::string, char const*, char const*, unsigned long, char const*, char const*>(std::string const&, char const* const&, char const* const&, unsigned long const&, char const* const&, char const* const&)': custom_ops.cc:(.text._ZN11onnxruntime6detail14MakeStringImplIJSsPKcS3_mS3_S3_EEESsDpRKT_[_ZN11onnxruntime6detail14MakeStringImplIJSsPKcS3_mS3_S3_EEESsDpRKT_]+0x2d): undefined reference tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(custom_ops.cc.o): in function onnxruntime::IsCompatible(onnx::OpSchema const&, OrtCustomOp const*)': custom_ops.cc:(.text._ZN11onnxruntime12IsCompatibleERKN4onnx8OpSchemaEPK11OrtCustomOp+0x358): undefined reference tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(custom_ops.cc.o):custom_ops.cc:(.text._ZNK20OrtShapeInferContext18SetOutputTypeShapeEmPK25OrtTensorTypeAndShapeInfo[_ZNK20OrtShapeInferContext18SetOutputTypeShapeEmPK25OrtTensorTypeAndShapeInfo]+0x1ba): more undefined references to std::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' follow /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(schema.cc.o): in functionstd::string onnx::MakeString<std::string, char [24], std::string>(std::string const&, char const (&) [24], std::string const&)': schema.cc:(.text._ZN4onnx10MakeStringIJSsA24cSsEEESsDpRKT[_ZN4onnx10MakeStringIJSsA24cSsEEESsDpRKT]+0x22): undefined reference to std::basic_stringstream<char, std::char_traits, std::allocator >::basic_stringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(schema.cc.o): in functionstd::string onnx::MakeString<char [12], std::string, char [27]>(char const (&) [12], std::string const&, char const (&) [27])': schema.cc:(.text._ZN4onnx10MakeStringIJA12_cSsA27cEEESsDpRKT[_ZN4onnx10MakeStringIJA12_cSsA27cEEESsDpRKT]+0x29): undefined reference to std::basic_stringstream<char, std::char_traits, std::allocator >::basic_stringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(schema.cc.o): in functionstd::string onnx::MakeString<char [12], std::string, char [32]>(char const (&) [12], std::string const&, char const (&) [32])': schema.cc:(.text._ZN4onnx10MakeStringIJA12_cSsA32cEEESsDpRKT[_ZN4onnx10MakeStringIJA12_cSsA32cEEESsDpRKT]+0x29): undefined reference to std::basic_stringstream<char, std::char_traits, std::allocator >::basic_stringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(schema.cc.o): in functiononnx::OpSchemaRegistry::OpSchemaRegisterOnce::CheckDomainAndVersionToRegister(onnx::OpSchema const&, std::string const&, std::string const&)': schema.cc:(.text._ZN4onnx16OpSchemaRegistry20OpSchemaRegisterOnce31CheckDomainAndVersionToRegisterERKNS8OpSchemaERKSsS6[_ZN4onnx16OpSchemaRegistry20OpSchemaRegisterOnce31CheckDomainAndVersionToRegisterERKNS8OpSchemaERKSsS6]+0x1d8): undefined reference to std::basic_stringstream<char, std::char_traits, std::allocator >::basic_stringstream()' /usr/bin/ld: schema.cc:(.text._ZN4onnx16OpSchemaRegistry20OpSchemaRegisterOnce31CheckDomainAndVersionToRegisterERKNS_8OpSchemaERKSsS6_[_ZN4onnx16OpSchemaRegistry20OpSchemaRegisterOnce31CheckDomainAndVersionToRegisterERKNS_8OpSchemaERKSsS6_]+0x3e9): undefined reference tostd::basic_stringstream<char, std::char_traits, std::allocator >::basic_stringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(schema.cc.o):schema.cc:(.text.unlikely._ZNK4onnx8OpSchema20CheckInputOutputTypeERNS_16InferenceContextE+0x1cb): more undefined references to std::basic_stringstream<char, std::char_traits, std::allocator >::basic_stringstream()' follow /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(model.cc.o): in functionstd::_Sp_counted_ptr_inplace<onnxruntime::SchemaRegistryManager, std::allocator, (gnu_cxx::_Lock_policy)2>::_M_get_deleter(std::type_info const&)': model.cc:(.text._ZNSt23_Sp_counted_ptr_inplaceIN11onnxruntime21SchemaRegistryManagerESaIS1_ELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info[_ZNSt23_Sp_counted_ptr_inplaceIN11onnxruntime21SchemaRegistryManagerESaIS1_ELN9gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info]+0x13): undefined reference to std::_Sp_make_shared_tag::_S_eq(std::type_info const&)' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(model.cc.o): in functionstd::_Sp_counted_ptr_inplace<onnxruntime::Model, std::allocator, (gnu_cxx::_Lock_policy)2>::_M_get_deleter(std::type_info const&)': model.cc:(.text._ZNSt23_Sp_counted_ptr_inplaceIN11onnxruntime5ModelESaIS1_ELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info[_ZNSt23_Sp_counted_ptr_inplaceIN11onnxruntime5ModelESaIS1_ELN9gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info]+0x13): undefined reference to std::_Sp_make_shared_tag::_S_eq(std::type_info const&)' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(model.cc.o): in functionstd::string onnxruntime::detail::MakeStringImpl<char const, char const, char const, std::string>(char const const&, char const const&, char const const&, std::string const&)': model.cc:(.text._ZN11onnxruntime6detail14MakeStringImplIJPKcS3_S3SsEEESsDpRKT[_ZN11onnxruntime6detail14MakeStringImplIJPKcS3_S3SsEEESsDpRKT]+0x29): undefined reference to std::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(model.cc.o): in functionstd::string onnxruntime::detail::MakeStringImpl<char const, int, char const, std::string, char const, int, char const>(char const const&, int const&, char const const&, std::string const&, char const const&, int const&, char const const&)': model.cc:(.text._ZN11onnxruntime6detail14MakeStringImplIJPKciS3_SsS3_iS3EEESsDpRKT[_ZN11onnxruntime6detail14MakeStringImplIJPKciS3_SsS3_iS3EEESsDpRKT]+0x2d): undefined reference to std::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(model.cc.o): in functiononnxruntime::model_load_utils::ValidateOpsetForDomain(std::unordered_map<std::string, int, std::hash, std::equal_to, std::allocator<std::pair<std::string const, int> > > const&, onnxruntime::logging::Logger const&, bool, std::string const&, int)': model.cc:(.text._ZN11onnxruntime16model_load_utils22ValidateOpsetForDomainERKSt13unordered_mapISsiSt4hashISsESt8equal_toISsESaISt4pairIKSsiEEERKNS_7logging6LoggerEbRS7_i[_ZN11onnxruntime16model_load_utils22ValidateOpsetForDomainERKSt13unordered_mapISsiSt4hashISsESt8equal_toISsESaISt4pairIKSsiEEERKNS_7logging6LoggerEbRS7_i]+0x176): undefined reference to std::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(model.cc.o): in functionstd::string onnxruntime::detail::MakeStringImpl<char const, long, char const, onnx::Version>(char const const&, long const&, char const const&, onnx::Version const&)': model.cc:(.text._ZN11onnxruntime6detail14MakeStringImplIJPKclS3N4onnx7VersionEEEESsDpRKT[_ZN11onnxruntime6detail14MakeStringImplIJPKclS3N4onnx7VersionEEEESsDpRKT]+0x29): undefined reference to std::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(model.cc.o): in functionstd::string onnxruntime::detail::MakeStringImpl<char const, std::string, char const>(char const const&, std::string const&, char const const&)': model.cc:(.text._ZN11onnxruntime6detail14MakeStringImplIJPKcSsS3EEESsDpRKT[_ZN11onnxruntime6detail14MakeStringImplIJPKcSsS3EEESsDpRKT]+0x24): undefined reference to std::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(model.cc.o):model.cc:(.text._ZN11onnxruntime5Model17LoadFromOrtFormatERKNS_3fbs5ModelEPKSt4listISt10shared_ptrINS_30IOnnxRuntimeOpSchemaCollectionEESaIS8_EERKNS_20OrtFormatLoadOptionsERKNS_7logging6LoggerERSt10unique_ptrIS0_St14default_deleteIS0_EE+0xe32): more undefined references tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' follow /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(graph.cc.o): in function onnxruntime::Graph::InferAndVerifyTypeMatch(onnxruntime::Node&, onnx::OpSchema const&, onnxruntime::Graph::ResolveOptions const&)': graph.cc:(.text._ZN11onnxruntime5Graph23InferAndVerifyTypeMatchERNS_4NodeERKN4onnx8OpSchemaERKNS0_14ResolveOptionsE+0x124f): undefined reference tostd::basic_stringstream<char, std::char_traits, std::allocator >::basic_stringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(graph.cc.o): in function onnxruntime::Graph::InjectExternalInitializedTensors(onnxruntime::InlinedHashMap<std::string, OrtValue, std::allocator<std::pair<std::string const, OrtValue> > > const&) [clone .cold]': graph.cc:(.text.unlikely._ZN11onnxruntime5Graph32InjectExternalInitializedTensorsERKNS_14InlinedHashMapISs8OrtValueSaISt4pairIKSsS2_EEEE+0xdf): undefined reference tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(graph.cc.o): in function onnxruntime::Graph::FinalizeFuseSubGraph(onnxruntime::IndexedSubGraph const&, onnxruntime::Node&) [clone .cold]': graph.cc:(.text.unlikely._ZN11onnxruntime5Graph20FinalizeFuseSubGraphERKNS_15IndexedSubGraphERNS_4NodeE+0x26d): undefined reference tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(graph.cc.o): in function onnxruntime::Graph::LoadFromOrtFormat(onnxruntime::fbs::Graph const&, onnxruntime::OrtFormatLoadOptions const&)': graph.cc:(.text._ZN11onnxruntime5Graph17LoadFromOrtFormatERKNS_3fbs5GraphERKNS_20OrtFormatLoadOptionsE+0x5dc): undefined reference tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: graph.cc:(.text._ZN11onnxruntime5Graph17LoadFromOrtFormatERKNS_3fbs5GraphERKNS_20OrtFormatLoadOptionsE+0xe3e): undefined reference to std::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(graph.cc.o): in functiononnxruntime::Graph::Graph(onnxruntime::Model const&, onnx::GraphProto, std::unordered_map<std::string, int, std::hash, std::equal_to, std::allocator<std::pair<std::string const, int> > > const&, long, std::shared_ptr, onnxruntime::Graph, onnxruntime::Node const, onnxruntime::logging::Logger const&, bool)': graph.cc:(.text._ZN11onnxruntime5GraphC2ERKNS_5ModelEPN4onnx10GraphProtoERKSt13unordered_mapISsiSt4hashISsESt8equal_toISsESaISt4pairIKSsiEEElSt10shared_ptrINS_30IOnnxRuntimeOpSchemaCollectionEEPS0_PKNS_4NodeERKNS_7logging6LoggerEb+0x102c): undefined reference to std::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(graph.cc.o):graph.cc:(.text._ZN11onnxruntime5GraphC2ERKNS_5ModelEPN4onnx10GraphProtoERKSt13unordered_mapISsiSt4hashISsESt8equal_toISsESaISt4pairIKSsiEEElSt10shared_ptrINS_30IOnnxRuntimeOpSchemaCollectionEEPS0_PKNS_4NodeERKNS_7logging6LoggerEb+0x14bc): more undefined references tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' follow /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(session_state.cc.o): in function std::_Sp_counted_ptr_inplace<std::unordered_map<std::string, onnxruntime::FuncManager::FuncInfo, std::hashstd::string, std::equal_tostd::string, std::allocator<std::pair<std::string const, onnxruntime::FuncManager::FuncInfo> > >, std::allocator<std::unordered_map<std::string, onnxruntime::FuncManager::FuncInfo, std::hashstd::string, std::equal_tostd::string, std::allocator<std::pair<std::string const, onnxruntime::FuncManager::FuncInfo> > > >, (__gnu_cxx::_Lock_policy)2>::_M_get_deleter(std::type_info const&)': session_state.cc:(.text._ZNSt23_Sp_counted_ptr_inplaceISt13unordered_mapISsN11onnxruntime11FuncManager8FuncInfoESt4hashISsESt8equal_toISsESaISt4pairIKSsS3_EEESaISC_ELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info[_ZNSt23_Sp_counted_ptr_inplaceISt13unordered_mapISsN11onnxruntime11FuncManager8FuncInfoESt4hashISsESt8equal_toISsESaISt4pairIKSsS3_EEESaISC_ELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info]+0x13): undefined reference tostd::_Sp_make_shared_tag::_S_eq(std::type_info const&)' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(session_state.cc.o): in function `onnxruntime::logging::Capture::Capture(onnxruntime::logging::Logger const&, onnxruntime::logging::Severity, char const, onnxruntime::logging::DataType, onnxruntime::CodeLocation const&) [clone .constprop.0]': session_state.cc:(.text._ZN11onnxruntime7logging7CaptureC2ERKNS0_6LoggerENS0_8SeverityEPKcNS0_8DataTypeERKNS_12CodeLocationE.constprop.0+0xc1): undefined reference to std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(session_state.cc.o): in functiononnxruntime::CalculateMemoryPatternsKey(gsl::span<OrtValue const, 18446744073709551615ul> const&) [clone .cold]': session_state.cc:(.text.unlikely._ZN11onnxruntimeL26CalculateMemoryPatternsKeyERKN3gsl4spanIK8OrtValueLm18446744073709551615EEE+0x27): undefined reference to std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(session_state.cc.o): in functiononnxruntime::KernelUseSharedPrePackedBuffers(onnxruntime::OpKernel&, int, onnxruntime::PrePackedWeights const&, std::string const&)': session_state.cc:(.text._ZN11onnxruntimeL31KernelUseSharedPrePackedBuffersERNS_8OpKernelEiRKNS_16PrePackedWeightsERKSs+0x52e): undefined reference to std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(session_state.cc.o): in functionstd::string onnxruntime::detail::MakeStringImpl<char const, std::string, char const, std::string, char const, unsigned long, char const, std::string>(char const const&, std::string const&, char const const&, std::string const&, char const const&, unsigned long const&, char const const&, std::string const&)': session_state.cc:(.text._ZN11onnxruntime6detail14MakeStringImplIJPKcSsS3_SsS3_mS3SsEEESsDpRKT[_ZN11onnxruntime6detail14MakeStringImplIJPKcSsS3_SsS3_mS3SsEEESsDpRKT]+0x2d): undefined reference to std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(session_state.cc.o): in functiononnxruntime::SessionState::PruneRemovableAttributes() [clone .cold]': session_state.cc:(.text.unlikely._ZN11onnxruntime12SessionState24PruneRemovableAttributesEv+0x24c): undefined reference to std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(session_state.cc.o):session_state.cc:(.text._ZN11onnxruntime12SessionState24PruneRemovableAttributesEv+0x3bc): more undefined references tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' follow /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(session_options.cc.o): in function std::_Sp_counted_ptr_inplace<onnxruntime::LibraryHandles, std::allocator<onnxruntime::LibraryHandles>, (__gnu_cxx::_Lock_policy)2>::_M_get_deleter(std::type_info const&)': session_options.cc:(.text._ZNSt23_Sp_counted_ptr_inplaceIN11onnxruntime14LibraryHandlesESaIS1_ELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info[_ZNSt23_Sp_counted_ptr_inplaceIN11onnxruntime14LibraryHandlesESaIS1_ELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info]+0x13): undefined reference tostd::_Sp_make_shared_tag::_S_eq(std::type_info const&)' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(prepacked_weights.cc.o): in function onnxruntime::PrePackedWeights::GetHash() const [clone .cold]': prepacked_weights.cc:(.text.unlikely._ZNK11onnxruntime16PrePackedWeights7GetHashEv+0x43): undefined reference tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(op_kernel.cc.o): in function onnxruntime::OpKernelContext::OpKernelContext(onnxruntime::IExecutionFrame*, onnxruntime::OpKernel const*, onnxruntime::Stream*, onnxruntime::concurrency::ThreadPool*, onnxruntime::logging::Logger const&) [clone .cold]': op_kernel.cc:(.text.unlikely._ZN11onnxruntime15OpKernelContextC2EPNS_15IExecutionFrameEPKNS_8OpKernelEPNS_6StreamEPNS_11concurrency10ThreadPoolERKNS_7logging6LoggerE+0xf2): undefined reference tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(mldata_type_utils.cc.o): in function onnxruntime::utils::GetMLDataType(onnxruntime::NodeArg const&) [clone .cold]': mldata_type_utils.cc:(.text.unlikely._ZN11onnxruntime5utils13GetMLDataTypeERKNS_7NodeArgE+0x43): undefined reference tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(kernel_def_builder.cc.o): in function onnxruntime::KernelDefBuilder::VariadicAlias(int, int) [clone .cold]': kernel_def_builder.cc:(.text.unlikely._ZN11onnxruntime16KernelDefBuilder13VariadicAliasEii+0x43): undefined reference tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(graph_partitioner.cc.o): in function onnxruntime::FunctionKernel::Compute(onnxruntime::OpKernelContext*) const': graph_partitioner.cc:(.text._ZNK11onnxruntime14FunctionKernel7ComputeEPNS_15OpKernelContextE[_ZNK11onnxruntime14FunctionKernel7ComputeEPNS_15OpKernelContextE]+0xae): undefined reference tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(graph_partitioner.cc.o):graph_partitioner.cc:(.text._ZN11onnxruntime14FunctionKernel6CreateERNS_11FuncManagerERKNS_12OpKernelInfoERSt10unique_ptrINS_8OpKernelESt14default_deleteIS7_EE[_ZN11onnxruntime14FunctionKernel6CreateERNS_11FuncManagerERKNS_12OpKernelInfoERSt10unique_ptrINS_8OpKernelESt14default_deleteIS7_EE]+0x1e1): more undefined references to std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()' follow /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(allocation_planner.cc.o): in functionstd::_Sp_counted_ptr_inplace<nlohmann::detail::output_string_adapter<char, std::string>, std::allocator<nlohmann::detail::output_string_adapter<char, std::string> >, (gnu_cxx::_Lock_policy)2>::_M_get_deleter(std::type_info const&)': allocation_planner.cc:(.text._ZNSt23_Sp_counted_ptr_inplaceIN8nlohmann6detail21output_string_adapterIcSsEESaIS3_ELN9gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info[_ZNSt23_Sp_counted_ptr_inplaceIN8nlohmann6detail21output_string_adapterIcSsEESaIS3_ELN9gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info]+0x13): undefined reference to std::_Sp_make_shared_tag::_S_eq(std::type_info const&)' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(allocation_planner.cc.o): in functiononnxruntime::PlannerImpl::UseCount(int)': allocation_planner.cc:(.text._ZN11onnxruntime11PlannerImpl8UseCountEi[_ZN11onnxruntime11PlannerImpl8UseCountEi]+0xa3): undefined reference to std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(allocation_planner.cc.o): in functionnlohmann::detail::serializer<nlohmann::basic_json<std::map, std::vector, std::string, bool, long, unsigned long, double, std::allocator, nlohmann::adl_serializer, std::vector<unsigned char, std::allocator > > >::dump_escaped(std::string const&, bool)': allocation_planner.cc:(.text._ZN8nlohmann6detail10serializerINS_10basic_jsonISt3mapSt6vectorSsblmdSaNS_14adl_serializerES4_IhSaIhEEEEE12dump_escapedERKSsb[_ZN8nlohmann6detail10serializerINS_10basic_jsonISt3mapSt6vectorSsblmdSaNS_14adl_serializerES4_IhSaIhEEEEE12dump_escapedERKSsb]+0x86a): undefined reference to std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(allocation_planner.cc.o): in functiononnxruntime::PlannerImpl::ComputeReuseCount()': allocation_planner.cc:(.text._ZN11onnxruntime11PlannerImpl17ComputeReuseCountEv[_ZN11onnxruntime11PlannerImpl17ComputeReuseCountEv]+0x5fc): undefined reference to std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()' /usr/bin/ld: allocation_planner.cc:(.text._ZN11onnxruntime11PlannerImpl17ComputeReuseCountEv[_ZN11onnxruntime11PlannerImpl17ComputeReuseCountEv]+0x999): undefined reference tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(allocation_planner.cc.o): in function onnxruntime::PlannerImpl::ComputeValueLocation()': allocation_planner.cc:(.text._ZN11onnxruntime11PlannerImpl20ComputeValueLocationEv[_ZN11onnxruntime11PlannerImpl20ComputeValueLocationEv]+0x4f3): undefined reference tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(allocation_planner.cc.o): in function onnxruntime::DeviceBasedPartitioner::Initialize()': allocation_planner.cc:(.text._ZN11onnxruntime22DeviceBasedPartitioner10InitializeEv+0x48c): undefined reference tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(allocation_planner.cc.o): in function onnxruntime::IGraphPartitioner::CreateGraphPartitioner(onnxruntime::logging::Logger const&, std::string const&)': allocation_planner.cc:(.text._ZN11onnxruntime17IGraphPartitioner22CreateGraphPartitionerERKNS_7logging6LoggerERKSs+0x1bc): undefined reference tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(cpu_provider_factory.cc.o): in function `std::_Sp_counted_ptr_inplace<onnxruntime::CpuProviderFactory, std::allocator, (__gnu_cxx::_Lock_policy)2>::_M_get_deleter(std::type_info const&)': cpu_provider_factory.cc:(.text._ZNSt23_Sp_counted_ptr_inplaceIN11onnxruntime18CpuProviderFactoryESaIS1_ELN9gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info[_ZNSt23_Sp_counted_ptr_inplaceIN11onnxruntime18CpuProviderFactoryESaIS1_ELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info]+0x13): undefined reference to std::_Sp_make_shared_tag::_S_eq(std::type_info const&)' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(loop.cc.o): in functiononnxruntime::Loop::Init(onnxruntime::OpKernelInfo const&) [clone .cold]': loop.cc:(.text.unlikely._ZN11onnxruntime4Loop4InitERKNS_12OpKernelInfoE+0x3e): undefined reference to std::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(loop.cc.o): in functiononnxruntime::LoopImpl::Initialize()': loop.cc:(.text._ZN11onnxruntime8LoopImpl10InitializeEv+0xb07): undefined reference to std::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: loop.cc:(.text._ZN11onnxruntime8LoopImpl10InitializeEv+0xd66): undefined reference tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(activations.cc.o): in function onnxruntime::functors::GetFloatParam(std::string const&, std::unordered_map<std::string, onnx::AttributeProto, std::hashstd::string, std::equal_tostd::string, std::allocator<std::pair<std::string const, onnx::AttributeProto> > > const&, float&)': activations.cc:(.text._ZN11onnxruntime8functors13GetFloatParamERKSsRKSt13unordered_mapISsN4onnx14AttributeProtoESt4hashISsESt8equal_toISsESaISt4pairIS1_S5_EEERf[_ZN11onnxruntime8functors13GetFloatParamERKSsRKSt13unordered_mapISsN4onnx14AttributeProtoESt4hashISsESt8equal_toISsESaISt4pairIS1_S5_EEERf]+0x96): undefined reference tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: activations.cc:(.text._ZN11onnxruntime8functors13GetFloatParamERKSsRKSt13unordered_mapISsN4onnx14AttributeProtoESt4hashISsESt8equal_toISsESaISt4pairIS1_S5_EEERf[_ZN11onnxruntime8functors13GetFloatParamERKSsRKSt13unordered_mapISsN4onnx14AttributeProtoESt4hashISsESt8equal_toISsESaISt4pairIS1_S5_EEERf]+0x1c6): undefined reference to std::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(transformer_memcpy.cc.o):transformer_memcpy.cc:(.text.unlikely._ZNSt17_Function_handlerIFN11onnxruntime6common6StatusERKNS0_7NodeArgEmEZNS0_21TransformerMemcpyImpl19ProcessInitializersERKNS0_21KernelRegistryManagerERKSt13unordered_mapISsPKN4onnx11TensorProtoESt4hashISsESt8equal_toISsESaISt4pairIKSsSF_EEEEUlS5_mE0_E9_M_invokeERKSt9_Any_dataS5_Om+0x43): more undefined references tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' follow /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(implementation.cc.o): in function std::string onnx::MakeString<char [22], char [87]>(char const (&) [22], char const (&) [87])': implementation.cc:(.text._ZN4onnx10MakeStringIJA22_cA87_cEEESsDpRKT_[_ZN4onnx10MakeStringIJA22_cA87_cEEESsDpRKT_]+0x27): undefined reference tostd::basic_stringstream<char, std::char_traits, std::allocator >::basic_stringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(implementation.cc.o): in function std::string onnx::MakeString<char [22], char [11], std::string, char [27]>(char const (&) [22], char const (&) [11], std::string const&, char const (&) [27])': implementation.cc:(.text._ZN4onnx10MakeStringIJA22_cA11_cSsA27_cEEESsDpRKT_[_ZN4onnx10MakeStringIJA22_cA11_cSsA27_cEEESsDpRKT_]+0x30): undefined reference tostd::basic_stringstream<char, std::char_traits, std::allocator >::basic_stringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(implementation.cc.o): in function std::string onnx::MakeString<char [23], std::string>(char const (&) [23], std::string const&)': implementation.cc:(.text._ZN4onnx10MakeStringIJA23_cSsEEESsDpRKT_[_ZN4onnx10MakeStringIJA23_cSsEEESsDpRKT_]+0x26): undefined reference tostd::basic_stringstream<char, std::char_traits, std::allocator >::basic_stringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(implementation.cc.o): in function std::string onnx::MakeString<char [23], char [62], onnx::TypeProto::ValueCase>(char const (&) [23], char const (&) [62], onnx::TypeProto::ValueCase const&)': implementation.cc:(.text._ZN4onnx10MakeStringIJA23_cA62_cNS_9TypeProto9ValueCaseEEEESsDpRKT_[_ZN4onnx10MakeStringIJA23_cA62_cNS_9TypeProto9ValueCaseEEEESsDpRKT_]+0x2b): undefined reference tostd::basic_stringstream<char, std::char_traits, std::allocator >::basic_stringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(implementation.cc.o): in function std::string onnx::MakeString<char [23], char [97]>(char const (&) [23], char const (&) [97])': implementation.cc:(.text._ZN4onnx10MakeStringIJA23_cA97_cEEESsDpRKT_[_ZN4onnx10MakeStringIJA23_cA97_cEEESsDpRKT_]+0x27): undefined reference tostd::basic_stringstream<char, std::char_traits, std::allocator >::basic_stringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(implementation.cc.o):implementation.cc:(.text._ZN4onnx17LoadProtoFromPathINS10ModelProtoEEEvSsRT[_ZN4onnx17LoadProtoFromPathINS10ModelProtoEEEvSsRT]+0x569): more undefined references to std::basic_stringstream<char, std::char_traits, std::allocator >::basic_stringstream()' follow /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(math_cpu.cc.o): in functiononnxruntime::math::NextPosition(long, long const, long) [clone .cold]': math_cpu.cc:(.text.unlikely._ZN11onnxruntime4mathL12NextPositionElPKlPl+0x43): undefined reference to std::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(math_cpu.cc.o): in functiononnxruntime::math::Im2col<unsigned char, 2>::operator()(unsigned char const, long const, long const, long, long const, long const, long const, long const, long, unsigned char, bool, unsigned char)': math_cpu.cc:(.text._ZN11onnxruntime4math6Im2colIhLi2EEclEPKhPKlS6_lS6_S6_S6_S6_lPhbh[_ZN11onnxruntime4math6Im2colIhLi2EEclEPKhPKlS6_lS6_S6_S6_S6_lPhbh]+0x41f): undefined reference to std::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(math_cpu.cc.o): in functiononnxruntime::math::Im2col<float, 2>::operator()(float const, long const, long const, long, long const, long const, long const, long const, long, float, bool, float)': math_cpu.cc:(.text._ZN11onnxruntime4math6Im2colIfLi2EEclEPKfPKlS6_lS6_S6_S6_S6_lPfbf[_ZN11onnxruntime4math6Im2colIfLi2EEclEPKfPKlS6_lS6_S6_S6_S6_lPfbf]+0x429): undefined reference to std::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(math_cpu.cc.o): in functiononnxruntime::math::Im2col<unsigned char, 1>::operator()(unsigned char const, long, long const, long const, long const, long const, long const, long const*, long, long, long, unsigned char const, unsigned char const)': math_cpu.cc:(.text._ZN11onnxruntime4math6Im2colIhLi1EEclEPKhlPKlS6_S6_S6_S6_S6_lllPS4S4[_ZN11onnxruntime4math6Im2colIhLi1EEclEPKhlPKlS6_S6_S6_S6_S6_lllPS4S4]+0x70f): undefined reference to std::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(math_cpu.cc.o): in functiononnxruntime::math::Im2col<signed char, 1>::operator()(signed char const, long, long const, long const, long const, long const, long const, long const, long, long, long, signed char const, signed char const*)': math_cpu.cc:(.text._ZN11onnxruntime4math6Im2colIaLi1EEclEPKalPKlS6_S6_S6_S6_S6_lllPS4S4[_ZN11onnxruntime4math6Im2colIaLi1EEclEPKalPKlS6_S6_S6_S6_S6_lllPS4S4]+0x70f): undefined reference to std::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(math_cpu.cc.o):math_cpu.cc:(.text._ZN11onnxruntime4math6Im2colINS_9MLFloat16ELi1EEclEPKS2_lPKlS7_S7_S7_S7_S7_lllPS5_S5_[_ZN11onnxruntime4math6Im2colINS_9MLFloat16ELi1EEclEPKS2_lPKlS7_S7_S7_S7_S7_lllPS5_S5_]+0x70f): more undefined references tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' follow /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(quantization_defs.cc.o): in function onnxruntime::contrib::GetOpSchemaonnxruntime::contrib::QLinearConcat_Microsoft_ver1()::{lambda(onnx::InferenceContext&)#1}::operator()(onnx::InferenceContext&) const [clone .constprop.0] [clone .cold]': quantization_defs.cc:(.text.unlikely._ZZN11onnxruntime7contrib11GetOpSchemaINS0_28QLinearConcat_Microsoft_ver1EEEN4onnx8OpSchemaEvENKUlRNS3_16InferenceContextEE_clES6_.constprop.0+0x9c): undefined reference tostd::basic_stringstream<char, std::char_traits, std::allocator >::basic_stringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(quantization_defs.cc.o): in function onnxruntime::contrib::ValidateTypeAndShapeForScaleAndZP(onnx::InferenceContext&, int, int, onnxruntime::contrib::QuantParamTensorType, int) [clone .cold]': quantization_defs.cc:(.text.unlikely._ZN11onnxruntime7contrib33ValidateTypeAndShapeForScaleAndZPERN4onnx16InferenceContextEiiNS0_20QuantParamTensorTypeEi+0x16): undefined reference tostd::basic_stringstream<char, std::char_traits, std::allocator >::basic_stringstream()' /usr/bin/ld: quantization_defs.cc:(.text.unlikely._ZN11onnxruntime7contrib33ValidateTypeAndShapeForScaleAndZPERN4onnx16InferenceContextEiiNS0_20QuantParamTensorTypeEi+0x166): undefined reference to std::basic_stringstream<char, std::char_traits, std::allocator >::basic_stringstream()' /usr/bin/ld: quantization_defs.cc:(.text.unlikely._ZN11onnxruntime7contrib33ValidateTypeAndShapeForScaleAndZPERN4onnx16InferenceContextEiiNS0_20QuantParamTensorTypeEi+0x21b): undefined reference tostd::basic_stringstream<char, std::char_traits, std::allocator >::basic_stringstream()' /usr/bin/ld: quantization_defs.cc:(.text.unlikely._ZN11onnxruntime7contrib33ValidateTypeAndShapeForScaleAndZPERN4onnx16InferenceContextEiiNS0_20QuantParamTensorTypeEi+0x324): undefined reference to std::basic_stringstream<char, std::char_traits, std::allocator >::basic_stringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(quantization_defs.cc.o):quantization_defs.cc:(.text.unlikely._ZZN11onnxruntime7contrib11GetOpSchemaINS0_35QLinearConvTranspose_Microsoft_ver1EEEN4onnx8OpSchemaEvENKUlRNS3_16InferenceContextEE_clES6_.constprop.0+0x16): more undefined references tostd::basic_stringstream<char, std::char_traits, std::allocator >::basic_stringstream()' follow /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(session_state_utils.cc.o): in function onnxruntime::session_state_utils::SaveInitializedTensors(onnxruntime::Env const&, std::string const&, onnxruntime::GraphViewer const&, std::shared_ptronnxruntime::IAllocator const&, onnxruntime::OrtValueNameIdxMap const&, std::vector<int, std::allocator > const&, onnxruntime::ITensorAllocator&, std::function<onnxruntime::common::Status (std::string const&, int, OrtValue const&, onnxruntime::OrtCallback const&, bool, bool)> const&, onnxruntime::logging::Logger const&, onnxruntime::DataTransferManager const&, onnxruntime::ExecutionPlanBase const&, onnxruntime::SessionOptions const&, std::function<void (onnxruntime::ITensorAllocator&)> const&) [clone .cold]': session_state_utils.cc:(.text.unlikely._ZN11onnxruntime19session_state_utils22SaveInitializedTensorsERKNS_3EnvERKSsRKNS_11GraphViewerERKSt10shared_ptrINS_10IAllocatorEERKNS_18OrtValueNameIdxMapERKSt6vectorIiSaIiEERNS_16ITensorAllocatorERKSt8functionIFNS_6common6StatusES5_iRK8OrtValueRKNS_11OrtCallbackEbbEERKNS_7logging6LoggerERKNS_19DataTransferManagerERKNS_17ExecutionPlanBaseERKNS_14SessionOptionsERKSO_IFvSN_EE+0x6c8): undefined reference tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(session_state_utils.cc.o): in function onnxruntime::session_state_utils::SaveInitializedTensors(onnxruntime::Env const&, std::string const&, onnxruntime::GraphViewer const&, std::shared_ptronnxruntime::IAllocator const&, onnxruntime::OrtValueNameIdxMap const&, std::vector<int, std::allocator > const&, onnxruntime::ITensorAllocator&, std::function<onnxruntime::common::Status (std::string const&, int, OrtValue const&, onnxruntime::OrtCallback const&, bool, bool)> const&, onnxruntime::logging::Logger const&, onnxruntime::DataTransferManager const&, onnxruntime::ExecutionPlanBase const&, onnxruntime::SessionOptions const&, std::function<void (onnxruntime::ITensorAllocator&)> const&)': session_state_utils.cc:(.text._ZN11onnxruntime19session_state_utils22SaveInitializedTensorsERKNS_3EnvERKSsRKNS_11GraphViewerERKSt10shared_ptrINS_10IAllocatorEERKNS_18OrtValueNameIdxMapERKSt6vectorIiSaIiEERNS_16ITensorAllocatorERKSt8functionIFNS_6common6StatusES5_iRK8OrtValueRKNS_11OrtCallbackEbbEERKNS_7logging6LoggerERKNS_19DataTransferManagerERKNS_17ExecutionPlanBaseERKNS_14SessionOptionsERKSO_IFvSN_EE+0x263): undefined reference tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: session_state_utils.cc:(.text._ZN11onnxruntime19session_state_utils22SaveInitializedTensorsERKNS_3EnvERKSsRKNS_11GraphViewerERKSt10shared_ptrINS_10IAllocatorEERKNS_18OrtValueNameIdxMapERKSt6vectorIiSaIiEERNS_16ITensorAllocatorERKSt8functionIFNS_6common6StatusES5_iRK8OrtValueRKNS_11OrtCallbackEbbEERKNS_7logging6LoggerERKNS_19DataTransferManagerERKNS_17ExecutionPlanBaseERKNS_14SessionOptionsERKSO_IFvSN_EE+0xbb4): undefined reference to std::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: session_state_utils.cc:(.text._ZN11onnxruntime19session_state_utils22SaveInitializedTensorsERKNS_3EnvERKSsRKNS_11GraphViewerERKSt10shared_ptrINS_10IAllocatorEERKNS_18OrtValueNameIdxMapERKSt6vectorIiSaIiEERNS_16ITensorAllocatorERKSt8functionIFNS_6common6StatusES5_iRK8OrtValueRKNS_11OrtCallbackEbbEERKNS_7logging6LoggerERKNS_19DataTransferManagerERKNS_17ExecutionPlanBaseERKNS_14SessionOptionsERKSO_IFvSN_EE+0x16f6): undefined reference tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: session_state_utils.cc:(.text._ZN11onnxruntime19session_state_utils22SaveInitializedTensorsERKNS_3EnvERKSsRKNS_11GraphViewerERKSt10shared_ptrINS_10IAllocatorEERKNS_18OrtValueNameIdxMapERKSt6vectorIiSaIiEERNS_16ITensorAllocatorERKSt8functionIFNS_6common6StatusES5_iRK8OrtValueRKNS_11OrtCallbackEbbEERKNS_7logging6LoggerERKNS_19DataTransferManagerERKNS_17ExecutionPlanBaseERKNS_14SessionOptionsERKSO_IFvSN_EE+0x1bbe): undefined reference to std::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(session_state_utils.cc.o):session_state_utils.cc:(.text._ZN11onnxruntime19session_state_utils22SaveInitializedTensorsERKNS_3EnvERKSsRKNS_11GraphViewerERKSt10shared_ptrINS_10IAllocatorEERKNS_18OrtValueNameIdxMapERKSt6vectorIiSaIiEERNS_16ITensorAllocatorERKSt8functionIFNS_6common6StatusES5_iRK8OrtValueRKNS_11OrtCallbackEbbEERKNS_7logging6LoggerERKNS_19DataTransferManagerERKNS_17ExecutionPlanBaseERKNS_14SessionOptionsERKSO_IFvSN_EE+0x2003): more undefined references tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' follow /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(utils.cc.o): in function onnx::gridSampleShapeInference(onnx::InferenceContext&) [clone .cold]': utils.cc:(.text.unlikely._ZN4onnx24gridSampleShapeInferenceERNS_16InferenceContextE+0x285): undefined reference tostd::basic_stringstream<char, std::char_traits, std::allocator >::basic_stringstream()' /usr/bin/ld: utils.cc:(.text.unlikely._ZN4onnx24gridSampleShapeInferenceERNS_16InferenceContextE+0x731): undefined reference to std::basic_stringstream<char, std::char_traits, std::allocator >::basic_stringstream()' /usr/bin/ld: utils.cc:(.text.unlikely._ZN4onnx24gridSampleShapeInferenceERNS_16InferenceContextE+0x828): undefined reference tostd::basic_stringstream<char, std::char_traits, std::allocator >::basic_stringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(utils.cc.o): in function onnx::PadDocGenerator(char const*, char const*)::{lambda(onnx::OpSchema&)#1}::operator()(onnx::OpSchema&) const::{lambda(onnx::InferenceContext&)#1}::operator()(onnx::InferenceContext) const [clone .constprop.0] [clone .cold]': utils.cc:(.text.unlikely._ZZZN4onnx15PadDocGeneratorEPKcS1_ENKUlRNS_8OpSchemaEE_clES3_ENKUlRNS_16InferenceContextEE_clES6_.constprop.0+0x15a): undefined reference tostd::basic_stringstream<char, std::char_traits, std::allocator >::basic_stringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(utils.cc.o): in function onnx::IfInferenceFunction(onnx::InferenceContext&) [clone .cold]': utils.cc:(.text.unlikely._ZN4onnx19IfInferenceFunctionERNS_16InferenceContextE+0x11): undefined reference tostd::basic_stringstream<char, std::char_traits, std::allocator >::basic_stringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(utils.cc.o):utils.cc:(.text.unlikely._ZN4onnx19IfInferenceFunctionERNS_16InferenceContextE+0xf4): more undefined references to std::basic_stringstream<char, std::char_traits, std::allocator >::basic_stringstream()' follow /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(word_conv_embedding.cc.o): in functiononnxruntime::contrib::WordConvEmbedding::Compute(onnxruntime::OpKernelContext) const [clone .cold]': word_conv_embedding.cc:(.text.unlikely._ZNK11onnxruntime7contrib17WordConvEmbedding7ComputeEPNS_15OpKernelContextE+0x2af): undefined reference to std::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: word_conv_embedding.cc:(.text.unlikely._ZNK11onnxruntime7contrib17WordConvEmbedding7ComputeEPNS_15OpKernelContextE+0xbc3): undefined reference tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(sampling.cc.o): in function onnxruntime::contrib::transformers::GenerateBase::CheckScalarInput(std::string const&, int, bool) const': sampling.cc:(.text._ZNK11onnxruntime7contrib12transformers12GenerateBase16CheckScalarInputERKSsib[_ZNK11onnxruntime7contrib12transformers12GenerateBase16CheckScalarInputERKSsib]+0x81): undefined reference tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: sampling.cc:(.text._ZNK11onnxruntime7contrib12transformers12GenerateBase16CheckScalarInputERKSsib[_ZNK11onnxruntime7contrib12transformers12GenerateBase16CheckScalarInputERKSsib]+0x1de): undefined reference to std::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(sampling.cc.o): in functiononnxruntime::common::Status onnxruntime::contrib::transformers::GenerateBase::CheckInputsImpl<onnxruntime::contrib::transformers::SamplingParameters>(onnxruntime::contrib::transformers::SamplingParameters const&, onnxruntime::Tensor const, onnxruntime::Tensor const, onnxruntime::Tensor const, onnxruntime::Tensor const, onnxruntime::Tensor const, onnxruntime::Tensor const*) const': sampling.cc:(.text._ZNK11onnxruntime7contrib12transformers12GenerateBase15CheckInputsImplIPNS1_18SamplingParametersEEENS_6common6StatusERKT_PKNS_6TensorESD_SD_SD_SDSD[_ZNK11onnxruntime7contrib12transformers12GenerateBase15CheckInputsImplIPNS1_18SamplingParametersEEENS_6common6StatusERKT_PKNS_6TensorESD_SD_SD_SDSD]+0x33b): undefined reference to std::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' /usr/bin/ld: ../../_deps/onnxruntime-src/lib/libonnxruntime.a(greedy_search.cc.o):greedy_search.cc:(.text._ZNK11onnxruntime7contrib12transformers12GenerateBase15CheckInputsImplIPNS1_22GreedySearchParametersEEENS_6common6StatusERKT_PKNS_6TensorESD_SD_SD_SD_SD_[_ZNK11onnxruntime7contrib12transformers12GenerateBase15CheckInputsImplIPNS1_22GreedySearchParametersEEENS_6common6StatusERKT_PKNS_6TensorESD_SD_SD_SD_SD_]+0x33b): more undefined references tostd::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()' follow collect2: error: ld returned 1 exit status make[2]: [sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-alsa-offline-audio-tagging.dir/build.make:110: bin/sherpa-onnx-alsa-offline-audio-tagging] Error 1 make[1]: [CMakeFiles/Makefile2:2365: sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-alsa-offline-audio-tagging.dir/all] Error 2 make: *** [Makefile:152: all] Error 2

use this command normally now: cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON -DSHERPA_ONNX_ENABLE_GPU=OFF ..

csukuangfj commented 3 months ago

Great to hear that using shared libraries works for you.

If you want to fix the static build issue, could you tell us your GCC version?

yegeli commented 3 months ago

GCC:7.5.0

csukuangfj commented 3 months ago

Are you using gcc for arm32 , or for arm64 or for x64?

Please pass the following option to cmake

-DSHERPA_ONNX_LINK_LIBSTDCPP_STATICALLY=OFF

and retry.

If it still does not work for you, then please try gcc >= 10.