Unresolved externals with appendend underscore

I assumed there that you mean the fortran intrinsics with those names e.g. https://gcc.gnu.org/onlinedocs/gfortran/SYSTEM.html

If you would like to call C functions from fortran you need to declare them as bind(c) with the correct C types in Fortran. This ensures the correct ABI is used for those calls and that the underscore is not added.