mkfs.jffs2 not compiling, which acl.h?
gjohnson at valcom.com
Wed Dec 6 08:56:23 EST 2006
First off I am using uClinux-dist 2006-08-03 source code with the
m68k-uclinux-tools-20060615 cross compiler. What I am trying to do is
compile the latest version of the mtd-utils. I used git to retrieve the
latest version of the mtd-utils and put those files into
uClinux-dist/user/mtd-utils directory. When I run make the compile
stops complaining that it can't find <sys/acl.h> and then gives errors
like listed below.
mkfs.jffs2.c:1093: error: 'ACL_MASK' undeclared (first use in this function)
mkfs.jffs2.c:1094: error: 'ACL_OTHER' undeclared (first use in this
mkfs.jffs2.c:1100: error: 'ACL_USER' undeclared (first use in this function)
mkfs.jffs2.c:1101: error: 'ACL_GROUP' undeclared (first use in this
I ran find uClinux-dist/ -name acl.h and got this list of files.
After checking each of these files I found that ACL_* were not defined
in any of them. I then ran grep -r ACL_MASK ./ and found ACL_MASK was
defined in the header file <linux/posix_acl.h> . I tried #include
<linux/posix_acl.h> in place of <sys/acl.h> and got warnings about not
other info. If I #include <asm-m68knommu/atomic.h> all the warnings and
Do I really have to include both <asm-m68knommu/atomic.h> and
<linux/posix_acl.h> in place of <sys/acl.h>? By the way I never found
sys/acl.h anywhere in uClinux-dist. What is the proper way to handle this?
More information about the linux-mtd