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