sipeed / Maix-Speech

Maix Speech AI lib, a fast and small speech lib running on embedded devices, including ASR, chat, TTS etc.
Other
321 stars 57 forks source link

Build it on speed R329 Fail #10

Open Zhouguangxin opened 1 year ago

Zhouguangxin commented 1 year ago

/usr/bin/ld: /opt/gits/Maix-Speech/components/asr_lib/lib/aarch64/libms_asr_aarch64.a(ConvolutionCommon.cpp.o): in function MNN::ConvolutionCommon::load(MNN::IDSTQuan const*, bool, bool)': (.text._ZN3MNN17ConvolutionCommon4loadEPKNS_8IDSTQuanEbb+0xf0c): undefined reference tolog_finite' /usr/bin/ld: /opt/gits/Maix-Speech/components/asr_lib/lib/aarch64/libms_asr_aarch64.a(CPUUnary.cpp.o):(.text._Z8_unaryOpI9UnaryAcosIfEfEvPvPKvi+0x2c): undefined reference to `acosf_finite' /usr/bin/ld: /opt/gits/Maix-Speech/components/asr_lib/lib/aarch64/libms_asr_aarch64.a(CPUUnary.cpp.o):(.text._Z8_unaryOpI9UnaryAsinIfEfEvPvPKvi+0x2c): undefined reference to __asinf_finite' /usr/bin/ld: /opt/gits/Maix-Speech/components/asr_lib/lib/aarch64/libms_asr_aarch64.a(CPUUnary.cpp.o):(.text._Z8_unaryOpI9UnaryCoshIfEfEvPvPKvi+0x2c): undefined reference tocoshf_finite' /usr/bin/ld: /opt/gits/Maix-Speech/components/asr_lib/lib/aarch64/libms_asr_aarch64.a(CPUUnary.cpp.o):(.text._Z8_unaryOpI10UnaryAtanhIfEfEvPvPKvi+0x2c): undefined reference to `atanhf_finite' /usr/bin/ld: /opt/gits/Maix-Speech/components/asr_lib/lib/aarch64/libms_asr_aarch64.a(CPUUnary.cpp.o):(.text._Z8_unaryOpI9UnarySinhIfEfEvPvPKvi+0x2c): undefined reference to __sinhf_finite' /usr/bin/ld: /opt/gits/Maix-Speech/components/asr_lib/lib/aarch64/libms_asr_aarch64.a(CPUUnary.cpp.o):(.text._Z8_unaryOpI10UnaryAcoshIfEfEvPvPKvi+0x2c): undefined reference toacoshf_finite' /usr/bin/ld: /opt/gits/Maix-Speech/components/asr_lib/lib/aarch64/libms_asr_aarch64.a(CPUUnary.cpp.o):(.text._Z8_unaryOpI10UnaryLog1pIfEfEvPvPKvi+0x38): undefined reference to `logf_finite' /usr/bin/ld: /opt/gits/Maix-Speech/components/asr_lib/lib/aarch64/libms_asr_aarch64.a(CPUUnary.cpp.o):(.text._Z8_unaryOpI8UnaryLogIfEfEvPvPKvi+0x2c): undefined reference to __logf_finite' /usr/bin/ld: /opt/gits/Maix-Speech/components/asr_lib/lib/aarch64/libms_asr_aarch64.a(CPUUnary.cpp.o):(.text._Z8_unaryOpI9UnaryBNLLIfEfEvPvPKvi+0x44): undefined reference toexp_finite' /usr/bin/ld: /opt/gits/Maix-Speech/components/asr_lib/lib/aarch64/libms_asr_aarch64.a(CPUUnary.cpp.o):(.text._Z8_unaryOpI9UnaryBNLLIfEfEvPvPKvi+0x4c): undefined reference to `log_finite' /usr/bin/ld: /opt/gits/Maix-Speech/components/asr_lib/lib/aarch64/libms_asr_aarch64.a(CPUUnary.cpp.o):(.text._Z8_unaryOpI9UnaryBNLLIfEfEvPvPKvi+0x58): undefined reference to __exp_finite' /usr/bin/ld: /opt/gits/Maix-Speech/components/asr_lib/lib/aarch64/libms_asr_aarch64.a(CPUUnary.cpp.o):(.text._Z8_unaryOpI9UnaryBNLLIfEfEvPvPKvi+0x60): undefined reference tolog_finite' /usr/bin/ld: /opt/gits/Maix-Speech/components/asr_lib/lib/aarch64/libms_asr_aarch64.a(CPUUnary.cpp.o): in function float erfcImpl<float>(float)': (.text._Z8erfcImplIfET_S0_[_Z8erfcImplIfET_S0_]+0x40): undefined reference toexpf_finite' /usr/bin/ld: /opt/gits/Maix-Speech/components/asr_lib/lib/aarch64/libms_asr_aarch64.a(CPUBinary.cpp.o): in function void MNN::execute<float, float, BinaryPow<float, float, float> >(void*, void const*, void const*, int, int)': (.text._ZN3MNN7executeIff9BinaryPowIfffEEEvPvPKvS5_ii[_ZN3MNN7executeIff9BinaryPowIfffEEEvPvPKvS5_ii]+0x38): undefined reference topowf_finite' /usr/bin/ld: (.text._ZN3MNN7executeIff9BinaryPowIfffEEEvPvPKvS5_ii[_ZN3MNN7executeIff9BinaryPowIfffEEEvPvPKvS5_ii]+0x84): undefined reference to __powf_finite' /usr/bin/ld: (.text._ZN3MNN7executeIff9BinaryPowIfffEEEvPvPKvS5_ii[_ZN3MNN7executeIff9BinaryPowIfffEEEvPvPKvS5_ii]+0xc4): undefined reference topowf_finite' /usr/bin/ld: /opt/gits/Maix-Speech/components/asr_lib/lib/aarch64/libms_asr_aarch64.a(CPUDetectionPostProcess.cpp.o): in function MNN::CPUDetectionPostProcess::onExecute(std::vector<MNN::Tensor*, std::allocator<MNN::Tensor*> > const&, std::vector<MNN::Tensor*, std::allocator<MNN::Tensor*> > const&)': (.text._ZN3MNN23CPUDetectionPostProcess9onExecuteERKSt6vectorIPNS_6TensorESaIS3_EES7_+0x128): undefined reference toexpf_finite' /usr/bin/ld: (.text._ZN3MNN23CPUDetectionPostProcess9onExecuteERKSt6vectorIPNS_6TensorESaIS3EES7+0x140): undefined reference to __expf_finite' /usr/bin/ld: /opt/gits/Maix-Speech/components/asr_lib/lib/aarch64/libms_asr_aarch64.a(CPUDetectionOutput.cpp.o): in functionMNN::CPUDetectionOutput::onExecute(std::vector<MNN::Tensor, std::allocator<MNN::Tensor> > const&, std::vector<MNN::Tensor, std::allocator<MNN::Tensor> > const&)': (.text._ZN3MNN18CPUDetectionOutput9onExecuteERKSt6vectorIPNS_6TensorESaIS3EES7+0x414): undefined reference to __expf_finite' /usr/bin/ld: (.text._ZN3MNN18CPUDetectionOutput9onExecuteERKSt6vectorIPNS_6TensorESaIS3_EES7_+0x42c): undefined reference toexpf_finite' /usr/bin/ld: (.text._ZN3MNN18CPUDetectionOutput9onExecuteERKSt6vectorIPNS_6TensorESaIS3EES7+0xd90): undefined reference to __expf_finite' /usr/bin/ld: /opt/gits/Maix-Speech/components/asr_lib/lib/aarch64/libms_asr_aarch64.a(CPUDetectionOutput.cpp.o):(.text._ZN3MNN18CPUDetectionOutput9onExecuteERKSt6vectorIPNS_6TensorESaIS3_EES7_+0xda8): more undefined references toexpf_finite' follow /usr/bin/ld: /opt/gits/Maix-Speech/components/asr_lib/lib/aarch64/libms_asr_aarch64.a(WingoradGenerater.cpp.o):(.text._ZN3MNN4MathL8computeAEPKfii+0x15c): undefined reference to __powf_finite' /usr/bin/ld: /opt/gits/Maix-Speech/components/asr_lib/lib/aarch64/libms_asr_aarch64.a(WingoradGenerater.cpp.o): in functionMNN::Math::WinogradGenerater::WinogradGenerater(int, int, float, bool)': (.text._ZN3MNN4Math17WinogradGeneraterC2Eiifb+0x7c4): undefined reference to `powf_finite' collect2: error: ld returned 1 exit status make[2]: [CMakeFiles/maix_asr.dir/build.make:111:maix_asr] 错误 1 make[1]: [CMakeFiles/Makefile2:190:CMakeFiles/maix_asr.dir/all] 错误 2 make: *** [Makefile:103:all] 错误 2 root@zmaixsense:/opt/gits/Maix-Speech/projects/maix_asr#

root@zmaixsense:/opt/gits/Maix-Speech/projects/maix_asr# uname -a Linux zmaixsense 5.14.0-rc7-sun50iw11 #trunk SMP Tue Mar 1 10:28:19 CST 2022 aarch64 GNU/Linux root@zmaixsense:/opt/gits/Maix-Speech/projects/maix_asr#

this is not CROSS BUILD ,thank you .