Build error in DPDK-2.1 with mlx4

I’m following the quick start guide for MLNX_DPDK-2.1_1.1 but when compiling I’m getting errors for the mlx4 driver (connectx-3 card). All other driver types compile fine but mlx4 throws a ton of compiler errors.

Output from make command: Ubuntu Pastebin http://paste.ubuntu.com/13588920/

Output of “ofed_info”: Ubuntu Pastebin http://paste.ubuntu.com/13589168/

Output of “ibstat”: Ubuntu Pastebin http://paste.ubuntu.com/13589248/

Any ideas on what may be causing this?

Thanks!

-Drew

make sure you don’t have old installation under /usr/local/include

Hi Drew,

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

Best Regards,

Olga

Hi Olga,

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.

-Drew

what version of gcc do u use?

gcc -v