[Gluster-devel] Compile error on OSX about XATTR_USER_PREFIX

Harshavardhana harsha at harshavardhana.net
Thu Aug 14 16:58:43 UTC 2014


On Thu, Aug 14, 2014 at 7:04 AM, Justin Clift <justin at gluster.org> wrote:
> 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
>
>

Yes this - http://review.gluster.org/8436, snapview - wasn't using syscall.h

-- 
Religious confuse piety with mere ritual, the virtuous confuse
regulation with outcomes


More information about the Gluster-devel mailing list