[Bugs] [Bug 1782100] New: Make error: "rpcsvc.c:1197:5: error: implicit declaration of function 'xdr_sizeof' [-Werror=implicit-function-declaration]"
bugzilla at redhat.com
bugzilla at redhat.com
Wed Dec 11 07:28:34 UTC 2019
https://bugzilla.redhat.com/show_bug.cgi?id=1782100
Bug ID: 1782100
Summary: Make error: "rpcsvc.c:1197:5: error: implicit
declaration of function 'xdr_sizeof'
[-Werror=implicit-function-declaration]"
Product: GlusterFS
Version: mainline
OS: Linux
Status: NEW
Component: rpc
Assignee: bugs at gluster.org
Reporter: lxyscls at 163.com
CC: bugs at gluster.org
Target Milestone: ---
Classification: Community
Description of problem:
Must turn the option IPV6 during configure. If not, make error as in title.
Version-Release number of selected component (if applicable):
mainline.
How reproducible:
every time
Steps to Reproduce:
1../autogen.sh
2../configure
3.make
Actual results:
rpcsvc.c:1197:5: error: implicit declaration of function 'xdr_sizeof'
[-Werror=implicit-function-declaration]
xdr_size = xdr_sizeof((xdrproc_t)xdr_callmsg, &request);
Expected results:
no error
Additional info:
xdr-common.h
#ifdef GF_LINUX_HOST_OS
#define xdr_u_int32_t xdr_uint32_t
#define xdr_u_int64_t xdr_uint64_t
#ifdef IPV6_DEFAULT
unsigned long
xdr_sizeof(xdrproc_t func, void *data);
#endif
#endif
I think because such definition only defined in the "IPV6_DEFAULT".
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list