X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Ignazio Di Napoli Subject: Help with ATLAS Date: Fri, 02 Mar 2007 10:32:55 +0100 Lines: 28 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hi everyone. I downloaded, compiled and installed ATLAS. Now in my /usr/local/atlas/lib I have the 4 ATLAS .a. But, when I try to compile my program with: g++ -I. -I../../src -I/usr/local/atlas/include/ -g -O2 -MT matrix-ops.o -MD -MP -MF .deps/matrix-ops.Tpo -c -o matrix-ops.o ../../src/matrix-ops.cpp mv -f .deps/matrix-ops.Tpo .deps/matrix-ops.Po And link with: g++ -g -O2 -L/usr/local/atlas/lib/ -llapack -lcblas -lf77blas -latlas -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 I get: matrix-ops.o: In function `_ZNK6MatrixmlERKS_': /tesi/Progetto.min/build/src/../../src/matrix.h:175: undefined reference to `cblas_dgemm(CBLAS_ORDER, CBLAS_TRANSPOSE, CBLAS_TRANSPOSE, int, int, int, double, double const*, int, double const*, int, double, double*, int)' Can anybody help me? I've tried everything... I'm going crazy! Ignazio -- 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/