<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1256">
</head>
<body fpstyle="1" ocsi="0" bgcolor="#FFFFFF">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">
<div>Hi Vlad,<br>
</div>
<div><br>
</div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF590945" style="direction: ltr;"><font size="2" face="Tahoma" color="#000000"><b>From:</b> Vladimir Sokolovsky [vlad@dev.mellanox.co.il]<br>
<b>Sent:</b> Monday, August 13, 2018 1:33 PM<br>
<b>To:</b> Becker, Jeffrey C. (ARC-TN)[InuTeq, LLC]<br>
<b>Cc:</b> ewg@lists.openfabrics.org<br>
<b>Subject:</b> Re: OFED 4.17 latest build error on SLES15<br>
</font><br>
</div>
<div></div>
<div>
<div class="moz-cite-prefix">On 08/13/2018 08:23 PM, Becker, Jeffrey C. (ARC-TN)[InuTeq, LLC] wrote:<br>
</div>
<blockquote type="cite"><style type="text/css" id="owaParaStyle">
<!--
p
{margin-top:0;
margin-bottom:0}
p
{margin-top:0;
margin-bottom:0}
-->
BODY {direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;}P {margin-top:0;margin-bottom:0;}</style>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">
<div>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:</div>
<div><br>
</div>
<div>#ifdef HAVE_INET_CONFIRM_ADDR_EXPORTED<br>
#ifdef HAVE_INET_CONFIRM_ADDR_5_PARAMS<br>
ret_addr = inet_confirm_addr(net, in_dev, 0,<br>
addr_in->sin_addr.s_addr,<br>
RT_SCOPE_HOST);<br>
#else<br>
ret_addr = inet_confirm_addr(in_dev, 0,<br>
addr_in->sin_addr.s_addr,<br>
RT_SCOPE_HOST);<br>
#endif<br>
#else<br>
ret_addr = confirm_addr_indev(in_dev, 0,<br>
addr_in->sin_addr.s_addr,<br>
RT_SCOPE_HOST);<br>
#endif<br>
</div>
</div>
</blockquote>
<br>
>> Hi Jeff,<br>
>> On SLES15 (4.12.14-16-default) I have in compat/config.h:<br>
>> #define HAVE_INET_CONFIRM_ADDR_5_PARAMS 1<br>
>> #define HAVE_INET_CONFIRM_ADDR_EXPORTED 1<br>
>><br>
>> So, it should use the topmost inet_confirm_addr and not confirm_addr_indev.<br>
>> Did you run configure script?</div>
<div><br>
</div>
<div>I used install.pl in the latest.tgz top level directory. I assume that runs configure as a first step for compat_rdma? Thanks.</div>
<div><br>
</div>
<div>-jeff<br>
</div>
<div><br>
</div>
<div>>> Regards,<br>
>> Vladimir<br>
<br>
<br>
<blockquote type="cite">
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">
<div><br>
</div>
<div style="font-family:Times New Roman; color:#000000; font-size:16px">
<hr tabindex="-1">
<div id="divRpF440967" style="direction:ltr"><font size="2" face="Tahoma" color="#000000"><b>From:</b> Becker, Jeffrey C. (ARC-TN)[InuTeq, LLC]<br>
<b>Sent:</b> Monday, August 13, 2018 10:00 AM<br>
<b>To:</b> Vladimir Sokolovsky ý[<a class="moz-txt-link-abbreviated" href="mailto:vlad@dev.mellanox.co.il" target="_blank">vlad@dev.mellanox.co.il</a>]ý<br>
<b>Cc:</b> <a class="moz-txt-link-abbreviated" href="mailto:ewg@lists.openfabrics.org" target="_blank">
ewg@lists.openfabrics.org</a><br>
<b>Subject:</b> OFED 4.17 latest build error on SLES15<br>
</font><br>
</div>
<div>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">
<div>Hi Vlad,</div>
<div><br>
</div>
<div>I just tried to build on SLES15 and got the following error:<br>
</div>
<div><br>
</div>
<div>/var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/drivers/infiniband/ulp/ipoib/ipoib_main.c: In function ‘ipoib_is_dev_match_addr_rcu’:<br>
/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]<br>
ret_addr = confirm_addr_indev(in_dev, 0,<br>
^~~~~~~~~~~~~~~~~~<br>
</div>
<div><br>
</div>
<div>Is the backport for SLES15 missing something? Thanks.</div>
<div><br>
</div>
<div>-jeff<br>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<p><br>
</p>
</div>
</div>
</div>
</body>
</html>