This happens when IPv6 is not made the default. Many warnings like this are seen:
In file included from /usr/include/tirpc/rpc/rpc.h:43:0,
/usr/include/tirpc/rpc/xdr.h:267:0: warning: "IXDR_GET_LONG" redefined
#define IXDR_GET_LONG(buf) ((long)ntohl((u_int32_t)*(buf)++))
REVIEW: https://review.gluster.org/19334 (build: Fix redefinitions when using libtirpc without IPv6 by default) posted (#3) for review on master by James Le Cuirot
My change was abandoned but this was dealt with in https://review.gluster.org/19548.