Open Yayi opened 1 year ago
I have installed openblas, but there are some errors: /usr/bin/ld: ../src/lib/libfastasr.a(Predictor.cpp.o): in functionparaformer::Predictor::cif_conv1d(Tensor&)': Predictor.cpp:(.text+0x222): undefined reference to cblas_sgemm' /usr/bin/ld: ../src/lib/libfastasr.a(Predictor.cpp.o): in functionparaformer::Predictor::forward(Tensor&)': Predictor.cpp:(.text+0x48a): undefined reference to cblas_sgemm' /usr/bin/ld: ../src/lib/libfastasr.a(CTCDecode.cpp.o): in functionCTCdecode::forward(Tensor)': CTCDecode.cpp:(.text+0x3e93): undefined reference to cblas_sgemm' /usr/bin/ld: ../src/lib/libfastasr.a(Decoder.cpp.o): in functionpaddlespeech::Decoder::forward(Tensor, Tensor, Tensor, Tensor, Tensor&)': Decoder.cpp:(.text+0x434): undefined reference to cblas_sgemm' /usr/bin/ld: Decoder.cpp:(.text+0x58f): undefined reference tocblas_sgemm' /usr/bin/ld: ../src/lib/libfastasr.a(Joiner.cpp.o):Joiner.cpp:(.text+0x117): more undefined references to cblas_sgemm' follow collect2: error:ld return 1 make[2]: *** [examples/CMakeFiles/paddlespeech_cli.dir/build.make:98:examples/paddlespeech_cli] error 1 make[1]: *** [CMakeFiles/Makefile2:208:examples/CMakeFiles/paddlespeech_cli.dir/all] error 2 make: *** [Makefile:91:all] error 2
/usr/bin/ld: ../src/lib/libfastasr.a(Predictor.cpp.o): in function
cblas_sgemm' /usr/bin/ld: ../src/lib/libfastasr.a(Predictor.cpp.o): in function
cblas_sgemm' /usr/bin/ld: ../src/lib/libfastasr.a(CTCDecode.cpp.o): in function
cblas_sgemm' /usr/bin/ld: ../src/lib/libfastasr.a(Decoder.cpp.o): in function
cblas_sgemm' /usr/bin/ld: Decoder.cpp:(.text+0x58f): undefined reference to
cblas_sgemm' follow collect2: error:ld return 1 make[2]: *** [examples/CMakeFiles/paddlespeech_cli.dir/build.make:98:examples/paddlespeech_cli] error 1 make[1]: *** [CMakeFiles/Makefile2:208:examples/CMakeFiles/paddlespeech_cli.dir/all] error 2 make: *** [Makefile:91:all] error 2
at the archlinux , cblas and openblas cannot be installed together. do you have any ideas?tnx.
sudo find / -name 'libopenblas.a'
target_link_directories(${PROJECT_NAME} PUBLIC "/usr/local/opt/openblas/lib")
I have installed openblas, but there are some errors:&)':
Predictor.cpp:(.text+0x222): undefined reference to &)':
Predictor.cpp:(.text+0x48a): undefined reference to )':
CTCDecode.cpp:(.text+0x3e93): undefined reference to , Tensor, Tensor , Tensor, Tensor &)':
Decoder.cpp:(.text+0x434): undefined reference to
/usr/bin/ld: ../src/lib/libfastasr.a(Predictor.cpp.o): in function
paraformer::Predictor::cif_conv1d(Tensorcblas_sgemm' /usr/bin/ld: ../src/lib/libfastasr.a(Predictor.cpp.o): in function
paraformer::Predictor::forward(Tensorcblas_sgemm' /usr/bin/ld: ../src/lib/libfastasr.a(CTCDecode.cpp.o): in function
CTCdecode::forward(Tensorcblas_sgemm' /usr/bin/ld: ../src/lib/libfastasr.a(Decoder.cpp.o): in function
paddlespeech::Decoder::forward(Tensorcblas_sgemm' /usr/bin/ld: Decoder.cpp:(.text+0x58f): undefined reference to
cblas_sgemm' /usr/bin/ld: ../src/lib/libfastasr.a(Joiner.cpp.o):Joiner.cpp:(.text+0x117): more undefined references tocblas_sgemm' follow collect2: error:ld return 1 make[2]: *** [examples/CMakeFiles/paddlespeech_cli.dir/build.make:98:examples/paddlespeech_cli] error 1 make[1]: *** [CMakeFiles/Makefile2:208:examples/CMakeFiles/paddlespeech_cli.dir/all] error 2 make: *** [Makefile:91:all] error 2
at the archlinux , cblas and openblas cannot be installed together. do you have any ideas?tnx.