<div dir="ltr"><div dir="ltr">Thanks, Ravishankar it worked.<div>also, I am getting the following warning message when running `make` is it safe to skip?</div><div><br></div><div><div>dht-layout.c: In function ‘dht_layout_new’:</div><div>dht-layout.c:51:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>         GF_ATOMIC_INIT (layout-&gt;ref, 1);</div><div>         ^</div><div>dht-layout.c:51:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>  CC       dht-helper.lo</div><div><br></div><div><br></div><div>  CC       ec.lo</div><div>ec.c: In function ‘ec_statistics_init’:</div><div>ec.c:637:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>         GF_ATOMIC_INIT(ec-&gt;stats.stripe_cache.hits, 0);</div><div>         ^</div><div>ec.c:637:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>ec.c:638:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>         GF_ATOMIC_INIT(ec-&gt;stats.stripe_cache.misses, 0);</div><div>         ^</div><div>ec.c:638:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>ec.c:639:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>         GF_ATOMIC_INIT(ec-&gt;stats.stripe_cache.updates, 0);</div><div>         ^</div><div>ec.c:639:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>ec.c:640:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>         GF_ATOMIC_INIT(ec-&gt;stats.stripe_cache.invals, 0);</div><div>         ^</div><div>ec.c:640:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>ec.c:641:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>         GF_ATOMIC_INIT(ec-&gt;stats.stripe_cache.evicts, 0);</div><div>         ^</div><div>ec.c:641:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>ec.c:642:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>         GF_ATOMIC_INIT(ec-&gt;stats.stripe_cache.allocs, 0);</div><div>         ^</div><div>ec.c:642:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>ec.c:643:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>         GF_ATOMIC_INIT(ec-&gt;stats.stripe_cache.errors, 0);</div><div>         ^</div><div>ec.c:643:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>  CC       ec-data.lo</div><div><br></div><div><br></div><div>  CCLD     <a href="http://posix.la">posix.la</a></div><div>.libs/posix-inode-fd-ops.o: In function `posix_do_chmod&#39;:</div><div>/home/qubevaultadmin/gluster-tar/glusterfs-4.1.6/xlators/storage/posix/src/posix-inode-fd-ops.c:203: warning: lchmod is not implemented and will always fail</div><div>make[5]: Nothing to be done for &#39;all-am&#39;.</div><div><br></div><div><br></div><div> CC       client-handshake.lo</div><div>client-handshake.c: In function ‘clnt_fd_lk_local_create’:</div><div>client-handshake.c:150:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>         GF_ATOMIC_INIT (local-&gt;ref, 1);</div><div>         ^</div><div>client-handshake.c:150:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>  CC       client-callback.lo</div><div><br></div><div>  CC       readdir-ahead.lo</div><div>readdir-ahead.c: In function ‘init’:</div><div>readdir-ahead.c:637:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>         GF_ATOMIC_INIT (priv-&gt;rda_cache_size, 0);</div><div>         ^</div><div>readdir-ahead.c:637:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>  CCLD     <a href="http://readdir-ahead.la">readdir-ahead.la</a></div><div><br></div><div>Making all in src</div><div>  CC       md-cache.lo</div><div>md-cache.c: In function ‘mdc_init’:</div><div>md-cache.c:3431:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>         GF_ATOMIC_INIT (conf-&gt;mdc_counter.stat_hit, 0);</div><div>         ^</div><div>md-cache.c:3431:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>md-cache.c:3432:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>         GF_ATOMIC_INIT (conf-&gt;mdc_counter.stat_miss, 0);</div><div>         ^</div><div>md-cache.c:3432:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>md-cache.c:3433:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>         GF_ATOMIC_INIT (conf-&gt;mdc_counter.xattr_hit, 0);</div><div>         ^</div><div>md-cache.c:3433:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>md-cache.c:3434:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>         GF_ATOMIC_INIT (conf-&gt;mdc_counter.xattr_miss, 0);</div><div>         ^</div><div>md-cache.c:3434:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>md-cache.c:3435:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>         GF_ATOMIC_INIT (conf-&gt;mdc_counter.negative_lookup, 0);</div><div>         ^</div><div>md-cache.c:3435:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>md-cache.c:3436:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>         GF_ATOMIC_INIT (conf-&gt;mdc_counter.nameless_lookup, 0);</div><div>         ^</div><div>md-cache.c:3436:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>md-cache.c:3437:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>         GF_ATOMIC_INIT (conf-&gt;mdc_counter.stat_invals, 0);</div><div>         ^</div><div>md-cache.c:3437:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>md-cache.c:3438:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>         GF_ATOMIC_INIT (conf-&gt;mdc_counter.xattr_invals, 0);</div><div>         ^</div><div>md-cache.c:3438:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>md-cache.c:3439:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>         GF_ATOMIC_INIT (conf-&gt;mdc_counter.need_lookup, 0);</div><div>         ^</div><div>md-cache.c:3439:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>  CCLD     <a href="http://md-cache.la">md-cache.la</a></div><div><br></div><div><br></div><div>dht-layout.c: In function ‘dht_layout_new’:</div><div>dht-layout.c:51:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>         GF_ATOMIC_INIT (layout-&gt;ref, 1);</div><div><br></div><div>  CC       io-stats.lo</div><div>io-stats.c: In function ‘ios_init_iosstat’:</div><div>io-stats.c:1973:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>                 GF_ATOMIC_INIT (iosstat-&gt;counters[i], 0);</div><div>                 ^</div><div>io-stats.c:1973:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>io-stats.c: In function ‘io_stats_open_cbk’:</div><div>io-stats.c:2066:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>         GF_ATOMIC_INIT (iosfd-&gt;data_read, 0);</div><div>         ^</div><div>io-stats.c:2066:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>io-stats.c:2067:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>         GF_ATOMIC_INIT (iosfd-&gt;data_written, 0);</div><div>         ^</div><div>io-stats.c:2067:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>io-stats.c:2069:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>                 GF_ATOMIC_INIT (iosfd-&gt;block_count_write[i], 0);</div><div>                 ^</div><div>io-stats.c:2069:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>io-stats.c:2070:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>                 GF_ATOMIC_INIT (iosfd-&gt;block_count_read[i], 0);</div><div>                 ^</div><div>io-stats.c:2070:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>io-stats.c: In function ‘ios_init_stats’:</div><div>io-stats.c:4006:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>         GF_ATOMIC_INIT (stats-&gt;data_read, 0);</div><div>         ^</div><div>io-stats.c:4006:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>io-stats.c:4007:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>         GF_ATOMIC_INIT (stats-&gt;data_written, 0);</div><div>         ^</div><div>io-stats.c:4007:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>io-stats.c:4010:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>                 GF_ATOMIC_INIT (stats-&gt;block_count_write[i], 0);</div><div>                 ^</div><div>io-stats.c:4010:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>io-stats.c:4011:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>                 GF_ATOMIC_INIT (stats-&gt;block_count_read[i], 0);</div><div>                 ^</div><div>io-stats.c:4011:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>io-stats.c:4015:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>                 GF_ATOMIC_INIT (stats-&gt;fop_hits[i], 0);</div><div>                 ^</div><div>io-stats.c:4015:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>io-stats.c:4018:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>                 GF_ATOMIC_INIT (stats-&gt;upcall_hits[i], 0);</div><div>                 ^</div><div>io-stats.c:4018:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>  CCLD     <a href="http://io-stats.la">io-stats.la</a></div><div><br></div><div>  CC       barrier.lo</div><div>barrier.c: In function ‘notify’:</div><div>barrier.c:499:33: warning: switch condition has boolean value [-Wswitch-bool]</div><div>                         switch (past) {</div><div>                                 ^</div><div>barrier.c: In function ‘reconfigure’:</div><div>barrier.c:565:25: warning: switch condition has boolean value [-Wswitch-bool]</div><div>                 switch (past) {</div><div>                         ^</div><div>  CCLD     <a href="http://barrier.la">barrier.la</a></div><div><br></div><div><br></div><div>  CC       client-handshake.lo</div><div>client-handshake.c: In function ‘clnt_fd_lk_local_create’:</div><div>client-handshake.c:150:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>         GF_ATOMIC_INIT (local-&gt;ref, 1);</div><div>         ^</div><div>client-handshake.c:150:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div><br></div><div><br></div><div>  CC       changelog-rpc.lo</div><div>changelog-rpc.c: In function ‘changelog_rpc_clnt_init’:</div><div>changelog-rpc.c:217:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>         GF_ATOMIC_INIT (crpc-&gt;ref, 1);</div><div>         ^</div><div>changelog-rpc.c:217:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>  CC       changelog-barrier.lo</div><div>  CC       changelog-rpc-common.lo</div><div><br></div><div><br></div><div><br></div><div>  CC       mount.lo</div><div>../../../../contrib/fuse-lib/mount.c: In function ‘gf_fuse_unmount_daemon’:</div><div>../../../../contrib/fuse-lib/mount.c:106:17: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result]</div><div>                 (void)chdir(&quot;/&quot;);</div><div>                 ^</div><div>../../../../contrib/fuse-lib/mount.c:110:17: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]</div><div>                 read (ump[0], &amp;c, 1);</div><div>                 ^</div><div>../../../../contrib/fuse-lib/mount.c: In function ‘gf_fuse_mount’:</div><div>../../../../contrib/fuse-lib/mount.c:507:25: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]</div><div>                         (void)write (status_fd, &amp;ret, sizeof (ret));</div><div>                         ^</div><div>  CC       mount-common.lo</div><div>../../../../contrib/fuse-lib/mount-common.c: In function ‘mtab_needs_update’:</div><div>../../../../contrib/fuse-lib/mount-common.c:59:25: warning: ignoring return value of ‘setreuid’, declared with attribute warn_unused_result [-Wunused-result]</div><div>                         setreuid (0, -1);</div><div>                         ^</div><div>../../../../contrib/fuse-lib/mount-common.c:64:25: warning: ignoring return value of ‘setreuid’, declared with attribute warn_unused_result [-Wunused-result]</div><div>                         setreuid (ruid, -1);</div><div>                         ^</div><div>  CCLD     <a href="http://fuse.la">fuse.la</a></div><div><br></div><div><br></div><div><br></div><div>glusterd-pmap.c: In function ‘pmap_registry_bind’:</div><div>glusterd-pmap.c:287:17: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result]</div><div>                 asprintf (&amp;pmap-&gt;ports[p].brickname, &quot;%s %s&quot;, tmp, brickname);</div><div>                 ^</div><div>glusterd-pmap.c: In function ‘pmap_registry_extend’:</div><div>glusterd-pmap.c:346:17: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result]</div><div>                 asprintf (&amp;new_bn, &quot;%s %s&quot;, old_bn, brickname);</div><div><br></div><div><br></div><div><br></div><div>  CC       mount-common.o</div><div>../../contrib/fuse-lib/mount-common.c: In function ‘mtab_needs_update’:</div><div>../../contrib/fuse-lib/mount-common.c:59:25: warning: ignoring return value of ‘setreuid’, declared with attribute warn_unused_result [-Wunused-result]</div><div>                         setreuid (0, -1);</div><div>                         ^</div><div>../../contrib/fuse-lib/mount-common.c:64:25: warning: ignoring return value of ‘setreuid’, declared with attribute warn_unused_result [-Wunused-result]</div><div>                         setreuid (ruid, -1);</div><div>                         ^</div><div>  CCLD     fusermount-glusterfs</div></div><div><br></div><div><br></div><div>Amudhan</div></div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Dec 27, 2018 at 4:38 PM Ravishankar N &lt;<a href="mailto:ravishankar@redhat.com">ravishankar@redhat.com</a>&gt; 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 bgcolor="#FFFFFF">
    <p><br>
    </p>
    <br>
    <div class="gmail-m_-6649624098271512137moz-cite-prefix">On 12/27/2018 04:26 PM, Amudhan P
      wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">
        <div dir="ltr">
          <div dir="ltr">
            <div dir="ltr">Hi,
              <div><br>
              </div>
              <div>I am trying to compile &amp; install Glusterfs-4.1.6
                using tar file and I am getting this error message when
                running `make`.</div>
              <div>```</div>
              <div>
                <div>CC       afr-self-heal-name.lo</div>
                <div>CC       afr.lo</div>
              </div>
              <div>In file included from afr.c:18:0:<br>
              </div>
              <div>
                <div>afr-common.c: In function ‘afr_lookup_entry_heal’:</div>
                <div>afr-common.c:2892:29: error: implicit declaration
                  of function ‘uuid_is_null’
                  [-Werror=implicit-function-declaration]</div>
                <div>                         if (uuid_is_null (gfid)) {</div>
                <div>                             ^</div>
                <div>cc1: some warnings being treated as errors</div>
                <div>Makefile:585: recipe for target &#39;afr.lo&#39; failed</div>
                <div>make[5]: *** [afr.lo] Error 1</div>
                <div>Makefile:467: recipe for target &#39;all-recursive&#39;
                  failed</div>
                <div>make[4]: *** [all-recursive] Error 1</div>
                <div>Makefile:467: recipe for target &#39;all-recursive&#39;
                  failed</div>
                <div>make[3]: *** [all-recursive] Error 1</div>
                <div>Makefile:473: recipe for target &#39;all-recursive&#39;
                  failed</div>
                <div>make[2]: *** [all-recursive] Error 1</div>
                <div>Makefile:606: recipe for target &#39;all-recursive&#39;
                  failed</div>
                <div>make[1]: *** [all-recursive] Error 1</div>
                <div>Makefile:497: recipe for target &#39;all&#39; failed</div>
                <div>make: *** [all] Error 2</div>
              </div>
              <div>```</div>
              <div>OS :  Ubuntu 16.04</div>
              <div>file used :  glusterfs-4.1.6.tar.gz</div>
              <div><br>
              </div>
              <div>How to fix this issue?</div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    Try this fix: <a class="gmail-m_-6649624098271512137moz-txt-link-freetext" href="https://review.gluster.org/#/c/glusterfs/+/21571/" target="_blank">https://review.gluster.org/#/c/glusterfs/+/21571/</a><br>
    -Ravi<br>
    <blockquote type="cite">
      <div dir="ltr">
        <div dir="ltr">
          <div dir="ltr">
            <div dir="ltr">
              <div><br>
              </div>
              <div>regards</div>
              <div>Amudhan</div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="gmail-m_-6649624098271512137mimeAttachmentHeader"></fieldset>
      <br>
      <pre>_______________________________________________
Gluster-users mailing list
<a class="gmail-m_-6649624098271512137moz-txt-link-abbreviated" href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a>
<a class="gmail-m_-6649624098271512137moz-txt-link-freetext" href="https://lists.gluster.org/mailman/listinfo/gluster-users" target="_blank">https://lists.gluster.org/mailman/listinfo/gluster-users</a></pre>
    </blockquote>
    <br>
  </div>

_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><br>
<a href="https://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">https://lists.gluster.org/mailman/listinfo/gluster-users</a></blockquote></div>