This is the mail archive of the cygwin 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]

RE: Fortran Compiler Error CMBFAST

> 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 ''
>          ^
> Unable to open INCLUDE file `' 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)]


This is not really a cygwin problem.  

The compiler can't find the file  Perhaps:
 - copy the file into the same directory as jlgen.F, or
 - point to it with the -I compiler directive

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:
Problem reports:

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