According to the output you have sent, these are some basic installation errors.
Looks like libibverbs-dev package is missing, Please install it and verify you have /usr/include/infiniband/verbs.h file
Thanks for the reply. That was my first thought too. I do have both libibverbs1 and libibverbs-dev 1.1.7 installed and the header file /usr/include/infiniband/verbs.h is present and readable.
make sure you don't have old installation under /usr/local/include
what version of gcc do u use?