gluster / glusterfs

Gluster Filesystem : Build your distributed storage in minutes
https://www.gluster.org
GNU General Public License v2.0
4.57k stars 1.07k forks source link

There is a compilation problem with the devel branch #3895

Open WelldoneIT opened 1 year ago

WelldoneIT commented 1 year ago

Description of problem: hello,there is a problem with the devel branch,below are my steps:

./configure --disable-linux-io_uring

...... GlusterFS configure summary

FUSE client : yes epoll IO multiplex : yes fusermount : yes readline : no georeplication : yes Linux-AIO : no Linux io_uring : no Use liburing : no Enable Debug : no Run with Valgrind : no Sanitizer enabled : none 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 : no Nanosecond m/atimes : yes Server components : yes Legacy gNFS server : no IPV6 default : no Use TIRPC : yes With Python : 3.6 Cloudsync : yes Metadata dispersal : no Link with TCMALLOC : yes Enable Brick Mux : no Building with LTO : no ......

when make,report an error

make

......... socket.c: In function '__socket_read_accepted_successful_reply_v2': socket.c:1740:13: error: implicit declaration of function 'xdr_sizeof' [-Werror=implicit-function-declaration] default_read_size = xdr_sizeof((xdrproc_t)xdr_gfx_read_rsp, ^ cc1: some warnings being treated as errors make[5]: *** [socket.lo] Error 1 ........

I have installed the rpc library: libtirpc-0.2.4-0.16.el7.x86_64 libtirpc-devel-0.2.4-0.16.el7.x86_64 libntirpc-1.3.1-1.el7.x86_64 rpcbind-0.2.0-49.el7.x86_64 libntirpc-devel-1.3.1-1.el7.x86_64

humbly ask you for advice, thank you very much

Note: Please hide any confidential data which you don't want to share in public like IP address, file name, hostname or any other configuration

Nivekiba commented 1 year ago

Agree, i have the same problem too.

xhernandez commented 1 year ago

@WelldoneIT, @Nivekiba what OS are you using to compile ?

stale[bot] commented 9 months ago

Thank you for your contributions. Noticed that this issue is not having any activity in last ~6 months! We are marking this issue as stale because it has not had recent activity. It will be closed in 2 weeks if no one responds with a comment here.