This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
installing lapack++ (g77 issues?)
- From: David Anthony Powell <s3024152 at student dot rmit dot edu dot au>
- To: cygwin at cygwin dot com
- Date: Wed, 12 Jun 2002 08:28:15 GMT
- Subject: installing lapack++ (g77 issues?)
I've been having trouble installing lapack++ on cygwin (I
just did an update today, so all tools are latest official
cygwin versions). I succeeded in installing atlas and
lapack, and compiling lapack++ was fine, although I had to
add -fpermissive to g++ to make it go. When it comes to
linking, it is looking for the library
/usr/local/lang/SC1.0.1/libF77.a, which does not exist on my
system. When I take out the call I get the following
undefined links (plus a heap more):
cd ./testing; make
make[1]: Entering directory `/cygdrive/d/lapack++/testing'
g++ -I../include -DCYGNUS -fpermissive -o tGenSolve
tGenSolve.o ../liblamatrix++.a ../liblapack++.a
/usr/local/lib/tmglib.a ../libblas++.a
/usr/local/lib/lapack.a /usr/local/lib/liblapack.a /usr/lo
cal/lib/libf77blas.a /usr/local/lib/libcblas.a
/usr/local/lib/libatlas.a ../liblamatrix++.a -lm
../liblapack++.a(dtimmg.o)(.text+0x1135):dtimmg.c: undefined
reference to `d_sign'
I would presume that this is because I haven't told it where
to find the f77 standard libraries. I can't see anything
else particularly likely looking. Should I try to hack the
makefile to make it link with g77 rather than g++? Is this
a cygwin specific issue, or a more general gcc thing?
thanks
Davi
--
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/