Re: [ewg] Compat-rdma compile error

2018-08-02 Thread Vladimir Sokolovsky

On 08/02/2018 01:53 AM, Adit Ranadive wrote:

On 8/1/18, 2:25 PM, "Vladimir Sokolovsky"  wrote:

On 08/01/2018 10:35 PM, Adit Ranadive wrote:

On 8/1/18, 7:52 AM, "Vladimir Sokolovsky"  wrote:

 Hi Adit,
 I added missing headers and created a new build: 
OFED-4.17-20180801-0747.tgz

Thanks! That got me past the earlier error, I'm still facing an issue below:

CC [M]  /var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/compat/compat-3.11.o
In file included from 
/var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/drivers/infiniband/hw/vmw_pvrdma/pvrdma_cmd.c:48:0:
/var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:96:2:
 error: unknown type name ‘refcount_t’
refcount_t refcnt;
^
/var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:177:2:
 error: unknown type name ‘refcount_t’
refcount_t refcnt;
^
/var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:199:2:
 error: unknown type name ‘refcount_t’
refcount_t refcnt;
^
make[5]: *** 
[/var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/drivers/infiniband/hw/vmw_pvrdma/pvrdma_cmd.o]
 Error 1
make[4]: *** 
[/var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/drivers/infiniband/hw/vmw_pvrdma] 
Error 2
make[3]: *** 
[/var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/drivers/infiniband/hw] Error 2

It looks like the refcount.h exists in compat-rdma. Do I need to include any 
config defines for pvrdma to pick up the header?

Thanks,
Adit

  
  

You should add "#include " in pvrdma.h
I guess that will be a backport patch for RHEL 7.4. I don't think this 
is a problem for RHEL 7.5. After fixing that there seems to be a build 
issue with mlx5 pertaining to PCI_IRQ_MSIX below (also with 
vmw_pvrdma): 
/root/rpmbuild/SOURCES/compat-rdma-4.17/drivers/net/ethernet/mellanox/mlx5/core/main.c: 
In function ‘mlx5_alloc_irq_vectors’: 
/root/rpmbuild/SOURCES/compat-rdma-4.17/drivers/net/ethernet/mellanox/mlx5/core/main.c:337:2: 
error: implicit declaration of function ‘pci_alloc_irq_vectors’ 
[-Werror=implicit-function-declaration] nvec = 
pci_alloc_irq_vectors(dev->pdev, ^ 
/root/rpmbuild/SOURCES/compat-rdma-4.17/drivers/net/ethernet/mellanox/mlx5/core/main.c:339:4: 
error: ‘PCI_IRQ_MSIX’ undeclared (first use in this function) 
PCI_IRQ_MSIX); ^ 
/root/rpmbuild/SOURCES/compat-rdma-4.17/drivers/net/ethernet/mellanox/mlx5/core/main.c:339:4: 
note: each undeclared identifier is reported only once for each 
function it appears in 
/root/rpmbuild/SOURCES/compat-rdma-4.17/drivers/net/ethernet/mellanox/mlx5/core/main.c: 
In function ‘mlx5_free_irq_vectors’: 
/root/rpmbuild/SOURCES/compat-rdma-4.17/drivers/net/ethernet/mellanox/mlx5/core/main.c:358:2: 
error: implicit declaration of function ‘pci_free_irq_vectors’ 
[-Werror=implicit-function-declaration] 
pci_free_irq_vectors(dev->pdev); ^ 
/root/rpmbuild/SOURCES/compat-rdma-4.17/drivers/net/ethernet/mellanox/mlx5/core/main.c: 
In function ‘mlx5_irq_set_affinity_hint’: 
/root/rpmbuild/SOURCES/compat-rdma-4.17/drivers/net/ethernet/mellanox/mlx5/core/main.c:638:2: 
error: implicit declaration of function ‘pci_irq_vector’ 
[-Werror=implicit-function-declaration] int irq = 
pci_irq_vector(mdev->pdev, MLX5_EQ_VEC_COMP_BASE + i); ^ 
/root/rpmbuild/SOURCES/compat-rdma-4.17/drivers/net/ethernet/mellanox/mlx5/core/main.c: 
At top level: 
/root/rpmbuild/SOURCES/compat-rdma-4.17/drivers/net/ethernet/mellanox/mlx5/core/main.c:1347:2: 
error: unknown field ‘eswitch_encap_mode_set’ specified in initializer 
.eswitch_encap_mode_set = mlx5_devlink_eswitch_encap_mode_set, ^ 
/root/rpmbuild/SOURCES/compat-rdma-4.17/drivers/net/ethernet/mellanox/mlx5/core/main.c:1348:2: 
error: unknown field ‘eswitch_encap_mode_get’ specified in initializer 
.eswitch_encap_mode_get = mlx5_devlink_eswitch_encap_mode_get, ^ 
/root/rpmbuild/SOURCES/compat-rdma-4.17/drivers/net/ethernet/mellanox/mlx5/core/main.c:1348:2: 
warning: excess elements in struct initializer [enabled by default] 
/root/rpmbuild/SOURCES/compat-rdma-4.17/drivers/net/ethernet/mellanox/mlx5/core/main.c:1348:2: 
warning: (near initialization for ‘mlx5_devlink_ops’) [enabled by 
default] Thanks, Adit


MLX5 compilation should work on RHEL7.4 with the latest daily build.

Regards,
Vladimir
___
ewg mailing list
ewg@lists.openfabrics.org
https://lists.openfabrics.org/mailman/listinfo/ewg


Re: [ewg] Compat-rdma compile error

2018-08-01 Thread Adit Ranadive
On 8/1/18, 2:25 PM, "Vladimir Sokolovsky"  wrote:
> On 08/01/2018 10:35 PM, Adit Ranadive wrote:
> > On 8/1/18, 7:52 AM, "Vladimir Sokolovsky"  wrote:
> >> Hi Adit,
> >> I added missing headers and created a new build: 
> >> OFED-4.17-20180801-0747.tgz
> > Thanks! That got me past the earlier error, I'm still facing an issue below:
> >
> > CC [M]  /var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/compat/compat-3.11.o
> > In file included from 
> > /var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/drivers/infiniband/hw/vmw_pvrdma/pvrdma_cmd.c:48:0:
> > /var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:96:2:
> >  error: unknown type name ‘refcount_t’
> >refcount_t refcnt;
> >^
> > /var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:177:2:
> >  error: unknown type name ‘refcount_t’
> >refcount_t refcnt;
> >^
> > /var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:199:2:
> >  error: unknown type name ‘refcount_t’
> >refcount_t refcnt;
> >^
> > make[5]: *** 
> > [/var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/drivers/infiniband/hw/vmw_pvrdma/pvrdma_cmd.o]
> >  Error 1
> > make[4]: *** 
> > [/var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/drivers/infiniband/hw/vmw_pvrdma]
> >  Error 2
> > make[3]: *** 
> > [/var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/drivers/infiniband/hw] Error 2
> >
> > It looks like the refcount.h exists in compat-rdma. Do I need to include 
> > any config defines for pvrdma to pick up the header?
> >
> > Thanks,
> > Adit
> >
> >  
> >  
> You should add "#include " in pvrdma.h

I guess that will be a backport patch for RHEL 7.4. I don't think this is a 
problem for
RHEL 7.5.

After fixing that there seems to be a build issue with mlx5 pertaining to
PCI_IRQ_MSIX below (also with vmw_pvrdma):

/root/rpmbuild/SOURCES/compat-rdma-4.17/drivers/net/ethernet/mellanox/mlx5/core/main.c:
 In function ‘mlx5_alloc_irq_vectors’:
/root/rpmbuild/SOURCES/compat-rdma-4.17/drivers/net/ethernet/mellanox/mlx5/core/main.c:337:2:
 error: implicit declaration of function ‘pci_alloc_irq_vectors’ 
[-Werror=implicit-function-declaration]
  nvec = pci_alloc_irq_vectors(dev->pdev,
  ^
/root/rpmbuild/SOURCES/compat-rdma-4.17/drivers/net/ethernet/mellanox/mlx5/core/main.c:339:4:
 error: ‘PCI_IRQ_MSIX’ undeclared (first use in this function)
PCI_IRQ_MSIX);
^
/root/rpmbuild/SOURCES/compat-rdma-4.17/drivers/net/ethernet/mellanox/mlx5/core/main.c:339:4:
 note: each undeclared identifier is reported only once for each function it 
appears in
/root/rpmbuild/SOURCES/compat-rdma-4.17/drivers/net/ethernet/mellanox/mlx5/core/main.c:
 In function ‘mlx5_free_irq_vectors’:
/root/rpmbuild/SOURCES/compat-rdma-4.17/drivers/net/ethernet/mellanox/mlx5/core/main.c:358:2:
 error: implicit declaration of function ‘pci_free_irq_vectors’ 
[-Werror=implicit-function-declaration]
  pci_free_irq_vectors(dev->pdev);
  ^
/root/rpmbuild/SOURCES/compat-rdma-4.17/drivers/net/ethernet/mellanox/mlx5/core/main.c:
 In function ‘mlx5_irq_set_affinity_hint’:
/root/rpmbuild/SOURCES/compat-rdma-4.17/drivers/net/ethernet/mellanox/mlx5/core/main.c:638:2:
 error: implicit declaration of function ‘pci_irq_vector’ 
[-Werror=implicit-function-declaration]
  int irq = pci_irq_vector(mdev->pdev, MLX5_EQ_VEC_COMP_BASE + i);
  ^
/root/rpmbuild/SOURCES/compat-rdma-4.17/drivers/net/ethernet/mellanox/mlx5/core/main.c:
 At top level:
/root/rpmbuild/SOURCES/compat-rdma-4.17/drivers/net/ethernet/mellanox/mlx5/core/main.c:1347:2:
 error: unknown field ‘eswitch_encap_mode_set’ specified in initializer
  .eswitch_encap_mode_set = mlx5_devlink_eswitch_encap_mode_set,
  ^
/root/rpmbuild/SOURCES/compat-rdma-4.17/drivers/net/ethernet/mellanox/mlx5/core/main.c:1348:2:
 error: unknown field ‘eswitch_encap_mode_get’ specified in initializer
  .eswitch_encap_mode_get = mlx5_devlink_eswitch_encap_mode_get,
  ^
/root/rpmbuild/SOURCES/compat-rdma-4.17/drivers/net/ethernet/mellanox/mlx5/core/main.c:1348:2:
 warning: excess elements in struct initializer [enabled by default]
/root/rpmbuild/SOURCES/compat-rdma-4.17/drivers/net/ethernet/mellanox/mlx5/core/main.c:1348:2:
 warning: (near initialization for ‘mlx5_devlink_ops’) [enabled by default] 

Thanks,
Adit 

___
ewg mailing list
ewg@lists.openfabrics.org
https://lists.openfabrics.org/mailman/listinfo/ewg


Re: [ewg] Compat-rdma compile error

2018-08-01 Thread Vladimir Sokolovsky

On 08/01/2018 10:35 PM, Adit Ranadive wrote:

On 8/1/18, 7:52 AM, "Vladimir Sokolovsky"  wrote:

Hi Adit,
I added missing headers and created a new build: OFED-4.17-20180801-0747.tgz

Thanks! That got me past the earlier error, I'm still facing an issue below:

CC [M]  /var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/compat/compat-3.11.o
In file included from 
/var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/drivers/infiniband/hw/vmw_pvrdma/pvrdma_cmd.c:48:0:
/var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:96:2:
 error: unknown type name ‘refcount_t’
   refcount_t refcnt;
   ^
/var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:177:2:
 error: unknown type name ‘refcount_t’
   refcount_t refcnt;
   ^
/var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:199:2:
 error: unknown type name ‘refcount_t’
   refcount_t refcnt;
   ^
make[5]: *** 
[/var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/drivers/infiniband/hw/vmw_pvrdma/pvrdma_cmd.o]
 Error 1
make[4]: *** 
[/var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/drivers/infiniband/hw/vmw_pvrdma] 
Error 2
make[3]: *** 
[/var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/drivers/infiniband/hw] Error 2

It looks like the refcount.h exists in compat-rdma. Do I need to include any 
config defines for pvrdma to pick up the header?

Thanks,
Adit
   
 
 

You should add "#include " in pvrdma.h

Regards,
Vladimir
___
ewg mailing list
ewg@lists.openfabrics.org
https://lists.openfabrics.org/mailman/listinfo/ewg


Re: [ewg] Compat-rdma compile error

2018-08-01 Thread Adit Ranadive
On 8/1/18, 7:52 AM, "Vladimir Sokolovsky"  wrote:
>Hi Adit,
>I added missing headers and created a new build: 
> OFED-4.17-20180801-0747.tgz

Thanks! That got me past the earlier error, I'm still facing an issue below:

CC [M]  /var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/compat/compat-3.11.o
In file included from 
/var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/drivers/infiniband/hw/vmw_pvrdma/pvrdma_cmd.c:48:0:
/var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:96:2:
 error: unknown type name ‘refcount_t’
  refcount_t refcnt;
  ^
/var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:177:2:
 error: unknown type name ‘refcount_t’
  refcount_t refcnt;
  ^
/var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:199:2:
 error: unknown type name ‘refcount_t’
  refcount_t refcnt;
  ^
make[5]: *** 
[/var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/drivers/infiniband/hw/vmw_pvrdma/pvrdma_cmd.o]
 Error 1
make[4]: *** 
[/var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/drivers/infiniband/hw/vmw_pvrdma] 
Error 2
make[3]: *** 
[/var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/drivers/infiniband/hw] Error 2

It looks like the refcount.h exists in compat-rdma. Do I need to include any 
config defines for pvrdma to pick up the header?

Thanks,
Adit
  



___
ewg mailing list
ewg@lists.openfabrics.org
https://lists.openfabrics.org/mailman/listinfo/ewg


Re: [ewg] Compat-rdma compile error

2018-08-01 Thread Vladimir Sokolovsky

On 08/01/2018 03:35 AM, Adit Ranadive wrote:
Hi Vlad, While trying to install OFED-4.17 daily build 
(OFED-4.17-20180727-1517), I’m getting the following error: In file 
included from :0:0: 
/var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/include/linux/compat-2.6.h:54:31: 
fatal error: linux/compat-3.19.h: No such file or directory #include 
 ^ compilation terminated. In file included from 
:0:0: 
/var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/include/linux/compat-2.6.h:54:31: 
fatal error: linux/compat-3.19.h: No such file or directory #include 
 ^ compilation terminated. In file included from 
:0:0: 
/var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/include/linux/compat-2.6.h:54:31: 
fatal error: linux/compat-3.19.h: No such file or directory #include 
 ^ compilation terminated. In file included from 
:0:0: 
/var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/include/linux/compat-2.6.h:54:31: 
fatal error: linux/compat-3.19.h: No such file or directory #include 
 ^ compilation terminated. make[4]: *** 
[/var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/drivers/infiniband/core/cm.o] 
Error 1 make[3]: *** 
[/var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/drivers/infiniband/core] 
Error 2 make[3]: *** Waiting for unfinished jobs make[3]: *** 
[/var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/compat/compat-3.11.o] 
Error 1 make[3]: *** Waiting for unfinished jobs CC [M] 
/var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/drivers/infiniband/hw/vmw_pvrdma/pvrdma_cq.omake[5]: 
*** 
[/var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/drivers/infiniband/hw/vmw_pvrdma/pvrdma_cmd.o] 
Error 1 make[5]: *** Waiting for unfinished jobs CC [M] 
/var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/drivers/infiniband/hw/vmw_pvrdma/pvrdma_doorbell.omake[3]: 
*** [/var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/compat/main.o] Error 
1 make[2]: *** [/var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/compat] 
Error 2 I'm building this on RHEL 7.4 (3.10.0-693.el7.x86_64). Am I 
missing any header packages? Thanks, Adit

Hi Adit,
I added missing headers and created a new build: OFED-4.17-20180801-0747.tgz

Thanks,
Vladimir


___
ewg mailing list
ewg@lists.openfabrics.org
https://lists.openfabrics.org/mailman/listinfo/ewg


[ewg] compat-rdma compile error

2015-01-05 Thread Steve Wise
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@lists.openfabrics.org
http://lists.openfabrics.org/mailman/listinfo/ewg


Re: [ewg] compat-rdma compile error

2015-01-05 Thread Vladimir Sokolovsky

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.

Regards,
Vladimir
___
ewg mailing list
ewg@lists.openfabrics.org
http://lists.openfabrics.org/mailman/listinfo/ewg


Re: [ewg] compat-rdma compile error

2015-01-05 Thread Steve Wise
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-boun...@lists.openfabrics.org 
 [mailto:ewg-boun...@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@lists.openfabrics.org
 http://lists.openfabrics.org/mailman/listinfo/ewg

___
ewg mailing list
ewg@lists.openfabrics.org
http://lists.openfabrics.org/mailman/listinfo/ewg


Re: [ewg] compat-rdma compile error

2015-01-05 Thread Steve Wise

 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.




___
ewg mailing list
ewg@lists.openfabrics.org
http://lists.openfabrics.org/mailman/listinfo/ewg


Re: [ewg] compat-rdma compile error

2015-01-05 Thread Steve Wise
 
  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.
 
 

Never mind.  I needed to pull both compat and compat-rdma to get the fixes.

Thanks,

Steve.

___
ewg mailing list
ewg@lists.openfabrics.org
http://lists.openfabrics.org/mailman/listinfo/ewg