This only happens with the full code, not with a simple example, but nevertheless I am showing it here in case you see anything that may explain it. The error is
Attempt to call a routine with six hundred and ninety two arguments when one was required.
! ** acknowledge message ***** AW_Mess *****
SUBROUTINE AW_Mess (MESS)
CHARACTER*(*) MESS
print*,'mess=',mess
end subroutine
program main
#ifdef bit64
call aw_mess('DS_BlFSort not implemented!!')
#endif
end program