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?
Regards,
Vladimir
------------------------------------------------------------------------
*From:* Becker, Jeffrey C. (ARC-TN)[InuTeq, LLC]
*Sent:* Monday, August 13, 2018 10:00 AM
*To:* Vladimir Sokolovsky [v...@dev.mellanox.co.il]
*Cc:* ewg@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
_______________________________________________
ewg mailing list
ewg@lists.openfabrics.org
https://lists.openfabrics.org/mailman/listinfo/ewg