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, from ../../rpc/xdr/src/glusterfs-fops.h:9, from glusterfs.h:33, from fd.h:17, from inode.h:34, from inode.c:11: /usr/include/tirpc/rpc/xdr.h:267:0: warning: "IXDR_GET_LONG" redefined #define IXDR_GET_LONG(buf) ((long)ntohl((u_int32_t)*(buf)++)) Please see: https://review.gluster.org/#/c/19334/
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.