X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: =?ISO-8859-1?Q?Ren=E9_Berber?= Subject: Re: Help with ATLAS Date: Fri, 02 Mar 2007 11:57:03 -0600 Lines: 31 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) In-Reply-To: OpenPGP: url=hkp://random.sks.keyserver.penguin.de X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 Ignazio Di Napoli wrote: [snip] > 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 >=20 > I get: >=20 > 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= )' Never put libraries first. g++ -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 -lf7= 7blas -latlas The order could be also a problem. --=20 Ren=E9 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/