Building LAPACK and ATLAS under cygwin

2003-04-01 Thread Underwood, Jonathan
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/



Building xfig 3.2.4 with current cygwin

2003-01-28 Thread Underwood, Jonathan
Hi

I've tried to build the latest version of xfig (3.2.4) under cygwin, and run
into the following problem when attempting to build with xaw3d - I get
numerous error messages of the type

/usr/X11R6/lib/libXaw3d.a(d000277.o)(.text+0x0): first defined here
/usr/X11R6/lib/libXt.a(Event.o)(.text+0x2110):Event.c: multiple definition
of `_XtAddGrab'

Indicating conflict between declarations in the Xt and Xaw3d library. I'm
not sure if I'm doing something wrong (probably) or if this is a problem
with the Xaw3D library. Any advice greatly appreciated.


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



How to return NaN?

2002-01-10 Thread Underwood, Jonathan

Hi

Sorry for the slightly off topic question, but i was wondering how best to
have a function of type double return NaN in C. I'm using the cygwin
environment for developement (so gcc), but am looking for the most portable
solution.

Thanks

Jonathan.

--
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/