Hi Liu Yong,<br>Can you try with 1.4 rc releases? The documentation are in the process of being upgraded to suite the 1.4 version related changes at the moment.<br><br>Regards,<br>Amar<br><br><div class="gmail_quote">2008/12/16 Liu Yong <span dir="ltr">&lt;<a href="mailto:liu.yong@hf.webex.com">liu.yong@hf.webex.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">


  
  

<div>
<font color="#1a1a1a">Hi All</font><br>
<font color="#1a1a1a">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;I want to compile the glusterfs on opensolaris. I do it following this</font><br>
<font color="#1a1a1a">link:</font><br>
<font color="#1a1a1a"><a href="http://www.gluster.org/docs/index.php/GlusterFS_on_Solaris" target="_blank">http://www.gluster.org/docs/index.php/GlusterFS_on_Solaris</a></font><br>
<br>
<font color="#1a1a1a">but I got this error:</font><br>
<br>
<font color="#0000ff">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if gcc -DHAVE_CONFIG_H -I. -I. -I../../../..&nbsp;&nbsp;&nbsp;&nbsp; -fPIC</font><br>
<font color="#0000ff">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -DGF_SOLARIS_HOST_OS</font><br>
<font color="#0000ff">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -I../../../../libglusterfs/src -shared -nostartfiles&nbsp; -g -O2 -MT</font><br>
<font color="#0000ff">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; afr_self_heal.o -MD -MP -MF &quot;.deps/afr_self_heal.Tpo&quot; -c -o</font><br>
<font color="#0000ff">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; afr_self_heal.o afr_self_heal.c; \</font><br>
<font color="#0000ff">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; then mv -f &quot;.deps/afr_self_heal.Tpo&quot; &quot;.deps/afr_self_heal.Po&quot;;</font><br>
<font color="#0000ff">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; else rm -f &quot;.deps/afr_self_heal.Tpo&quot;; exit 1; fi</font><br>
<font color="#0000ff">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; In file included</font><br>
<font color="#0000ff">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from ../../../../libglusterfs/src/glusterfs.h:38,</font><br>
<font color="#0000ff">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from afr_self_heal.c:27:</font><br>
<font color="#0000ff">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /usr/include/dirent.h:104: error: syntax error before &#39;*&#39; token</font><br>
<font color="#0000ff">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; *** Error code 1</font><br>
<font color="#0000ff">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; make: Fatal error: Command failed for target `afr_self_heal.o&#39;</font><br>
<font color="#0000ff">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Current working</font><br>
<font color="#0000ff">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; directory /root/glusterfs/glusterfs-1.3.12/xlators/cluster/afr/src</font><br>
<font color="#0000ff">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; *** Error code 1</font><br>
<br>
<b>ENV:</b><br>
OS:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SunOS 5.11 snv_86 i86pc i386 i86pc<br>
Glusterfs:&nbsp;&nbsp;&nbsp; glusterfs-1.3.12<br>
gcc:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; gcc (GCC) 3.4.3 (csl-sol210-3_4-20050802)<br>
<br>
Thanks &amp; Regards<br>
liuyong
</div>

<br>_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users" target="_blank">http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Amar Tumballi<br>Gluster/GlusterFS Hacker<br>[bulde on #gluster/<a href="http://irc.gnu.org">irc.gnu.org</a>]<br><a href="http://www.zresearch.com">http://www.zresearch.com</a> - Commoditizing Super Storage!<br>