<html><head></head><body><div class="yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div dir="ltr" data-setdir="false"><div><div>Hi Gluster devs</div><div><br></div><div>I compiled GlusterFS ver. 7.3 cloned from github on FreeBSD 12.1.</div><div><br></div><div>In order to compile I had to modify configure.ac as follows:</div><div>- AM_INIT_AUTOMAKE([tar-pax foreign])</div><div>+ AM_INIT_AUTOMAKE([tar-pax foreign subdir-objects])</div><div><br></div><div>Compile develops following error:</div><div>gmake[3]: Entering directory 'glusterfsd/src'</div><div>&nbsp; CC&nbsp; &nbsp; &nbsp; &nbsp;glusterfsd.o</div><div>&nbsp; CC&nbsp; &nbsp; &nbsp; &nbsp;glusterfsd-mgmt.o</div><div>&nbsp; CC&nbsp; &nbsp; &nbsp; &nbsp;gf_attach.o</div><div>&nbsp; CCLD&nbsp; &nbsp; &nbsp;gf_attach</div><div>&nbsp; CCLD&nbsp; &nbsp; &nbsp;glusterfsd</div><div>ld: error: undefined symbol: basename_r</div><div>&gt;&gt;&gt; referenced by glusterfsd.c:1711</div><div>&gt;&gt;&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;glusterfsd.o:(parse_cmdline)</div><div><br></div><div>ld: error: undefined symbol: basename_r</div><div>&gt;&gt;&gt; referenced by glusterfsd.c:2266</div><div>&gt;&gt;&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;glusterfsd.o:(parse_cmdline)</div><div>cc: error: linker command failed with exit code 1 (use -v to see invocation)</div><div><br></div><div><br></div><div>At glusterfsd.c:1711 and glusterfsd.c:2266, it is basename is used, not basename_r.</div><div><br></div><div>Hope devs can fix and push to github, so that I can give it a try again.</div><div><br></div><div>Thanks.</div></div><br></div></div></body></html>