Bug 1782100
Summary: | Make error: "rpcsvc.c:1197:5: error: implicit declaration of function 'xdr_sizeof' [-Werror=implicit-function-declaration]" | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | lxyscls <lxyscls> |
Component: | rpc | Assignee: | bugs <bugs> |
Status: | CLOSED UPSTREAM | QA Contact: | |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | mainline | CC: | bugs, kkeithle, pasik |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-03-12 12:18:54 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
lxyscls
2019-12-11 07:28:34 UTC
(It helps to know which Linux distribution you're building on.) this is usually an indication that you haven't installed libtirpc and libtirpc-devel (Fedora, CentOS, RHEL) or libtirpc3 and libtirpc-dev (Debian, Ubuntu) on a newer linux distribution where rpc has been removed from libc. Make sure you have those installed and that the output from configure includes ... Use TIRPC : yes ... I was able to successfully build on both Fedora 31 and Debian buster, both with `--with-ipv6-default` and without. Note: Older distributions that have rpc in libc should not use libtirpc as it is usually too old. (In reply to Kaleb KEITHLEY from comment #1) > (It helps to know which Linux distribution you're building on.) > > this is usually an indication that you haven't installed libtirpc and > libtirpc-devel (Fedora, CentOS, RHEL) or libtirpc3 and libtirpc-dev > (Debian, Ubuntu) on a newer linux distribution where rpc has been removed > from libc. > > Make sure you have those installed and that the output from configure > includes > > ... > Use TIRPC : yes > ... > > I was able to successfully build on both Fedora 31 and Debian buster, both > with `--with-ipv6-default` and without. > > Note: Older distributions that have rpc in libc should not use libtirpc as > it is usually too old. My CentOS' version is "CentOS Linux release 7.6.1810 (Core)". And I am sure that it has been installed libtirpc and libtirpc-devel both. And the configure summary is as below. GlusterFS configure summary =========================== FUSE client : yes Infiniband verbs : yes epoll IO multiplex : yes fusermount : yes readline : yes georeplication : yes Linux-AIO : yes Enable Debug : no Enable ASAN : no Enable TSAN : no Use syslog : yes XML output : yes Unit Tests : no Track priv ports : yes POSIX ACLs : yes SELinux features : yes firewalld-config : no Events : yes EC dynamic support : x64 sse avx Use memory pools : yes Nanosecond m/atimes : yes Server components : yes Legacy gNFS server : no IPV6 default : no Use TIRPC : yes With Python : 2.7 Cloudsync : yes And from the code, I just find that it has relationship with the IPV6 MACRO. This bug is moved to https://github.com/gluster/glusterfs/issues/868, and will be tracked there from now on. Visit GitHub issues URL for further details |