Mail Archives: cygwin/2006/06/26/19:36:34
> 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/
- Raw text -