zlib version 1.1.3

Ferenc Havasi havasi at inf.u-szeged.hu
Mon Sep 19 03:17:35 EDT 2005


Hi Rob,

Rob Zwiebel wrote:

>I am using SUSE 9.1 which includes zlib version 1.1.3.
>
>When I compile the latest version of the mkfs.jffs2. 
>There are errors caused by the lack of the zalloc variable found in the 
>z_stream structure.
>
>compr_zlib.c: In function `jffs2_zlib_compress':
>compr_zlib.c:65: error: structure has no member named `zalloc'
>compr_zlib.c:66: error: structure has no member named `zfree'
>compr_zlib.c:68: warning: implicit declaration of function `deflateInit'
>compr_zlib.c:80: warning: implicit declaration of function `deflate'
>compr_zlib.c:82: warning: implicit declaration of function `deflateEnd'
>compr_zlib.c: In function `jffs2_zlib_decompress':
>compr_zlib.c:110: error: structure has no member named `zalloc'
>compr_zlib.c:111: error: structure has no member named `zfree'
>compr_zlib.c:113: warning: implicit declaration of function `inflateInit'
>compr_zlib.c:124: warning: implicit declaration of function `inflate'
>compr_zlib.c:127: warning: implicit declaration of function `inflateEnd'
>  
>
Did you installed the development package of zlib, too?

At me there is two zlib related packages installed: 
zlib1g and zlib1g-dev. 

The version of them is 1.2.2 and on an other machine it is 1.1.4 - so I think it should work with 1.1.3, too.

Bye,
Ferenc






More information about the linux-mtd mailing list