public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* mkfs.jffs2 not compiling, which acl.h?
@ 2006-12-06 13:56 Glen Johnson
  2006-12-06 14:02 ` Ricard Wanderlof
  2006-12-07 15:26 ` David Woodhouse
  0 siblings, 2 replies; 8+ messages in thread
From: Glen Johnson @ 2006-12-06 13:56 UTC (permalink / raw)
  To: linux-mtd

Linux-mtd,
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
function)
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
function)

I ran find uClinux-dist/ -name acl.h and got this list of files.
./linux-2.6.x/include/config/fs/posix/acl.h
./linux-2.6.x/fs/ext3/acl.h
./linux-2.6.x/fs/ext2/acl.h
./user/asterisk/include/asterisk/acl.h
./user/bind/lib/dns/include/dns/acl.h

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
errors dissappear.

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?
Thank you,
Glen Johnson

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-12-10 11:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-06 13:56 mkfs.jffs2 not compiling, which acl.h? Glen Johnson
2006-12-06 14:02 ` Ricard Wanderlof
2006-12-06 14:42   ` Glen Johnson
2006-12-06 16:12     ` Ricard Wanderlof
2006-12-07 15:26 ` David Woodhouse
2006-12-07 15:56   ` Glen Johnson
2006-12-09 16:40   ` KaiGai Kohei
2006-12-10 11:53     ` David Woodhouse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox