How to use fortran- cuda wrapper

Hey all,
I am using a mac and installed last version toolkit/sdk

I need to use fortran wrapper

My problem is same as the fallowing thread

but when I try to make it I got a big list of errors

“_cudaMalloc”, referenced from:
cublas_strsm in fortran.o
cublas_strsm in fortran.o
… "

what am i doing wrong?