"Burton, Ross" <[email protected]> writes: > | In file included from port_wrappers.c:8:0, > | from pseudo_wrappers.c:307: > | ports/linux/xattr/pseudo_wrappers.c: In function ‘shared_getxattr’: > | ports/linux/xattr/pseudo_wrappers.c:134:11: error: ‘ENOATTR’ undeclared > (first use in this function) > | errno = ENOATTR; > > Breaks when building with old xattr.
Yes; defining ENOATTR in <attr/xattr.h> was a mistake, violated POSIX and causes such problems now... I am tending to rewrite the patch with something like -#include <attr/xattr.h> +#include <sys/xattr.h> +#include <errno.h> +#ifndef ENOATTR +# define ENOATTR ENODATA +#endif and I am disussing this with Seebs atm... Enrico -- SIGMA Chemnitz GmbH Registergericht: Amtsgericht Chemnitz HRB 1750 Am Erlenwald 13 Geschaeftsfuehrer: Grit Freitag, Frank Pyritz 09128 Chemnitz -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
