delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/01/22:05:12

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <4ECDBDADC86CD311AEA20004AC4CA503015DDCD7@nrcssxex1.imsb.nrc.ca>
From: "Underwood, Jonathan" <Jonathan DOT Underwood AT nrc-cnrc DOT gc DOT ca>
To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: Building LAPACK and ATLAS under cygwin
Date: Tue, 1 Apr 2003 22:04:56 -0500
MIME-Version: 1.0

Hi

Apologies if this is a little off topic. I'm attempting to build the LAPACK
library under cygwin using the optimized atlas blas library. I have gotten
Atlas to compile correctly and have installed the library files in /usr/lib
and the header files in /usr/include/atlas/. However i run into trouble when
compiling lapack, specifically when compiling the test programs. I have set
BLASLIB in make.inc as:
	BLASLIB      = -I/usr/include/atlas -latlas -lf77blas -lcblas

and on running make, i get the following error messages:

g77  sblat1.o  \
        -I/usr/include/atlas -latlas -lf77blas -lcblas  -o ../xblat1s
/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../libf77blas.a(ATL_F77wrap_srot.o
)(.t ext+0x7a):ATL_F77wrap_rot.c: undefined reference to `_ATL_srot'
/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../libf77blas.a(ATL_F77wrap_sswap.
o)(. text+0x5b):ATL_F77wrap_swap.c: undefined reference to `_ATL_sswap'
/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../libf77blas.a(ATL_F77wrap_scopy.
o)(. text+0x5b):ATL_F77wrap_copy.c: undefined reference to `_ATL_scopy'
/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../libf77blas.a(ATL_F77wrap_saxpy.
o)(. text+0x71):ATL_F77wrap_axpy.c: undefined reference to `_ATL_saxpy'
/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../libf77blas.a(ATL_F77wrap_sdot.o
)(.t ext+0x49):ATL_F77wrap_dot.c: undefined reference to `_ATL_sdot'
/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../libf77blas.a(ATL_F77wrap_isamax
.o)( .text+0x27):ATL_F77wrap_amax.c: undefined reference to `_ATL_isamax'
/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../libf77blas.a(ATL_F77wrap_sscal.
o)(. text+0x23):ATL_F77wrap_scal.c: undefined reference to `_ATL_sscal'
/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../libf77blas.a(ATL_F77wrap_sasum.
o)(. text+0x23):ATL_F77wrap_asum.c: undefined reference to `_ATL_sasum'
/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../libf77blas.a(ATL_F77wrap_snrm2.
o)(. text+0x23):ATL_F77wrap_nrm2.c: undefined reference to `_ATL_snrm2'
/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../libf77blas.a(ATL_F77wrap_srotg.
o)(. text+0x1):ATL_F77wrap_rotg.c: undefined reference to `_ATL_srotg'
collect2: ld returned 1 exit status
make[1]: *** [../xblat1s] Error 1
make[1]: Leaving directory `/cygdrive/g/LAPACK/BLAS/TESTING'
make: *** [blas_testing] Error 2


Does anyone have any hints as to how i am screwing up here?

Many thanks, 

Jonathan.

------------------------------------------------------
Dr. Jonathan Underwood

Femtosecond Science Research Program
Steacie Institute for Molecular Sciences
National Research Council of Canada
Room 2083
100 Sussex Drive
Ottawa, Ontario K1A 0R6.

tel: +1 (613) 9935319
fax: +1 (613) 9913437

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019