This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Help with ATLAS
Ignazio Di Napoli wrote:
>> nm /usr/local/atlas/lib/libcblas.a | grep cblas_dgemm
> cblas_dgemm.o: 00000000 T _cblas_dgemm
>
> Another note: if I add 'extern "C" {...}' around #include <cblas.h>, the
> error becomes: undefined reference to _cblas_dgemm, which is exacty the
> symbol in the output.
Looks like a problem with linking static libraries, g++ looks for dynamic
libraries unless you do:
g++ -static -g -O2 -L/usr/local/atlas/lib/ -o linprog.exe main.o matrix.o
vector.o lipsol.o myexception.o matrix-io.o matrix-cmp.o matrix-ops.o
matrix-pos.o matrix-fun.o matrix-lna.o matrix-stb.o sparsematrix.o -llapack
-lcblas -lf77blas -latlas
--
René Berber
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/