[ewg] OFED 4.17 latest build error on SLES15

Becker, Jeffrey C. (ARC-TN)[InuTeq, LLC] jeffrey.c.becker at nasa.gov
Tue Aug 14 11:57:36 PDT 2018


Hi Vlad,

PSB
________________________________
From: Vladimir Sokolovsky [vlad at dev.mellanox.co.il]
Sent: Tuesday, August 14, 2018 9:43 AM
To: Becker, Jeffrey C. (ARC-TN)[InuTeq, LLC]
Cc: ewg at lists.openfabrics.org
Subject: Re: OFED 4.17 latest build error on SLES15

On 08/14/2018 12:18 AM, Becker, Jeffrey C. (ARC-TN)[InuTeq, LLC] wrote:
Hi Vlad,

________________________________
From: Vladimir Sokolovsky [vlad at dev.mellanox.co.il<mailto:vlad at dev.mellanox.co.il>]
Sent: Monday, August 13, 2018 1:33 PM
To: Becker, Jeffrey C. (ARC-TN)[InuTeq, LLC]
Cc: ewg at lists.openfabrics.org<mailto:ewg at lists.openfabrics.org>
Subject: Re: OFED 4.17 latest build error on SLES15

On 08/13/2018 08:23 PM, Becker, Jeffrey C. (ARC-TN)[InuTeq, LLC] wrote:
It seems the following backport code in  /var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/drivers/infiniband/ulp/ipoib/ipoib_main.c didn't work as expected:

#ifdef HAVE_INET_CONFIRM_ADDR_EXPORTED
#ifdef HAVE_INET_CONFIRM_ADDR_5_PARAMS
                ret_addr = inet_confirm_addr(net, in_dev, 0,
                                             addr_in->sin_addr.s_addr,
                                             RT_SCOPE_HOST);
#else
                ret_addr = inet_confirm_addr(in_dev, 0,
                                             addr_in->sin_addr.s_addr,
                                             RT_SCOPE_HOST);
#endif
#else
                ret_addr = confirm_addr_indev(in_dev, 0,
                                              addr_in->sin_addr.s_addr,
                                              RT_SCOPE_HOST);
#endif

>> Hi Jeff,
>> On SLES15 (4.12.14-16-default) I have in compat/config.h:
>> #define HAVE_INET_CONFIRM_ADDR_5_PARAMS 1
>> #define HAVE_INET_CONFIRM_ADDR_EXPORTED 1
>>
>> So, it should use the topmost inet_confirm_addr and not confirm_addr_indev.
>> Did you run configure script?

I used install.pl in the latest.tgz top level directory. I assume that runs configure as a first step for compat_rdma? Thanks.

-jeff

>> Regards,
>> Vladimir

>> Hi Jeff,
>> Please attach compat-rdma.rpmbuild.log (ls -ltr /tmp/OFED*/compat-rdma.rpmbuild.log)

Attached. Thanks.

-jeff

>>Regards,
??Vladimir





________________________________
From: Becker, Jeffrey C. (ARC-TN)[InuTeq, LLC]
Sent: Monday, August 13, 2018 10:00 AM
To: Vladimir Sokolovsky ‎[vlad at dev.mellanox.co.il<mailto:vlad at dev.mellanox.co.il>]‎
Cc: ewg at lists.openfabrics.org<mailto:ewg at lists.openfabrics.org>
Subject: OFED 4.17 latest build error on SLES15

Hi Vlad,

I just tried to build on SLES15 and got the following error:

/var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/drivers/infiniband/ulp/ipoib/ipoib_main.c: In function ‘ipoib_is_dev_match_addr_rcu’:
/var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/drivers/infiniband/ulp/ipoib/ipoib_main.c:355:14: error: implicit declaration of function ‘confirm_addr_indev’ [-Werror=implicit-function-declaration]
   ret_addr = confirm_addr_indev(in_dev, 0,
              ^~~~~~~~~~~~~~~~~~

Is the backport for SLES15 missing something? Thanks.

-jeff


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ewg/attachments/20180814/0be8a3e2/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: compat-rdma.rpmbuild.log
Type: text/x-log
Size: 219284 bytes
Desc: compat-rdma.rpmbuild.log
URL: <http://lists.openfabrics.org/pipermail/ewg/attachments/20180814/0be8a3e2/attachment-0001.bin>


More information about the ewg mailing list