[Gluster-devel] Help needed during installation of Gluster 3.8.1

Shekhar Berry shberry at redhat.com
Fri Aug 19 11:27:22 UTC 2016


Hi,


On 08/19/2016 04:51 PM, Saravanakumar Arumugam wrote:
> Hi,
>
> On 08/19/2016 04:27 PM, Shekhar Berry wrote:
>> Hi,
>>
>> I downloaded the glusterfs-3.8.1 and was trying to install it.
>>
>> I did autogen.sh, configure and then during make command I am seeing 
>> this error. Can anyone point to what I am missing?
>>
>> Making all in src
>>   CC       glusterd_la-glusterd.lo
>> In file included from glusterd-rcu.h:21:0,
>>                  from glusterd-sm.h:27,
>>                  from glusterd.h:29,
>>                  from glusterd.c:19:
>> ../../../../contrib/userspace-rcu/rculist-extra.h:33:6: error: 
>> redefinition of 'cds_list_add_tail_rcu'
>>  void cds_list_add_tail_rcu(struct cds_list_head *newp,
>>       ^
>> In file included from glusterd-rcu.h:15:0,
>>                  from glusterd-sm.h:27,
>>                  from glusterd.h:29,
>>                  from glusterd.c:19:
>> /usr/local/include/urcu/rculist.h:44:6: note: previous definition of 
>> 'cds_list_add_tail_rcu' was here
>>  void cds_list_add_tail_rcu(struct cds_list_head *newp,
>>       ^
>> make[5]: *** [glusterd_la-glusterd.lo] Error 1
>> make[4]: *** [all-recursive] Error 1
>> make[3]: *** [all-recursive] Error 1
>> make[2]: *** [all-recursive] Error 1
>> make[1]: *** [all-recursive] Error 1
>> make: *** [all] Error 2
>
> Can you check and share which "userspace-rcu" version is installed in 
> your machine?
rpm -qa | grep userspace-rcu
userspace-rcu-0.7.16-1.el7.x86_64
>
> Also, How you installed userspace-rcu ?
I cloned latest version from Userspace RCU.

|git clone git://git.liburcu.org/userspace-rcu.git
|

and then following commands:

|/bootstrap
./configure
make
make install
ldconfig|



> Generally, rculist.h should be present in /usr/include/rcu/rculist.h, 
> but in your case it is in /usr/local/include/urcu/rculist.h. Hence 
> this question.
>
> Thanks,
> Saravana
>

Thanks
Shekhar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gluster.org/pipermail/gluster-devel/attachments/20160819/045fead6/attachment-0001.html>


More information about the Gluster-devel mailing list