Ethereal-dev: Re: [ethereal-dev] New release of tcpdump / lipbpcap for Win32

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

From: Guy Harris <gharris@xxxxxxxxxxxx>
Date: Sun, 2 Apr 2000 03:43:40 -0700
On Wed, Mar 29, 2000 at 02:20:04PM +0200, Fulvio Risso wrote:
> Hello everyone.
> We've just released a new version (2.02) of tcpdump for windows (WinDump),
> together with a more complete (and, hopefully, less bugged) version of
> libpcap for Windows.

I tried building ethereal with it, but it appears that at least one, if
not both, of libpcap and the packet library are linked with libcmt,
the multi-threaded version of the C support library, which means that:

	the standard Ethereal link causes complaints about "__tolower",
	or something such as that, being redefined;

	if I put in "/NODEFAULTLIB:libc", as I infer the linker is
	suggesting I should do, I instead get complaints about "_errno"
	not being defined.

Is it possible to build non-multi-threaded programs with winpcap?

If not, is it possible to build a non-multi-threaded program as if it
were multi-threaded (which Ethereal isn't) and have it still use
"errno"?  (Ethereal, not being multithreaded, doesn't care that "errno"
won't work right in a multithreaded environment if implemented just as a
global variable.)

If not, then it appears Ethereal can't use the current version of winpcap.