X-Spam-Check-By: sourceware.org content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Subject: RE: Fortran Compiler Error CMBFAST Date: Tue, 27 Jun 2006 09:35:15 +1000 Message-ID: <026DCC31AB859648A6F16C0E5CD2580D736898@calttsv025.cal.riotinto.org> From: "Billinghurst, David \(CALCRTS\)" To: "Brad Krane" , "Cygwin General List" 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 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k5QNaXwX015034 > From: Brad Krane > > I'm trying to compile the scientific package CMBFAST-4.5.1 in the > cygwin environment using g77. I get the following error and I have no > idea how to fix this having never used Fortran before. This should > work without any problem as many other people have compiled this and > never run up on a similar problem. I think that it is a compiler > specific issue or an environment one. > > f77 -O2 -c -o jlgen.o jlgen.F > jlgen.F: In program `jlgen': > jlgen.F:14: > include 'cmbfast.inc' > ^ > Unable to open INCLUDE file `cmbfast.inc' at (^) > jlgen.F:18: > integer l(lmax),i,j,lmo > ^ > Invalid declaration of or reference to symbol `lmax' at (^) [initially > seen at (^)] > jlgen.F:18: > integer l(lmax),i,j,lmo > 1 > jlgen.F:21: (continued): > common /lvalues1/ l,l0,lmo > 2 > Invalid declaration of or reference to symbol `l' at (2) > [initially seen at (1)] Brad, This is not really a cygwin problem. The compiler can't find the file cmbfast.inc. Perhaps: - copy the file into the same directory as jlgen.F, or - point to it with the -I compiler directive NOTICE This e-mail and any attachments are private and confidential and may contain privileged information. If you are not an authorised recipient, the copying or distribution of this e-mail and any attachments is prohibited and you must not read, print or act in reliance on this e-mail or attachments. This notice should not be removed. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/