[Gluster-users] build problem with MacOS (gcc-4.2.1)

winona winnicz winona at winnicz.pl
Thu Nov 11 10:15:12 UTC 2010


Hello,

as described @: http://www.gluster.com/community/documentation/index.php/GlusterFS_on_MAC_OS_X 

I tried to compile glusterfs on MacOS
64.bit Snow Leopard
with Xcode: 3.2.4

==================================
MacFUSE: 2.0.3
gcc: i686-apple-darwin10-gcc-4.2.1
==================================

...unfortunately I have no option to build (as described) with gcc 4.0.1

but just for your records...

below are my results with 3 versions
hope it helps

cheers
.v.



~/make/glusterfs-3.0.2
====================== 
[...]
posix.c: In function ‘janitor_walker’:
posix.c:1348: error: ‘FTW_CONTINUE’ undeclared (first use in this function)
posix.c:1348: error: (Each undeclared identifier is reported only once
posix.c:1348: error: for each function it appears in.)
posix.c: In function ‘posix_fsync’:
posix.c:2863: warning: implicit declaration of function ‘fdatasync’
make[5]: *** [posix.lo] Error 1
make[4]: *** [all-recursive] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


~/make/glusterfs-3.0.6
====================== 
[...]
server-resolve.c: In function ‘server_resolve_fd’:
server-resolve.c:535: error: ‘EBADFD’ undeclared (first use in this function)
server-resolve.c:535: error: (Each undeclared identifier is reported only once
server-resolve.c:535: error: for each function it appears in.)
make[5]: *** [server-resolve.lo] Error 1
make[4]: *** [all-recursive] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


~/make/glusterfs-3.1.0 
======================
[...]
xlator.c: In function ‘_volume_option_value_validate’:
xlator.c:379: error: ‘FNM_EXTMATCH’ undeclared (first use in this function)
xlator.c:379: error: (Each undeclared identifier is reported only once
xlator.c:379: error: for each function it appears in.)
make[3]: *** [libglusterfs_la-xlator.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

.


More information about the Gluster-users mailing list