Maix-Speech icon indicating copy to clipboard operation
Maix-Speech copied to clipboard

Build it on speed R329 Fail

Open Zhouguangxin opened this issue 1 year ago • 0 comments

/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 to __log_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 to __coshf_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 to __acoshf_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 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+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 to __log_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 to __expf_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 to __powf_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 to __powf_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 to __expf_finite' /usr/bin/ld: (.text.ZN3MNN23CPUDetectionPostProcess9onExecuteERKSt6vectorIPNS_6TensorESaIS3_EES7+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 function MNN::CPUDetectionOutput::onExecute(std::vector<MNN::Tensor*, std::allocatorMNN::Tensor* > const&, std::vector<MNN::Tensor*, std::allocatorMNN::Tensor* > const&)': (.text.ZN3MNN18CPUDetectionOutput9onExecuteERKSt6vectorIPNS_6TensorESaIS3_EES7+0x414): undefined reference to __expf_finite' /usr/bin/ld: (.text._ZN3MNN18CPUDetectionOutput9onExecuteERKSt6vectorIPNS_6TensorESaIS3_EES7_+0x42c): undefined reference to __expf_finite' /usr/bin/ld: (.text.ZN3MNN18CPUDetectionOutput9onExecuteERKSt6vectorIPNS_6TensorESaIS3_EES7+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 to __expf_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 function MNN::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 .

Zhouguangxin avatar Apr 04 '23 13:04 Zhouguangxin