<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
<br>
<div class="moz-cite-prefix">On 08/19/2016 04:57 PM, Shekhar Berry
wrote:<br>
</div>
<blockquote cite="mid:57B6ED1A.2090706@redhat.com" type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
Hi,<br>
<br>
<br>
<div class="moz-cite-prefix">On 08/19/2016 04:51 PM, Saravanakumar
Arumugam wrote:<br>
</div>
<blockquote cite="mid:57B6EBAF.3050403@redhat.com" type="cite">Hi,
<br>
<br>
On 08/19/2016 04:27 PM, Shekhar Berry wrote: <br>
<blockquote type="cite">Hi, <br>
<br>
I downloaded the glusterfs-3.8.1 and was trying to install it.
<br>
<br>
I did autogen.sh, configure and then during make command I am
seeing this error. Can anyone point to what I am missing? <br>
<br>
Making all in src <br>
CC glusterd_la-glusterd.lo <br>
In file included from glusterd-rcu.h:21:0, <br>
from glusterd-sm.h:27, <br>
from glusterd.h:29, <br>
from glusterd.c:19: <br>
../../../../contrib/userspace-rcu/rculist-extra.h:33:6: error:
redefinition of 'cds_list_add_tail_rcu' <br>
void cds_list_add_tail_rcu(struct cds_list_head *newp, <br>
^ <br>
In file included from glusterd-rcu.h:15:0, <br>
from glusterd-sm.h:27, <br>
from glusterd.h:29, <br>
from glusterd.c:19: <br>
/usr/local/include/urcu/rculist.h:44:6: note: previous
definition of 'cds_list_add_tail_rcu' was here <br>
void cds_list_add_tail_rcu(struct cds_list_head *newp, <br>
^ <br>
make[5]: *** [glusterd_la-glusterd.lo] Error 1 <br>
make[4]: *** [all-recursive] Error 1 <br>
make[3]: *** [all-recursive] Error 1 <br>
make[2]: *** [all-recursive] Error 1 <br>
make[1]: *** [all-recursive] Error 1 <br>
make: *** [all] Error 2 <br>
</blockquote>
<br>
Can you check and share which "userspace-rcu" version is
installed in your machine? <br>
</blockquote>
rpm -qa | grep userspace-rcu<br>
userspace-rcu-0.7.16-1.el7.x86_64<br>
<blockquote cite="mid:57B6EBAF.3050403@redhat.com" type="cite"> <br>
Also, How you installed userspace-rcu ? <br>
</blockquote>
I cloned latest version from Userspace RCU. <br>
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
<pre style="margin: 0px 0px 30px; padding: 20px; border: 0px; font-style: normal; font-variant: normal; font-weight: normal; font-stretch: inherit; font-size: 14px; line-height: inherit; font-family: Monaco, 'Bitstream Vera Sans Mono', 'Lucida Console', Terminal; vertical-align: baseline; color: rgb(242, 242, 242); text-shadow: none; overflow: auto; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; background: rgb(48, 48, 48);"><code style="margin: 0px 0px 30px; padding: 0px; border: none; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 14px; line-height: inherit; font-family: Monaco, 'Bitstream Vera Sans Mono', 'Lucida Console', Terminal; vertical-align: baseline; color: rgb(242, 242, 242); background-color: rgb(48, 48, 48);">git clone git://git.liburcu.org/userspace-rcu.git
</code></pre>
</blockquote>
<br>
I think this is the problem.<br>
<br>
Can you install userspace-rcu using yum/dnf/whatever.. ( and
uninstall present one)?<br>
<br>
<blockquote cite="mid:57B6ED1A.2090706@redhat.com" type="cite"> and
then following commands:<br>
<br>
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
<pre style="margin: 0px 0px 30px; padding: 20px; border: 0px; font-style: normal; font-variant: normal; font-weight: normal; font-stretch: inherit; font-size: 14px; line-height: inherit; font-family: Monaco, 'Bitstream Vera Sans Mono', 'Lucida Console', Terminal; vertical-align: baseline; color: rgb(242, 242, 242); text-shadow: none; overflow: auto; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; background: rgb(48, 48, 48);"><code style="margin: 0px 0px 30px; padding: 0px; border: none; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 14px; line-height: inherit; font-family: Monaco, 'Bitstream Vera Sans Mono', 'Lucida Console', Terminal; vertical-align: baseline; color: rgb(242, 242, 242); background-color: rgb(48, 48, 48);">/bootstrap
./configure
make
make install
ldconfig</code></pre>
<br>
</blockquote>
I think #make uninstall should work here.<br>
<br>
<blockquote cite="mid:57B6ED1A.2090706@redhat.com" type="cite"> <br>
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
<blockquote cite="mid:57B6EBAF.3050403@redhat.com" type="cite">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. <br>
<br>
Thanks, <br>
Saravana <br>
<br>
</blockquote>
<br>
Thanks<br>
Shekhar<br>
</blockquote>
<br>
</body>
</html>