[ewg] compat-rdma compile error

Steve Wise swise at opengridcomputing.com
Mon Jan 5 09:20:29 PST 2015


Hey Vlad/Tatyana,

I'm seeing this compiling the latest compat-rdma tree against a RHEL6.6 2.6.32-504.el6.x86_64 kernel:

  CC [M]  /root/ofed/compat-rdma/drivers/infiniband/core/netlink.o
/root/ofed/compat-rdma/drivers/infiniband/core/netlink.c:168:48: error: macro "netlink_dump_start" requires 6 arguments, but only 4
given
/root/ofed/compat-rdma/drivers/infiniband/core/netlink.c: In function âibnl_rcv_msgâ:
/root/ofed/compat-rdma/drivers/infiniband/core/netlink.c:168: warning: return makes integer from pointer without a cast
/root/ofed/compat-rdma/drivers/infiniband/core/netlink.c:159: warning: unused variable âcâ
make[4]: *** [/root/ofed/compat-rdma/drivers/infiniband/core/netlink.o] Error 1
make[3]: *** [/root/ofed/compat-rdma/drivers/infiniband/core] Error 2
make[2]: *** [/root/ofed/compat-rdma/drivers/infiniband] Error 2
make[1]: *** [_module_/root/ofed/compat-rdma] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.32-504.el6.x86_64'
make: *** [kernel] Error 2

Here's my config line:

./configure --with-core-mod --with-user_mad-mod --with-user_access-mod --with-addr_trans-mod

Should this compile ok?  

Thanks,

Steve.






More information about the ewg mailing list