Stephen,
a simpler option is to install the libnl-route-3-dev.
note you will not be able to build the reachable/netlink component
without this package.
Cheers,
Gilles
On 9/21/2017 1:04 PM, Gilles Gouaillardet wrote:
Stephen,
this is very likely related to the issue already reported in github.
meanwhile, you can apply the attached patch
patch configure < configure.diff
and then re-configure and make.
note this is a temporary workaround, it simply prevent the build of
the reachable/netlink component,
and the upcoming real fix will be able to build this component.
Cheers,
Gilles
On 9/21/2017 9:22 AM, Gilles Gouaillardet wrote:
Thanks for the report,
is this related to https://github.com/open-mpi/ompi/issues/4211 ?
there is a known issue when libnl-3 is installed but libnl-route-3 is
not
Cheers,
Gilles
On 9/21/2017 8:53 AM, Stephen Guzik wrote:
When compiling (on Debian stretch), I see:
In file included from libnl_utils.h:52:0,
from reachable_netlink_utils_common.c:48:
libnl1_utils.h:54:26: error: too few arguments to function
‘nl_geterror’
#define NL_GETERROR(err) nl_geterror()
^
libnl1_utils.h:80:5: note: in expansion of macro ‘NL_GETERROR’
NL_GETERROR(err)); \
^~~~~~~~~~~
reachable_netlink_utils_common.c:310:5: note: in expansion of macro
‘NL_RECVMSGS’
NL_RECVMSGS(unlsk->nlh, arg, EHOSTUNREACH, err, out);
^~~~~~~~~~~
In file included from /usr/include/libnl3/netlink/netlink.h:31:0,
from libnl1_utils.h:47,
from libnl_utils.h:52,
from reachable_netlink_utils_common.c:48:
/usr/include/libnl3/netlink/errno.h:56:21: note: declared here
extern const char * nl_geterror(int);
Modifying openmpi-3.0.0/opal/mca/reachable/netlink/libnl1_utils.h from
#define NL_GETERROR(err) nl_geterror()
to
#define NL_GETERROR(err) nl_geterror(err)
as in libnl3_utils.h allows for successful compilation. But from
configure, I see
checking for libraries that use libnl v1... (none)
checking for libraries that use libnl v3... ibverbs nl-3
so I wonder if perhaps there is something more serious is going on.
Any
suggestions?
Thanks,
Stephen Guzik
_______________________________________________
users mailing list
users@lists.open-mpi.org
https://lists.open-mpi.org/mailman/listinfo/users
_______________________________________________
users mailing list
users@lists.open-mpi.org
https://lists.open-mpi.org/mailman/listinfo/users