Ethereal-dev: Re: [Ethereal-dev] Cannot compile wiretap (cvs) on Win32

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

From: Guy Harris <gharris@xxxxxxxxx>
Date: Sat, 22 Jun 2002 04:01:24 -0700
On Thu, Jun 20, 2002 at 12:58:54PM -0400, Mike Frisch wrote:
> Is anybody else having a problem compiling wiretap on Win32?  Something
> has changed in the past 2 or 3 weeks that causes a winsock header file
> conflict.  Previous to this change, I was able to compile wiretap
> without incident.
> 
> Environment: Windows 2000, VC6 (SP5), November 2001 Platform SDK

It compiled fine for me recently (with some fixes that I just checked
in).  NT 4.0, VC6 (out of the box; dunno whether there were any service
packs bundled), and the last version of the Platform SDK that I could
install without

	1) the installer whining that I wasn't running the right Shiny
	   New Version Of NT (5.0 or later)

or

	2) the installer not letting me leave enough stuff out of the
	   install so that it'd fit on my NT partition).

However, I don't have a standard version of WinPcap installed, so it may
be that some WinPcap header file in the version you have installed is
dragging in <winsock2.h>, and that's conflicting with <winsock.h> as
included by other header files in Wiretap.