mtd-utils-1.1.0: build error

Peter Wippich pewi at gw-instruments.de
Thu Dec 13 06:03:53 EST 2007



Hi,

On Thu, 13 Dec 2007, KokHow.Teh at infineon.com wrote:

> Hi;
> 	I have downloaded mtd-utils-1.1.0 and unfortunately bump into
> build error as follows:
> 
> mips-linux-cc -I./include -g -O3 -G0 -pipe -fpic -fPIC -msoft-float
> -mabi=32 -march=mips32r2 -mtune=34kc -g -c -o mkfs.jffs2.o mkfs.jffs2.c
> -g -Wp,-MD,./.mkfs.jffs2.c.dep
> mkfs.jffs2.c:69:21: 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
.....
> 
> 	Any advice is appreciated. Thanks.

This one should go into the FAQ...., it's a commmon pitfall. I'm not sure 
if this is already fixed in 1.1.0, but at least in a recent GIT version 
you can add WITHOUT_XATTR=1 to the make command to compile without 
Posix ACL (which, IMHO, should be the default because I never came across 
any embedded system which uses Posix ACLs). 

Ciao, 

Peter 


|       Peter Wippich                   Voice: +49 30 46776411          |
|       G&W Instruments GmbH            fax:   +49 30 46776419          |
|       Gustav-Meyer-Allee 25, Geb. 12  Email: pewi at gw-instruments.de   |
|       D-13355 Berlin  / Germany                                       |




More information about the linux-mtd mailing list