-
Notifications
You must be signed in to change notification settings - Fork 18.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
undefined reference to `cblas_*" #2353
Comments
Do you have a "build" folder, once I got same problem when I build caffe in its own directory. mkdir build Please check this issue: |
Thank you! I use your method and successful installed caffe. |
I also have this problem, check your Makefile.config , Is there leave one space after BLAS := open ?delete the space after "open",then recompile it. |
Added opencv_imgcodecs to LIBRARIES , line 174. This solves the make all error reported in BVLC#2348 and suggested by @hongzhenwang and @binary42.
Thank you Wincle. It worked!! |
Hi. Were you able to solve this issue with Intel MKL ? I'm facing the same error. |
@noldorj , iset mkl not MKL, solve Custom (MKL/ATLAS/OpenBLAS) include and lib directories.Leave commented to accept the defaults for your choice of BLAS(which should work)!BLAS_INCLUDE := /opt/intel/mkl/include/ |
I am finding this error message when I am trying to make. CXX/LD -o .build_release/test/test_all.testbin src/caffe/test/test_caffe_main.cpp |
I had the same issue on Manjaro (I'm reporting here cause this is the first hit on Google), as far as I understood the issue was that the openblas library doesn't include all bindings (https://bugs.archlinux.org/task/66092) so I had to install https://aur.archlinux.org/packages/openblas-lapack/ instead.
With this I could build caffe. |
Many thanks, installing openblas-lapack with yay, I was able to compile and install caffe in Manjaro without any problems |
When I make all to compile caffe, I got this error:
.build_debug/lib/libcaffe.so: undefined reference to
cblas_dasum' .build_debug/lib/libcaffe.so: undefined reference to
cblas_dcopy'.build_debug/lib/libcaffe.so: undefined reference to
cblas_sdot' .build_debug/lib/libcaffe.so: undefined reference to
cblas_dscal'.build_debug/lib/libcaffe.so: undefined reference to
cblas_sgemm' .build_debug/lib/libcaffe.so: undefined reference to
cblas_dgemm'.build_debug/lib/libcaffe.so: undefined reference to
cblas_sgemv' .build_debug/lib/libcaffe.so: undefined reference to
cblas_sscal'.build_debug/lib/libcaffe.so: undefined reference to
cblas_scopy' .build_debug/lib/libcaffe.so: undefined reference to
cblas_saxpy'.build_debug/lib/libcaffe.so: undefined reference to
cblas_dgemv' .build_debug/lib/libcaffe.so: undefined reference to
cblas_sasum'I use mkl as BLAS. How to solve this problem?
Thanks!
The text was updated successfully, but these errors were encountered: