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"><<a href="mailto:liu.yong@hf.webex.com">liu.yong@hf.webex.com</a>></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"> 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"> if gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -fPIC</font><br>
<font color="#0000ff"> -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -DGF_SOLARIS_HOST_OS</font><br>
<font color="#0000ff"> -I../../../../libglusterfs/src -shared -nostartfiles -g -O2 -MT</font><br>
<font color="#0000ff"> afr_self_heal.o -MD -MP -MF ".deps/afr_self_heal.Tpo" -c -o</font><br>
<font color="#0000ff"> afr_self_heal.o afr_self_heal.c; \</font><br>
<font color="#0000ff"> then mv -f ".deps/afr_self_heal.Tpo" ".deps/afr_self_heal.Po";</font><br>
<font color="#0000ff"> else rm -f ".deps/afr_self_heal.Tpo"; exit 1; fi</font><br>
<font color="#0000ff"> In file included</font><br>
<font color="#0000ff"> from ../../../../libglusterfs/src/glusterfs.h:38,</font><br>
<font color="#0000ff"> from afr_self_heal.c:27:</font><br>
<font color="#0000ff"> /usr/include/dirent.h:104: error: syntax error before '*' token</font><br>
<font color="#0000ff"> *** Error code 1</font><br>
<font color="#0000ff"> make: Fatal error: Command failed for target `afr_self_heal.o'</font><br>
<font color="#0000ff"> Current working</font><br>
<font color="#0000ff"> directory /root/glusterfs/glusterfs-1.3.12/xlators/cluster/afr/src</font><br>
<font color="#0000ff"> *** Error code 1</font><br>
<br>
<b>ENV:</b><br>
OS: SunOS 5.11 snv_86 i86pc i386 i86pc<br>
Glusterfs: glusterfs-1.3.12<br>
gcc: gcc (GCC) 3.4.3 (csl-sol210-3_4-20050802)<br>
<br>
Thanks & 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>