Too many arguments in call to 'abort'

I am trying to bulid lammps, the fortran version, when compiling it (with gfortran), I get
the following type of error. for a lot of the functions, including:

$ call abort(‘No Angles in data file’)
1
Error: Too many arguments in call to ‘abort’ at (1)

I get this error for few functions, including:
communicate.f
force_bond.f
neighbor.f
read_data.f
read_restart.f
scan_data.f
shake.f
special.f

In all of the above functions I get a complain regarding the abort function that there is too many arguments.
I’m not sure what’s wrong.
Thanks.

gfortran probably has its own abort() function, which this
is colliding with. I don't remember enough about Fortran
conpilers to know how to fix it. But there should be a way
to have the system use the user-defined function, instead
of the compiler one. I don't think "abort" is a reserved word
in Fortran.

Steve