| delorie.com/archives/browse.cgi | search |
| X-Spam-Check-By: | sourceware.org |
| To: | cygwin AT cygwin DOT com |
| From: | =?ISO-8859-1?Q?Ren=E9_Berber?= <r DOT berber AT computer DOT org> |
| Subject: | Re: Help with ATLAS |
| Date: | Fri, 02 Mar 2007 13:30:19 -0600 |
| Lines: | 23 |
| Message-ID: | <es9u0c$r42$1@sea.gmane.org> |
| References: | <es8r06$ido$1 AT sea DOT gmane DOT org> <es9ohe$6ou$1 AT sea DOT gmane DOT org> <es9puh$beh$1 AT sea DOT gmane DOT org> <es9q9o$d01$1 AT sea DOT gmane DOT org> <es9rin$ggg$1 AT sea DOT gmane DOT org> |
| Mime-Version: | 1.0 |
| User-Agent: | Thunderbird 1.5.0.9 (Windows/20061207) |
| In-Reply-To: | <es9rin$ggg$1@sea.gmane.org> |
| OpenPGP: | url=hkp://random.sks.keyserver.penguin.de |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| 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:
>> nm /usr/local/atlas/lib/libcblas.a | grep cblas_dgemm
> cblas_dgemm.o: 00000000 T _cblas_dgemm
>=20
> Another note: if I add 'extern "C" {...}' around #include <cblas.h>, the=
=20
> error becomes: undefined reference to _cblas_dgemm, which is exacty the=
=20
> 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
--=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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |