Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Subject: installing lapack++ (g77 issues?) From: David Anthony Powell To: cygwin AT cygwin DOT com Date: Wed, 12 Jun 2002 08:28:15 GMT X-Sender: Novell Internet Messaging System Web Client MIME-Version: 1.0 Message-ID: <1023870495.751s3024152@student.rmit.edu.au> Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit 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/