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: "Michael Lum" <mlum@xxxxxxxxxxxxx>
Date: Sun, 9 Nov 2003 16:14:26 -0800
OK, I created a new directory and copied all of the libraries that my
executable was built against into it.

It now runs properly (but required empty default.tt be created).

Now rebuilding with Zlib support.

Thanks again Guy!

> -----Original Message-----
> From: Guy Harris [mailto:guy@xxxxxxxxxxxx]
> Sent: Friday, November 07, 2003 3:14 PM
> To: mlum@xxxxxxxxxxxxx
> Cc: Ethereal
> Subject: Re: [Ethereal-dev] Bad File Descriptor trying to open ANY file
> 
> 
> 
> 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".