On Tue, 2004-05-18 at 16:48, Brooks Davis wrote:
> > any ideas of how to fix it?  
> 
> If we're just using a hacked up copy of zlib with new symbols, we should
> probably import a renamed copy of zlib.h that includes a definition of
> Z_RLE do we stop picking up the system one.

i've been doing my work on a debian box that has zlib 1.2.1 installed. 
that's the problem... Z_RLE is in zlib.h on zlib 1.2.1 but not 1.1.4 (my
redhat laptop).  

deleting the line with Z_RLE won't cause us any problem because it
simply allows a compression strategy that we don't even use.  i'd hate
to require a specific version.

i just commented out the Z_RLE strategy and the struct internal_state in
gzio.c and everything is happy on zlib 1.1.4.  the definition of the
internal_state is there for buggy compilers.

-mat


-- 
Mobius strippers never show you their back side
PGP fingerprint 'A7C2 3C2F 8445 AD3C 135E  F40B 242A 5984 ACBC 91D3'

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to