[Gluster-devel] Compile error on OSX about XATTR_USER_PREFIX

Justin Clift justin at gluster.org
Thu Aug 14 14:04:11 UTC 2014


Hi Harsha,

Just hit this compile error on OSX 10.8 using the latest nightly
tarball for 3.6.0 branch.  Doesn't happen with master branch though.

Guessing there's a patch needing backporting?

********************************************************************

Making all in gfid-access
Making all in src
  CC     gfid-access.lo
  CCLD   gfid-access.la
Making all in qemu-block
Making all in src
Making all in snapview-client
Making all in src
  CC     snapview-client.lo
  CCLD   snapview-client.la
Making all in snapview-server
Making all in src
  CC     snapview-server.lo
snapview-server.c:1664:32: error: use of undeclared identifier 'XATTR_USER_PREFIX'
                gf_add_prefix (XATTR_USER_PREFIX, keybuffer, &newkey);
                               ^
1 error generated.
make[5]: *** [snapview-server.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

********************************************************************

Btw, using this OSX Homebrew formula (in development) for building,
if other people want to try it out:

  https://github.com/justinclift/homebrew/blob/glusterfs360alpha/Library/Formula/glusterfs.rb

+ Justin

-- 
GlusterFS - http://www.gluster.org

An open source, distributed file system scaling to several
petabytes, and handling thousands of clients.

My personal twitter: twitter.com/realjustinclift


More information about the Gluster-devel mailing list