mkfs.jffs on arm

David Woodhouse dwmw2 at infradead.org
Tue Feb 11 11:45:27 EST 2003


On Mon, 2003-02-10 at 16:53, Igor Trevisan wrote:

> compr_zlib.c: In function `jffs2_zlib_compress':
> compr_zlib.c:63: structure has no member named `zalloc'
> compr_zlib.c:64: structure has no member named `zfree'
> compr_zlib.c:66: warning: implicit declaration of function `deflateInit'
> compr_zlib.c:78: warning: implicit declaration of function `deflate'
> compr_zlib.c:80: warning: implicit declaration of function `deflateEnd'
> compr_zlib.c: In function `jffs2_zlib_decompress':
> compr_zlib.c:108: structure has no member named `zalloc'
> compr_zlib.c:109: structure has no member named `zfree'
> compr_zlib.c:111: warning: implicit declaration of function `inflateInit'
> compr_zlib.c:122: warning: implicit declaration of function `inflate'
> compr_zlib.c:125: warning: implicit declaration of function `inflateEnd'
> make: *** [compr_zlib.o] Error 1
> [igortr at linuxbw1 util]$

What version of zlib.h is it including? It looks like it might be
including the kernel's version instead of the one for the userspace
zlib.

-- 
dwmw2




More information about the linux-mtd mailing list