* [Buildroot] mkfs.jffs2.c:69:21: error: sys/acl.h: No such file or directory
@ 2007-10-20 17:11 bjornfor at stud.ntnu.no
2007-10-20 18:30 ` Ivan Kuten
0 siblings, 1 reply; 2+ messages in thread
From: bjornfor at stud.ntnu.no @ 2007-10-20 17:11 UTC (permalink / raw)
To: buildroot
Hi,
When trying to build a jffs2 image I get this error (using mostly
default Buildroot options, only set up build for arm and of course
jffs2 image):
gcc -I./include -O2 -Wall -g -c -o
/home/bjornfor/buildroot/toolchain_build_arm/mtd_orig/mkfs.jffs2.o
mkfs.jffs2.c -g
-Wp,-MD,/home/bjornfor/buildroot/toolchain_build_arm/mtd_orig/.mkfs.jffs2.c.dep
mkfs.jffs2.c:69:21: error: sys/acl.h: No such file or directory
mkfs.jffs2.c: In function ?formalize_posix_acl?:
mkfs.jffs2.c:1084: error: ?ACL_USER_OBJ? undeclared (first use in this
function)
mkfs.jffs2.c:1084: error: (Each undeclared identifier is reported only once
mkfs.jffs2.c:1084: error: for each function it appears in.)
mkfs.jffs2.c:1085: error: ?ACL_GROUP_OBJ? undeclared (first use in
this function)
mkfs.jffs2.c:1086: error: ?ACL_MASK? undeclared (first use in this function)
mkfs.jffs2.c:1087: error: ?ACL_OTHER? undeclared (first use in this function)
mkfs.jffs2.c:1093: error: ?ACL_USER? undeclared (first use in this function)
mkfs.jffs2.c:1094: error: ?ACL_GROUP? undeclared (first use in this function)
make[1]: ***
[/home/bjornfor/buildroot/toolchain_build_arm/mtd_orig/mkfs.jffs2.o]
Error 1
make[1]: Leaving directory
`/home/bjornfor/buildroot/toolchain_build_arm/mtd_orig'
make: ***
[/home/bjornfor/buildroot/toolchain_build_arm/mtd_orig/mkfs.jffs2]
Error 2
I found the acl.h file in question and changed some lines in
toolchain_build_arm/mtd_orig/mkfs.jffs2.c:
#ifndef WITHOUT_XATTR
#include <sys/xattr.h>
//#include <sys/acl.h>
#include "/home/bjornfor/buildroot/build_arm/mtd_orig/include/sys/acl.h"
#endif
But now I get other complaints:
compr_lzo.c:29:23: error: lzo/lzo1x.h: No such file or directory
compr_lzo.c: In function ?jffs2_lzo_cmpr?:
compr_lzo.c:54: warning: implicit declaration of function ?lzo1x_999_compress?
compr_lzo.c:56: error: ?LZO_E_OK? undeclared (first use in this function)
Has anyone else had this problem? How do you fix it?
Regards,
Bj?rn Forsman, Student, Norway
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Buildroot] mkfs.jffs2.c:69:21: error: sys/acl.h: No such file or directory
2007-10-20 17:11 [Buildroot] mkfs.jffs2.c:69:21: error: sys/acl.h: No such file or directory bjornfor at stud.ntnu.no
@ 2007-10-20 18:30 ` Ivan Kuten
0 siblings, 0 replies; 2+ messages in thread
From: Ivan Kuten @ 2007-10-20 18:30 UTC (permalink / raw)
To: buildroot
> Has anyone else had this problem? How do you fix it?
>
> Regards,
> Bj?rn Forsman, Student, Norway
>
Best way is to install
libacl-devel
lzo-devel
packages on to your host system.
Best regards,
Ivan
--------------------------------
Embedded Linux engineer,
Promwad Company: http://www.promwad.com/
Homepage : http://www.ivankuten.com/
--------------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-10-20 18:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-20 17:11 [Buildroot] mkfs.jffs2.c:69:21: error: sys/acl.h: No such file or directory bjornfor at stud.ntnu.no
2007-10-20 18:30 ` Ivan Kuten
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox