[ewg] compat-rdma compile error

Steve Wise swise at opengridcomputing.com
Mon Jan 5 12:13:47 PST 2015


> On 05/01/15 19:20, Steve Wise wrote:
> > 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.
> >
> >
> >
> 
> Hi Steve,
> This should be OK in the latest build.
> Please update your git trees.

It builds ok with the RHEL6.4 2.6.32-431.el6.x86_64 kernel, but I still see the same error with RHEL6.5 / 2.6.32-504.el6.x86_64.







More information about the ewg mailing list