Skip to content

Undefined symbols for architecture arm64 #1

@brightbetter

Description

@brightbetter

hi,i use your library on my project. But when I run with Xcode, It caused some error:

Undefined symbols for architecture arm64:
"dsptrf", referenced from:
kaldi::SpMatrix::Invert(double*, double*, bool) in kaldi-matrix.a(sp-matrix.o)
"_sgemm_kernel", referenced from:
_sgemm_nn in libopenblas_armv8p-r0.2.20.dev.a(sgemm_nn.o)
_sgemm_nt in libopenblas_armv8p-r0.2.20.dev.a(sgemm_nt.o)
_inner_thread in libopenblas_armv8p-r0.2.20.dev.a(sgemm_thread_nn.o)
_inner_thread in libopenblas_armv8p-r0.2.20.dev.a(sgemm_thread_nt.o)
_inner_thread in libopenblas_armv8p-r0.2.20.dev.a(sgemm_thread_tn.o)
_inner_thread in libopenblas_armv8p-r0.2.20.dev.a(sgemm_thread_tt.o)
_sgemm_tn in libopenblas_armv8p-r0.2.20.dev.a(sgemm_tn.o)
...
"dgetrf", referenced from:
kaldi::MatrixBase::Invert(double*, double*, bool) in kaldi-matrix.a(kaldi-matrix.o)
"dsptri", referenced from:
kaldi::SpMatrix::Invert(double*, double*, bool) in kaldi-matrix.a(sp-matrix.o)
"ssptrf", referenced from:
kaldi::SpMatrix::Invert(float*, float*, bool) in kaldi-matrix.a(sp-matrix.o)
"sgetrf", referenced from:
kaldi::MatrixBase::Invert(float*, float*, bool) in kaldi-matrix.a(kaldi-matrix.o)
"ssptri", referenced from:
kaldi::SpMatrix::Invert(float*, float*, bool) in kaldi-matrix.a(sp-matrix.o)
"sgesvd", referenced from:
kaldi::MatrixBase::LapackGesvd(kaldi::VectorBase, kaldi::MatrixBase, kaldi::MatrixBase) in kaldi-matrix.a(kaldi-matrix.o)
"stptri", referenced from:
kaldi::TpMatrix::Invert() in kaldi-matrix.a(tp-matrix.o)
"dgetri", referenced from:
kaldi::MatrixBase::Invert(double
, double*, bool) in kaldi-matrix.a(kaldi-matrix.o)
"dgesvd", referenced from:
kaldi::MatrixBase::LapackGesvd(kaldi::VectorBase, kaldi::MatrixBase, kaldi::MatrixBase) in kaldi-matrix.a(kaldi-matrix.o)
"dtptri", referenced from:
kaldi::TpMatrix::Invert() in kaldi-matrix.a(tp-matrix.o)
"sgetri", referenced from:
kaldi::MatrixBase::Invert(float
, float*, bool) in kaldi-matrix.a(kaldi-matrix.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions