compile the glusterfs on opensolaris error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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://zresearch.com/pipermail/gluster-users/attachments/20081217/488ec6bb/attachment.htm 


[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux