As Susant and Atin suggested, I cleaned everything and did installation from scratch and it is working now.
----- Original Message ----- From: "Nigel Babu" <[email protected]> To: "Ashish Pandey" <[email protected]> Cc: "Manikandan Selvaganesh" <[email protected]>, "Gluster Devel" <[email protected]> Sent: Thursday, August 25, 2016 11:38:46 AM Subject: Re: [Gluster-devel] Compilation failed on latest gluster Are you using something that's not Centos, NetBSD, or FreeBSD? I'm curious how we managed to slip a build failure despite our smoke tests. On Thu, Aug 25, 2016 at 11:19 AM, Ashish Pandey < [email protected] > wrote: Hi, I am trying to build latest code on my laptop and it is giving compilation error - CC cli-rl.o CC cli-cmd-global.o CC cli-cmd-volume.o cli-cmd-volume.c: In function ‘cli_cmd_quota_cbk’: cli-cmd-volume.c:1712:35: error: ‘EVENT_QUOTA_ENABLE’ undeclared (first use in this function) gf_event (EVENT_QUOTA_ENABLE, "volume=%s", volname); ^ cli-cmd-volume.c:1712:35: note: each undeclared identifier is reported only once for each function it appears in cli-cmd-volume.c:1715:35: error: ‘EVENT_QUOTA_DISABLE’ undeclared (first use in this function) gf_event (EVENT_QUOTA_DISABLE, "volume=%s", volname); ^ cli-cmd-volume.c:1718:35: error: ‘EVENT_QUOTA_SET_USAGE_LIMIT’ undeclared (first use in this function) gf_event (EVENT_QUOTA_SET_USAGE_LIMIT, "volume=%s;" ^ cli-cmd-volume.c:1723:35: error: ‘EVENT_QUOTA_SET_OBJECTS_LIMIT’ undeclared (first use in this function) gf_event (EVENT_QUOTA_SET_OBJECTS_LIMIT, "volume=%s;" ^ cli-cmd-volume.c:1728:35: error: ‘EVENT_QUOTA_REMOVE_USAGE_LIMIT’ undeclared (first use in this function) gf_event (EVENT_QUOTA_REMOVE_USAGE_LIMIT, "volume=%s;" ^ cli-cmd-volume.c:1732:35: error: ‘EVENT_QUOTA_REMOVE_OBJECTS_LIMIT’ undeclared (first use in this function) gf_event (EVENT_QUOTA_REMOVE_OBJECTS_LIMIT, ^ cli-cmd-volume.c:1736:35: error: ‘EVENT_QUOTA_ALERT_TIME’ undeclared (first use in this function) gf_event (EVENT_QUOTA_ALERT_TIME, "volume=%s;time=%s", ^ cli-cmd-volume.c:1740:35: error: ‘EVENT_QUOTA_SOFT_TIMEOUT’ undeclared (first use in this function) gf_event (EVENT_QUOTA_SOFT_TIMEOUT, "volume=%s;" ^ cli-cmd-volume.c:1744:35: error: ‘EVENT_QUOTA_HARD_TIMEOUT’ undeclared (first use in this function) gf_event (EVENT_QUOTA_HARD_TIMEOUT, "volume=%s;" ^ cli-cmd-volume.c:1748:35: error: ‘EVENT_QUOTA_DEFAULT_SOFT_LIMIT’ undeclared (first use in this function) gf_event (EVENT_QUOTA_DEFAULT_SOFT_LIMIT, "volume=%s;" ^ Makefile:539: recipe for target 'cli-cmd-volume.o' failed If I roll back 4 patches and then compile it is working. I am suspecting that http://review.gluster.org/15230 is doing something. Could you please look into this? Do I need to do something to make it work? Ashish _______________________________________________ Gluster-devel mailing list [email protected] http://www.gluster.org/mailman/listinfo/gluster-devel -- nigelb
_______________________________________________ Gluster-devel mailing list [email protected] http://www.gluster.org/mailman/listinfo/gluster-devel
