On 3/26/18 8:30 AM, Steve Wise wrote:
On 3/26/2018 9:17 AM, David Ahern wrote:
quoted
On 2/27/18 9:07 AM, Steve Wise wrote:
quoted
diff --git a/rdma/rdma.h b/rdma/rdma.h
index 5809f70..e55205b 100644
--- a/rdma/rdma.h
+++ b/rdma/rdma.h
@@ -18,10 +18,12 @@
#include <libmnl/libmnl.h>
#include <rdma/rdma_netlink.h>
#include <time.h>
+#include <net/if_arp.h>
#include "list.h"
#include "utils.h"
#include "json_writer.h"
+#include <rdma/rdma_cma.h>
did you forget to add rdma_cma.h? I don't see that file in my repo.
It is provided by the rdma-core package, upon which rdma tool now
depends for the rdma_port_space enum.
You need to add a check for the package, and only build rdma if that
package is installed. See check_mnl in configure for an example.