zlib version 1.1.3

Rob Zwiebel rob.zwiebel at leitch.com
Mon Jan 10 15:30:46 EST 2005


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'

What is the best way to proceed?

Rob




More information about the linux-mtd mailing list