Hi All I want to compile the glusterfs on opensolaris. I do it following this link: http://www.gluster.org/docs/index.php/GlusterFS_on_Solaris but I got this error: if gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -DGF_SOLARIS_HOST_OS -I../../../../libglusterfs/src -shared -nostartfiles -g -O2 -MT afr_self_heal.o -MD -MP -MF ".deps/afr_self_heal.Tpo" -c -o afr_self_heal.o afr_self_heal.c; \ then mv -f ".deps/afr_self_heal.Tpo" ".deps/afr_self_heal.Po"; else rm -f ".deps/afr_self_heal.Tpo"; exit 1; fi In file included from ../../../../libglusterfs/src/glusterfs.h:38, from afr_self_heal.c:27: /usr/include/dirent.h:104: error: syntax error before '*' token *** Error code 1 make: Fatal error: Command failed for target `afr_self_heal.o' Current working directory /root/glusterfs/glusterfs-1.3.12/xlators/cluster/afr/src *** Error code 1 ENV: OS: SunOS 5.11 snv_86 i86pc i386 i86pc Glusterfs: glusterfs-1.3.12 gcc: gcc (GCC) 3.4.3 (csl-sol210-3_4-20050802) Thanks & Regards liuyong -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20081217/488ec6bb/attachment.html>
Amar (ಅಮರ್ ತುಂಬಳ್ಳಿ)
2008-Dec-17 03:31 UTC
[Gluster-users] compile the glusterfs on opensolaris error
Hi Liu Yong, 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. Regards, Amar 2008/12/16 Liu Yong <liu.yong at hf.webex.com>> Hi All > I want to compile the glusterfs on opensolaris. I do it following > this > link: > http://www.gluster.org/docs/index.php/GlusterFS_on_Solaris > > but I got this error: > > if gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -fPIC > -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -DGF_SOLARIS_HOST_OS > -I../../../../libglusterfs/src -shared -nostartfiles -g -O2 -MT > afr_self_heal.o -MD -MP -MF ".deps/afr_self_heal.Tpo" -c -o > afr_self_heal.o afr_self_heal.c; \ > then mv -f ".deps/afr_self_heal.Tpo" ".deps/afr_self_heal.Po"; > else rm -f ".deps/afr_self_heal.Tpo"; exit 1; fi > In file included > from ../../../../libglusterfs/src/glusterfs.h:38, > from afr_self_heal.c:27: > /usr/include/dirent.h:104: error: syntax error before '*' token > *** Error code 1 > make: Fatal error: Command failed for target `afr_self_heal.o' > Current working > directory /root/glusterfs/glusterfs-1.3.12/xlators/cluster/afr/src > *** Error code 1 > > *ENV:* > OS: SunOS 5.11 snv_86 i86pc i386 i86pc > Glusterfs: glusterfs-1.3.12 > gcc: gcc (GCC) 3.4.3 (csl-sol210-3_4-20050802) > > Thanks & Regards > liuyong > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users > >-- Amar Tumballi Gluster/GlusterFS Hacker [bulde on #gluster/irc.gnu.org] http://www.zresearch.com - Commoditizing Super Storage! -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20081216/1c061e63/attachment.html>