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?
Also, How you installed userspace-rcu ?
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
_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-devel