[lammps-users] Error when compiling LAMMPS with g++ and pgf90

Looks like I have a non-matching underscore problem when linking a Fortran library (for MEAM) to a C++ code. I compiled meam lib with pgf90 compiler. Here are my Makefile and error message. Please help how to get arround of this. Thanks. JW

If you figure out what the MEAM library routines would have
to be named in order for the link to work with this compiler,
we/you can add an ifdef that changes the names to that syntax.