Ethereal-dev: Re: [ethereal-dev] Win32 build problem

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

From: Gilbert Ramirez <gram@xxxxxxxxxx>
Date: Thu, 8 Jun 2000 09:15:23 -0500
On Thu, Jun 08, 2000 at 04:48:47AM -0500, Graham Bloice wrote:
> 
> 
> With the latest makefile.nmake I get heaps of link errors due to the
> /NODEFAULTLIB:libcmt entries at the end of the linker command line.  Can
> anyone tell me why the're there?

The new WinPcap library is multi-threaded. Follow this e-mail thread:

http://ethereal.zing.org/lists/ethereal-dev/200004/msg00007.html

Guy added /MD for the C compiler flags, but then had problems
with multiple symbol definitions in the C libraries:

http://ethereal.zing.org/lists/ethereal-dev/200004/msg00046.html

That's why he put in the /NODEFAULTLIB:libcmt flag for the linker.
When I compile the win32 binaries, though, I don't use the Makefiles,
but a different build system, so I haven't checked their veracity lately.

> Also I have a patch for makefile.nmake to improve the dependencies but it
> doesn't appear to be in CVS so I can't diff against the latest.  Am I
> missing something?

The file Makefile.nmake (note the case) is indeed in CVS.

--gilbert