[7435] in Athena Bugs
decmips 7.2R: make
daemon@ATHENA.MIT.EDU (James D. Oliver III)
Thu Apr 18 02:16:33 1991
To: bugs@ATHENA.MIT.EDU
Date: Thu, 18 Apr 91 02:16:14 EDT
From: James D. Oliver III <oliver@ATHENA.MIT.EDU>
System name: sherman
Type and version: KN01 7.2R (1 update(s) to same version)
Display type: PM-COLOR
What were you trying to do?
Compile a FORTRAN code using make on a decmips.
What's wrong:
Make doesn't seem to correctly interpret the VPATH string. I have this
VPATH in my makefile in ~/f77bin:
VPATH = /mit/oliver/src:/mit/oliver/src/subroutines:/mit/oliver/src/include
When I try to compile, I get this:
sherman|~/f77bin| 2:08am=26% make -k logfit
/usr/bin/f77 -O -c -I/mit/oliver/src/include -Dparamsfile=\"logparams.inc\" -Dcommonsfile=\"logcommons.inc\" logfit.F
cpp: error 0: No source file logfit.F
*** Error code 1
/usr/bin/f77 -O -c powell.f
Cannot open file powell.f
*** Error code 1
/usr/bin/f77 -O -c odeint.f
Cannot open file odeint.f
*** Error code 1
/usr/bin/f77 -O -c qromb.f
Cannot open file qromb.f
*** Error code 1
/usr/bin/f77 -O -c spherehind.f
Cannot open file spherehind.f
*** Error code 1
/usr/bin/f77 -O -c Kfcalc.f
Cannot open file Kfcalc.f
*** Error code 1
/usr/bin/f77 -O -c -I/mit/oliver/src/include -Dparamsfile=\"logparams.inc\" -Dcommonsfile=\"logcommons.inc\" anova.F
cpp: error 0: No source file anova.F
*** Error code 1
/usr/bin/f77 -O -c filecheck.f
Cannot open file filecheck.f
*** Error code 1
`logfit' not remade because of errors
Using gmake in the gnu locker is a little better, I can compile all except
for the .F files:
sherman|~/f77bin| 1:52am=17% gmake -k logfit
/usr/bin/f77 -O -c -I/mit/oliver/src/include -Dparamsfile=\"logparams.inc\" \
-Dcommonsfile=\"logcommons.inc\" logfit.F
cpp: error 0: No source file logfit.F
gmake: *** [logfit.o] Error 1
/usr/bin/f77 -O -c /mit/oliver/src/subroutines/powell.f
/usr/bin/f77 -O -c /mit/oliver/src/subroutines/odeint.f
/usr/bin/f77 -O -c /mit/oliver/src/subroutines/qromb.f
/usr/bin/f77 -O -c /mit/oliver/src/spherehind.f
/usr/bin/f77 -O -c /mit/oliver/src/Kfcalc.f
/usr/bin/f77 -O -c -I/mit/oliver/src/include -Dparamsfile=\"logparams.inc\" \
-Dcommonsfile=\"logcommons.inc\" anova.F
cpp: error 0: No source file anova.F
gmake: *** [anovalog.o] Error 1
/usr/bin/f77 -O -c /mit/oliver/src/subroutines/filecheck.f
gmake: Target `logfit' not remade because of errors.
What should have happened:
The code has successfully compiled on VAXstations in the past with no
problems.
Please describe any relevant documentation references:
My makefile is located in /mit/oliver/f77bin/makefile, and the source codes
are located in /mit/oliver/src. All files are world-readable.
____________________________
Jim Oliver
oliver@athena.mit.edu joliver@hstbme.mit.edu
oliver%mitwccf.BITNET@MITVMA.MIT.EDU