This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Building LAPACK and ATLAS under cygwin
- From: "Underwood, Jonathan" <Jonathan dot Underwood at nrc-cnrc dot gc dot ca>
- To: "'cygwin at cygwin dot com'" <cygwin at cygwin dot com>
- Date: Tue, 1 Apr 2003 22:04:56 -0500
- Subject: Building LAPACK and ATLAS under cygwin
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/