From: Glen Johnson <gjohnson@valcom.com>
To: linux-mtd <linux-mtd@lists.infradead.org>
Subject: mkfs.jffs2 not compiling, which acl.h?
Date: Wed, 06 Dec 2006 08:56:23 -0500 [thread overview]
Message-ID: <4576CC07.2000107@valcom.com> (raw)
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
next reply other threads:[~2006-12-06 13:56 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-06 13:56 Glen Johnson [this message]
2006-12-06 14:02 ` mkfs.jffs2 not compiling, which acl.h? 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4576CC07.2000107@valcom.com \
--to=gjohnson@valcom.com \
--cc=linux-mtd@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox