How to fix the errors in compiling ODEPACK in debug mode?

Thank you very much @ivanpribec !
Hmmm, for gfortran, does

-nogen-interfaces

basically equal to

-std=legacy

is it right?

I checked
https://manpages.ubuntu.com/manpages/impish/man1/alpha-linux-gnu-gfortran-10.1.html

it says,