Ethereal-dev: Re: [Ethereal-dev] Re: compiling on win 32

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

From: Guy Harris <guy@xxxxxxxxxx>
Date: Wed, 11 Jul 2001 11:43:12 -0700 (PDT)
> nope, I never did find out what the problem was.  I did a recursive 
> unix2dos for the entire ethereal directory, and still had the same errors.

If the "config.h" file in the top level Ethereal source directory does
not define HAVE_WINSOCK_H, there is an error.  Do

	nmake -f Makefile.nmake clean

from the top-level directory, remove "config.h", and try rebuilding.

Note: if you have done a configure and build of Ethereal on any UNIX
platform, and are going to do a configure and build on *ANY* other
platform, you *MUST* do, on the platform on which you did the configure
and build, a "make distclean" before doing a build on the other
platform, otherwise you will almost certainly have many problems - such
as the ones mentioned - with the build or with the resulting program.
 
(Yes, the "make distclean" means that you will have to do a configure
before doing a build on another UNIX platform; that is a feature, not a
bug.)