Ethereal-dev: Re: [Ethereal-dev] Bad File Descriptor trying to open ANY file

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

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Fri, 7 Nov 2003 15:14:05 -0800

On Nov 7, 2003, at 3:02 PM, Michael Lum wrote:

OK, thanks Guy, I'll give it a go.

PS  How do I get rid of Zlib?
(I haven't programmed for Windows in decades.)

There's no Windows programming expertise needed - it's a bit more of a pain with VC++ builds than builds with UNIX tools (where you just pass "--without-zlib" to the configure script), but it *should* be sufficient to remove the #defines of HAVE_LIBZ from "config.h.win32" and "wiretap\config.h.win32", and remove the "$(ZLIB_DIR)\zlib.lib", and the backslash at the end of the preceding line, from "wiretap\Makefile.nmake"

If not, you might also have to

	1) remove the ZLIB_DIR definition from "config.nmake";

	2) remove the "/I$(ZLIB_DIR)" from various ".nmake" files.

I'll look at making that more automatic, along the lines of how we do it for GNU ADNS; that'd let you do it solel by editing "config.nmake".