Ethereal-dev: Re: [Ethereal-dev] zlib on win32... anyone successful?

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Gerald Combs <gerald@xxxxxxxxxxxx>
Date: Tue, 15 Oct 2002 14:07:33 -0500 (CDT)
On Tue, 15 Oct 2002, Jason House wrote:

> My most recent patch at least allowed ethereal to compile while
> attempting to include zlib, but it still doesn't run.
> Has anyone ever gotten win32 to compile + run with zlib?
> If not, shouldn't we not define HAVE_LIBZ by default in config.h.win32?
> That would simplify the life of win32 developers/tinkerers :)
> 
> The issue I see now is that read seems to return 0 bytes *always* when
> ethereal is compiled with zlib.  I have not investigated this enough to
> truly figure out why.  The files are opened successfully, but that's it

Which zlib distribution are you linking with?  It sounds like the you're
using the one from WinImage.  A while back Gilbert (I think) compiled his
own version of zlib, which has shipped with the past few versions of
Ethereal.  It's available at

    http://www.ethereal.com/distribution/win32/development/zlib-114-dev.zip