This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Building LAPACK and ATLAS under cygwin


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 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
)(.t ext+0x7a):ATL_F77wrap_rot.c: undefined reference to `_ATL_srot'
o)(. text+0x5b):ATL_F77wrap_swap.c: undefined reference to `_ATL_sswap'
o)(. text+0x5b):ATL_F77wrap_copy.c: undefined reference to `_ATL_scopy'
o)(. text+0x71):ATL_F77wrap_axpy.c: undefined reference to `_ATL_saxpy'
)(.t ext+0x49):ATL_F77wrap_dot.c: undefined reference to `_ATL_sdot'
.o)( .text+0x27):ATL_F77wrap_amax.c: undefined reference to `_ATL_isamax'
o)(. text+0x23):ATL_F77wrap_scal.c: undefined reference to `_ATL_sscal'
o)(. text+0x23):ATL_F77wrap_asum.c: undefined reference to `_ATL_sasum'
o)(. text+0x23):ATL_F77wrap_nrm2.c: undefined reference to `_ATL_snrm2'
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, 


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:
Bug reporting:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]