Cross compiling mtd utils
While cross compiling mtd utils form my board... I am getting such error :((
mkfs.jffs2.c:71:21: error: sys/acl.h: No such file or directory mkfs.jffs2.c: In function 'formalize_posix_acl': mkfs.jffs2.c:1024: error: 'ACL_USER_OBJ' undeclared (first use in this function) mkfs.jffs2.c:1024: error: (Each undeclared identifier is reported only once mkfs.jffs2.c:1024: error: for each function it appears in.) mkfs.jffs2.c:1025: error: 'ACL_GROUP_OBJ' undeclared (first use in this function) mkfs.jffs2.c:1026: error: 'ACL_MASK' undeclared (first use in this function) mkfs.jffs2.c:1027: error: 'ACL_OTHER' undeclared (first use in this function) mkfs.jffs2.c:1033: error: 'ACL_USER' undeclared (first use in this function) mkfs.jffs2.c:1034: error: 'ACL_GROUP' undeclared (first use in this function) mkfs.jffs2.c: In function 'recursive_populate_directory': mkfs.jffs2.c:1238: warning: format '%9lu' expects type 'long unsigned int', but argument 3 has type '__off64_t' mkfs.jffs2.c:1247: warning: format '%9lu' expects type 'long unsigned int', but argument 3 has type '__off64_t' mkfs.jffs2.c:1256: warning: format '%9lu' expects type 'long unsigned int', but argument 3 has type '__off64_t' mkfs.jffs2.c:1286: warning: format '%9lu' expects type 'long unsigned int', but argument 3 has type '__off64_t' mkfs.jffs2.c:1297: warning: format '%9lu' expects type 'long unsigned int', but argument 3 has type '__off64_t' make: *** [/home/einfochips/Desktop/mtd-utils/mtd-utils//bin/gcc/bin/arm-none-linux-gnueabi/mkfs.jffs2.o] Error 1 |
Looks like you will have to cross compile acl before building 'mtd_utils':
Quote:
you may get away with just installing acl=libacl=libacl1 on your OS. I.e. the development version libacl-devel / libacl1-dev. Else : All dependencies must be cross compiled beforehand. ( zlib , liblzo , libacl.) Debian has packages for "all" architectures : http://packages.debian.org/lenny/libacl1-dev mtd-utils : http://packages.debian.org/lenny/mtd-utils .. |
Huhhh tried hard... but no success
|
All times are GMT -5. The time now is 08:27 AM. |