[ewg] compat-rdma compile error

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


Looks like the 4/6 parameter support has been added in compat: compat-3.1.h, so the patch to netlink.c in compat-rdma is no longer
needed?  

> -----Original Message-----
> From: ewg-bounces at lists.openfabrics.org [mailto:ewg-bounces at lists.openfabrics.org] On Behalf Of Steve Wise
> Sent: Monday, January 05, 2015 11:20 AM
> To: Vladimir Sokolovsky; 'Nikolova, Tatyana E'
> Cc: 'OpenFabrics EWG'
> Subject: [ewg] compat-rdma compile error
> 
> 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.
> 
> 
> 
> _______________________________________________
> ewg mailing list
> ewg at lists.openfabrics.org
> http://lists.openfabrics.org/mailman/listinfo/ewg




More information about the ewg mailing list