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
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 Gluster-devel@xxxxxxxxxxx http://www.gluster.org/mailman/listinfo/gluster-devel