Unresolved symbols from PGI 19.10 CE Fortran

Hello!

I am having trouble with what should be a simple OpenACC Fortran program. Here is the source code:
indent preformatted text by 4 spaces
subroutine pi1subnv(pi,run_time)
!DEC$ ATTRIBUTES DLLEXPORT :: pi1subnv
use Openacc
IMPLICIT NONE

INTEGER :: i,id
INTEGER, PARAMETER :: num_steps=100000000

REAL*8 :: x,pi,sum1,step
REAL :: start_time, run_time,end_time
sum1 = 0.0
step = 1.0 / num_steps
call cpu_time(start_time)

!$acc parallel loop reduction(+:sum1)
DO i = 1, num_steps
x = (i-0.5)step
sum1 = sum1 + 4.0 /( 1.0 + x
x)
ENDDO

pi = step * sum1
call cpu_time(end_time)
run_time = end_time - start_time
! WRITE(,) pi ,run_time

end subroutine pi1subnv
indent preformatted text by 4 spaces

The Makefile is this:

FC= pgfortran
F77= pgfortran
CC = pgcc
FFLAGS= -Lc:/“Program Files”/PGI/win64/19.10/bin/pgf90.dll -Lc:/“Program Files”/PGI/win64/19.10/bin/pgc.dll -Bdynamic
FLIBS= -Lc:/“Program Files”/PGI/win64/19.10/bin/pgf90.dll -Lc:/“Program Files”/PGI/win64/19.10/bin/pgc.dll
PKG_LIBS = (LAPACK_LIBS) (BLAS_LIBS) $(FLIBS)
MPI_FFLAGS= -Mmpi=msmpi
SHLIB_FFLAGS= -Mmakedll -Bdynamic
CUDA_FFLAGS=-acc -Minfo=accel -Mlarge_arrays -Lc:/“Program Files”/PGI/win64/19.10/bin/pgf90.dll -Lc:/“Program Files”/PGI/win64/19.10/bin/pgc.dll -Bdynamic
DLLCUDA_FFLAGS=-ta=tesla:nordc -Lc:/“Program Files”/PGI/win64/19.10/lib/acc_init_link_cuda.obj -Lc:/“Program Files”/PGI/win64/19.10/lib/libaccapi.lib -Lc:/“Program Files”/PGI/win64/19.10/lib/libaccg.lib -Lc:/“Program Files”/PGI/win64/19.10/lib/libaccn.lib -Lc:/“Program Files”/PGI/win64/19.10/lib/libaccg2.lib -Lc:/“Program Files”/PGI/win64/19.10/lib/libcudadevice.lib -Lc:/“Program Files”/PGI/win64/19.10/lib/pgc.lib -Lc:/“Program Files”/PGI/win64/19.10/lib/libnspgc.lib -defaultlib:legacy_stdio_definitions -defaultlib:oldnames -Lc:/“Program Files”/PGI/win64/19.10/bin/pgf90.dll -Lc:/“Program Files”/PGI/win64/19.10/bin/pgc.dll -Bdynamic

pi1subnv.obj: pi1subnv.f90
(FC) (FFLAGS) (MPI_FFLAGS) -c pi1subnv.f90 -o pi1subnv.obj -m64 -Bdynamic (FC) (CUDA_FFLAGS) (DLLCUDA_FFLAGS) -c pi1subnv.f90 -o pi1subnv.obj -m64
(FC) (SHLIB_FFLAGS) (FFLAGS) (MPI_FFLAGS) $(CUDA_FFLAGS) -o pi1subnv.dll pi1subnv.obj -m64
indent preformatted text by 4 spaces

And the results are the following:

make
pgfortran -Lc:/“Program Files”/PGI/win64/19.10/bin/pgf90.dll -Lc:/“Program Files”/PGI/win64/19.10/bin/pgc.dll -Bdynamic -Mmpi=msmpi -c pi1subnv.f90 -o pi1subnv.obj -m64 -Bdynamic
pgfortran -acc -Minfo=accel -Mlarge_arrays -Lc:/“Program Files”/PGI/win64/19.10/bin/pgf90.dll -Lc:/“Program Files”/PGI/win64/19.10/bin/pgc.dll -Bdynamic -ta=tesla:nordc -Lc:/“Program Files”/PGI/win64/19.10/lib/acc_init_link_cuda.obj -Lc:/“Program Files”/PGI/win64/19.10/lib/libaccapi.lib -Lc:/“Program Files”/PGI/win64/19.10/lib/libaccg.lib -Lc:/“Program Files”/PGI/win64/19.10/lib/libaccn.lib -Lc:/“Program Files”/PGI/win64/19.10/lib/libaccg2.lib -Lc:/“Program Files”/PGI/win64/19.10/lib/libcudadevice.lib -Lc:/“Program Files”/PGI/win64/19.10/lib/pgc.lib -Lc:/“Program Files”/PGI/win64/19.10/lib/libnspgc.lib -defaultlib:legacy_stdio_definitions -defaultlib:oldnames -Lc:/“Program Files”/PGI/win64/19.10/bin/pgf90.dll -Lc:/“Program Files”/PGI/win64/19.10/bin/pgc.dll -Bdynamic -c pi1subnv.f90 -o pi1subnv.obj -m64
pi1subnv:
17, Generating Tesla code
17, Generating reduction(+:sum1)
18, !$acc loop gang, vector(128) ! blockidx%x threadidx%x
17, Generating implicit copy(sum1) [if not already present]
pgfortran -Mmakedll -Bdynamic -Lc:/“Program Files”/PGI/win64/19.10/bin/pgf90.dll -Lc:/“Program Files”/PGI/win64/19.10/bin/pgc.dll -Bdynamic -Mmpi=msmpi -acc -Minfo=accel -Mlarge_arrays -Lc:/“Program Files”/PGI/win64/19.10/bin/pgf90.dll -Lc:/“Program Files”/PGI/win64/19.10/bin/pgc.dll -Bdynamic -o pi1subnv.dll pi1subnv.obj -m64
Creating library pi1subnv.lib and object pi1subnv.exp
pi1subnv.obj : error LNK2019: unresolved external symbol _pgi_uacc_enter referenced in function pi1subnv
pi1subnv.obj : error LNK2019: unresolved external symbol _pgi_uacc_dataenterstart2 referenced in function pi1subnv
pi1subnv.obj : error LNK2019: unresolved external symbol _pgi_uacc_dataonb referenced in function pi1subnv
pi1subnv.obj : error LNK2019: unresolved external symbol _pgi_uacc_dataenterdone referenced in function pi1subnv
pi1subnv.obj : error LNK2019: unresolved external symbol _pgi_uacc_computestart2 referenced in function pi1subnv
pi1subnv.obj : error LNK2019: unresolved external symbol _pgi_uacc_launch referenced in function pi1subnv
pi1subnv.obj : error LNK2019: unresolved external symbol _pgi_uacc_computedone referenced in function pi1subnv
pi1subnv.obj : error LNK2019: unresolved external symbol _pgi_uacc_dataexitstart2 referenced in function pi1subnv
pi1subnv.obj : error LNK2019: unresolved external symbol _pgi_uacc_dataoffb2 referenced in function pi1subnv
pi1subnv.obj : error LNK2019: unresolved external symbol _pgi_uacc_dataexitdone referenced in function pi1subnv
pi1subnv.obj : error LNK2019: unresolved external symbol _pgi_uacc_noversion referenced in function pi1subnv
pi1subnv.dll : fatal error LNK1120: 11 unresolved externals
make: *** [Makefile:17: pi1subnv.obj] Error 2