<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Fri, Jun 29, 2018 at 11:59 AM Yaniv Kaul <<a href="mailto:ykaul@redhat.com">ykaul@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hello,</div><div><br></div><div>First time trying to compile from source.</div><div><br></div>The compilation part of 'make install' fails with:<div><div>rpcsvc.c:528:17: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'u_int32_t' [-Wformat=]</div><div> gf_log (GF_RPCSVC, GF_LOG_ERROR, "auth failed on request. "</div><div> ^</div><div>rpcsvc.c:528:17: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'rpcvers_t' [-Wformat=]</div><div>rpcsvc.c:528:17: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'rpcprog_t' [-Wformat=]</div><div>rpcsvc.c:528:17: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'rpcvers_t' [-Wformat=]</div><div>rpcsvc.c:528:17: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'rpcproc_t' [-Wformat=]</div><div>rpcsvc.c:528:17: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type 'u_int32_t' [-Wformat=]</div><div>rpcsvc.c:528:17: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'rpcvers_t' [-Wformat=]</div><div>rpcsvc.c:528:17: warning: format '%lu' expects argument of type 'long unsigned int', but argument 9 has type 'rpcprog_t' [-Wformat=]</div><div>rpcsvc.c:528:17: warning: format '%lu' expects argument of type 'long unsigned int', but argument 10 has type 'rpcvers_t' [-Wformat=]</div><div>rpcsvc.c:528:17: warning: format '%lu' expects argument of type 'long unsigned int', but argument 11 has type 'rpcproc_t' [-Wformat=]</div><div>rpcsvc.c: In function 'rpcsvc_callback_build_record':</div><div>rpcsvc.c:1003:9: error: implicit declaration of function 'xdr_sizeof' [-Werror=implicit-function-declaration]</div><div> xdr_size = xdr_sizeof ((xdrproc_t)xdr_callmsg, &request);</div><div> ^</div><div>cc1: some warnings being treated as errors</div><div>make[4]: *** [rpcsvc.lo] Error 1</div></div><div><br></div></div></blockquote><div><br></div><div>Is this on RHEL/CentOS 7? IIRC, libtirpc on RHEL7 does not have xdr_sizeof. Using --without-libtirpc with configure might help overcome this problem as it falls back on glibc for xdr functions.</div><div><br></div><div>Thanks,</div><div>Vijay</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div></div><div><br></div><div><br></div><div>I'm on commit b3c2116d99a5c049e4ee0f88f35440258b49496e , but I don't think it's related.</div><div><br></div><div>The following did get me RPMs:</div><div><div>./configure --enable-fusemount --disable-tiering</div><div>make dist</div><div>cd extras/LinuxRPM/</div><div>make glusterrpms</div><div><br></div><div>Thanks,</div><div>Y.</div><div><br></div><div><br></div></div></div>
_______________________________________________<br>
Gluster-devel mailing list<br>
<a href="mailto:Gluster-devel@gluster.org" target="_blank">Gluster-devel@gluster.org</a><br>
<a href="http://lists.gluster.org/mailman/listinfo/gluster-devel" rel="noreferrer" target="_blank">http://lists.gluster.org/mailman/listinfo/gluster-devel</a></blockquote></div></div>