Hi Andriy,
try to compile with gfortran instead f77; it should work.
Andriy wrote:
I am not sure if this problem relevant for Ubuntu only, however I haven't encountered it on Red Hat. When trying to compile galprop I get the following error message:
andrey@ubuntu:~/Desktop/v50.1p$ make
f77 -fno-second-underscore -c -o antiproton.o antiproton.f
antiproton:
tan_ng:
cc1: warning: command line option "-fno-second-underscore" is valid for Fortran but not for C
/tmp/fort77-3586-1.c:172: error: conflicting types for ‘tan_ng__’
/tmp/fort77-3586-1.c:62: note: previous declaration of ‘tan_ng__’ was here
/usr/bin/f77: aborting compilation
make: *** [antiproton.o] Error 25
I am not a great expert in Linux. Any suggestions about where the fix is?