On Tue, Aug 13, 2002 at 01:04:57PM -0400, Waltz, Jeffrey wrote:
> I am trying to build Ethereal on Windows and I'm stuck with plugins.c not
> building due to references to definitions in dirent.h, which I do not have.
It builds fine for many of us on Windows, so you're doing something
wrong.
Note that if you have built Ethereal for some platform in a particular
directory, and you try building for another platform in the same
directory, that might not work. The problem is that a lot of config.h
files, and the like, are left around from running configure on UNIX, or
doing a build with Makefile.nmake on Windows, and those config.h files
have values appropriate to the platform on which you last configured and
built, which may be inappropriate for the platform on which you're
building now.
To quote the "README.win32" file:
The first time you build Ethereal, run the script "cleanbld.bat"
in the top-level Ethereal source directory to make sure that the
"config.h" files will be reconstructed from the "config.h.win32"
files. (If, for example, you have "config.h" files left over
from a Unix build, a Windows build will fail.)
And if you're doing a UNIX build in a directory in which you've done a
build for another platform, you must do "make distclean" and then re-run
the configure script before doing the new build, for the same reason.