[Gluster-users] compile the glusterfs on opensolaris error

Liu Yong liu.yong at hf.webex.com
Wed Dec 17 02:53:22 UTC 2008

Hi All
        I want to compile the glusterfs on opensolaris. I do it
following this

but I got this error:

        if gcc -DHAVE_CONFIG_H -I. -I. -I../../../..     -fPIC
        -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

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20081217/488ec6bb/attachment.html>

More information about the Gluster-users mailing list