[Gluster-devel] Compilation failed on latest gluster

Atin Mukherjee amukherj at redhat.com
Thu Aug 25 06:26:32 UTC 2016


Hmm, do a make uninstall, ./autogen.sh, ./configure, make && make install


On Thu, Aug 25, 2016 at 11:38 AM, Nigel Babu <nigelb at redhat.com> wrote:

> 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 <aspandey at redhat.com>
> 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
>> Gluster-devel at gluster.org
>> http://www.gluster.org/mailman/listinfo/gluster-devel
>>
>
>
>
> --
> nigelb
>
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at gluster.org
> http://www.gluster.org/mailman/listinfo/gluster-devel
>



-- 

--Atin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gluster.org/pipermail/gluster-devel/attachments/20160825/8cf5c420/attachment.html>


More information about the Gluster-devel mailing list