you need to show the error message from the compiler (few lines before what you show)
Looks like I need to set the path to mpir for the make file it seems.
nvcc -g -O2 -I . -Xptxas "-abi=no -v" -gencode=arch=compute_30,code=\"sm_30,compute_30\" -gencode=arch=compute_35,code=\"sm_35,compute_35\" -gencode=arch=compute_50,code=\"sm_50,compute_50\" --maxrregcount=80 --ptxas-options=-v -I./compat/jansson -o x13/m7.o -c x13/m7.cu
ptxas info : 0 bytes gmem, 168 bytes cmem[3]
ptxas info : Compiling entry function '_Z25m7_ripemd160_gpu_hash_120ijPm' for 'sm_30'
ptxas info : Used 26 registers, 336 bytes cmem[0]
x13/m7.cu:17:18: fatal error: mpir.h: No such file or directory
#include "mpir.h"
^
compilation terminated.
make[2]: *** [x13/m7.o] Error 1
make[2]: *** Waiting for unfinished jobs....
x13/cuda_tiger192.cu(682): warning: variable "hash" was declared but never referenced
x13/cuda_tiger192.cu(714): warning: variable "in" was declared but never referenced
x13/cuda_m7_sha256.cu(380): warning: variable "hash" was declared but never referenced
x13/cuda_ripemd160.cu(319): warning: variable "in" was declared but never referenced