mkfs.jffs on arm
dwmw2 at infradead.org
Fri Feb 7 09:29:44 EST 2003
Please do not place your reply above the quoted text. Place it below,
and quote _only_ what is absolutely necessary when replying.
On Fri, 2003-02-07 at 14:18, Igor Trevisan wrote:
> I could build almost all the utilities related with JFFS
> a part from mkfs.jffs2 (mkfs.jffs is ok).
> This is how the compile flow ends...
> mkfs.jffs2.c:66:18: zlib.h: No such file or directory
You need zlib cross-compiled and installed such that your cross-compiler
can find zlib.h (and libz.so or libz.a).
> mkfs.jffs2.c: In function `write_dirent':
> mkfs.jffs2.c:770: warning: implicit declaration of function `cpu_to_je16'
> mkfs.jffs2.c:772: warning: implicit declaration of function `cpu_to_je32'
It seems to be including the wrong version of linux/jffs2.h. It should
be including the one from '../include/linux', due to the
'CFLAGS += -I../include' in util/Makefile.
More information about the linux-mtd