[Gluster-devel] Error building GlusterFS 3git on Mac OS X

Markus Hubig mhubig at imko.de
Wed Nov 23 14:20:48 UTC 2011


So ... next error I found within master:

glibtool: compile:  /usr/bin/llvm-gcc -DHAVE_CONFIG_H -I. -I../../../..
-I../../../../libglusterfs/src -I../../../../contrib/uuid
-I/usr/local/Cellar/gettext/0.18.1.1/include -fPIC -D_FILE_OFFSET_BITS=64
-D_GNU_SOURCE -Wall -DGF_DARWIN_HOST_OS -I../../../../libglusterfs/src
-nostartfiles -I../../../../argp-standalone -D__DARWIN_64_BIT_INO_T -bundle
-undefined suppress -flat_namespace -D_XOPEN_SOURCE -O0 -I
-L/usr/local/Cellar/glusterfs/HEAD/lib/glusterfs/3git/xlator/mgmt/
-I../../../../contrib/rbtree -I../../../../rpc/xdr/src
-I../../../../rpc/rpc-lib/src -I../../../../contrib/uuid
-I../../../../contrib/md5
-DSBIN_DIR=\"/usr/local/Cellar/glusterfs/HEAD/sbin\"
-DDATADIR=\"/usr/local/Cellar/glusterfs/HEAD/var\"
-DGSYNCD_PREFIX=\"/usr/local/Cellar/glusterfs/HEAD/libexec/glusterfs\"
-DSYNCDAEMON_COMPILE=0 -I/usr/include/libxml2 -O3 -march=core2 -msse4.1 -w
-pipe -c glusterd-handler.c  -fno-common -DPIC -o .libs/glusterd-handler.o
glusterd.c: In function 'check_prepare_mountbroker_root':
glusterd.c:644: error: 'AT_SYMLINK_NOFOLLOW' undeclared (first use in this
function)
glusterd.c:644: error: (Each undeclared identifier is reported only once
glusterd.c:644: error: for each function it appears in.)
make[4]: *** [glusterd.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [install-recursive] Error 1
make[2]: *** [install-recursive] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1

But Mac OS X's fcntl.h seems not to declare AT_SYMLINK_NOFOLLOW. This seems
to be a linux only feature ...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-devel/attachments/20111123/12af223a/attachment-0003.html>


More information about the Gluster-devel mailing list