Ethereal-dev: Re: [Ethereal-dev] dirent.h

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

From: Motonori Shindo <mshindo@xxxxxxxxxxx>
Date: Wed, 14 Aug 2002 10:48:45 +0900 (JST)
Guy and Jeffrey,

As a matter of fact, I had run into the same problem Jeffrey had. I
suppose Jeffrey tried to use glib-2.0.4 (right?) which is the only
glib for Win32 available at

  http://www.gimp.org/~tml/gimp/win32/downloads.html

as of today. Alas, this version of glib no longer has a type "DIR"
defined, so epan/plugins.c failed to compile.

So I suggested 

 1) to use something that defines DIR type, (dirent.zip looks
    promising though I haven't checked it yet), or

 2) to go back to glib that has DIR defined.

Regards,

From: Guy Harris <guy@xxxxxxxxxx>
Subject: Re: [Ethereal-dev] dirent.h
Date: Tue, 13 Aug 2002 11:04:03 -0700

> On Wed, Aug 14, 2002 at 02:32:37AM +0900, Motonori Shindo wrote:
> > You may want to try (however, I haven't tried it myself yet:-))
> > 
> >   http://www.gimp.org/~tml/gimp/win32/dirent.zip
> > 
> > or try to find a bit old glib 1.3 for Win32. It's no longer on the web
> > page above but someone on the Internet must have it.
> 
> No, that's not necessary.  <dirent.h> is included only if HAVE_DIRENT_H
> is defined, and the config.h.win32 file in the epan directory does *not*
> define it, and the config.h file, when building on Windows with MSVC++,
> should have been copied from the config.h.win32 file.
> 
> However, if there's already a config.h file left around from UNIX,
> Makefile.nmake won't do that copy; that's why, as per my other mail, you
> need to run the "cleanbld.bat" batch file, to get rid of various
> config.h files, so that they're regenerated from the config.h.win32
> files.
> 

=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=
 +----+----+     
 |.. .|    |     Motonori Shindo
 |_~__|    |     
 | .. |~~_~|     Sr. Systems Engineer
 | .  |    |     CoSine Communications Inc.
 +----+----+     
 C o S i n e     e-mail:  mshindo@xxxxxxxxxxxxx 
Communications
=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=