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

Reply via email to