levmar
levmar copied to clipboard
build problem
ranlib liblevmar.a
gcc -O3 -funroll-loops -Wall -c -o lmdemo.o lmdemo.c
gcc -L/usr/local/lib -L. lmdemo.o -o lmdemo -llevmar -llapack -lblas -lf2c -lm
/usr/local/lib/liblevmar.a(misc.o): In function slevmar_trans_mat_mat_mult': misc.c:(.text+0x49): undefined reference to
sgemm_'
/usr/local/lib/liblevmar.a(misc.o): In function dlevmar_trans_mat_mat_mult': misc.c:(.text+0x3710): undefined reference to
dgemm_'
how to solve this error, thank you
I used Ubuntu 16.04 LTS system, and met the same problem, but I do not know how to solve.