giaf / blasfeo

Basic linear algebra subroutines for embedded optimization
Other
322 stars 88 forks source link

Tests fail: error: undefined symbol: blasfeo_sgemm #164

Closed yurivict closed 2 years ago

yurivict commented 2 years ago
/usr/bin/cc -O2 -pipe -fno-omit-frame-pointer  -fstack-protector-strong -fno-strict-aliasing -DLA_HIGH_PERFORMANCE -DBLASFEO_REF_API -DMF_PANELMAJ -DK_MAX_STACK=300 -DBLAS_API -DUSE_C99_MATH -DEXT_DEP -DEXTERNAL_BLAS_NONE -O2 -fPIC -DTARGET_GENERIC  -O2 -pipe -fno-omit-frame-pointer  -fstack-protector-strong -fno-strict-aliasing -L/usr/local/lib -lblas -fstack-protector-strong tests/CMakeFiles/test_s_blas_api.dir/test_s_blas_api.c.o -o tests/test_s_blas_api  -Wl,-rpath,/disk-samsung/freebsd-ports/math/blasfeo/work/.build  libblasfeo.so  -lm && :
ld: error: undefined symbol: blasfeo_sgemm
>>> referenced by test_s_blas_api.c
>>>               tests/CMakeFiles/test_s_blas_api.dir/test_s_blas_api.c.o:(main)
cc: error: linker command failed with exit code 1 (use -v to see invocation)

Revision 0.1.3-59-g8548ea2c FreeBSD 13.1

giaf commented 2 years ago

Thanks for reporting the issue, it should now be fixed in the commit https://github.com/giaf/blasfeo/commit/4af6c64527344651da1de35511502f970fa3e97e