I'm trying to compile Tonto (acquired via svn) and I'm running into a problem:
- Code: Select all
Making RUN_BUFFER Fortran dependency rules ...
Making GNU-gfortran-on-WINDOWS/fast/modules/types_module.mod ...
Target ./GNU-gfortran-on-WINDOWS/fast/modules/types_module.mod does not exist, compilation forced.
set noglob && /usr/bin/gfortran -I. -I./GNU-gfortran-on-WINDOWS/fast/modules -M./GNU-gfortran-on-WINDOWS/fast/modules -Wall -O3 -c -o ./GNU-gfortran-on-WINDOWS/fast/objects/types.o GNU-gfortran-on-WINDOWS/fast/f95files/types.f90
f951: error: unrecognized command line option "-M./GNU-gfortran-on-WINDOWS/fast/modules"
Makefile:537: recipe for target `GNU-gfortran-on-WINDOWS/fast/modules/types_module.mod' failed
make: *** [GNU-gfortran-on-WINDOWS/fast/modules/types_module.mod] Error 1
This output is using cygwin and the latest version of the GNU fortran compiler, but it stalls in the same place for me in Linux (openSuse/Ubuntu), and using different compilers (g95, legacy gcc including 4.3, 4.4, 4.5). I don't have a huge amount of experience with fortran/perl (more with the latter, but that was years ago) so I'm not entirely sure what exactly should be looking at in the Makefile, assuming that the problem is there.
Any help anyone can give me would be gratefully received.