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: "Graham Bloice" <graham.bloice@xxxxxxxxxxxxx>
Date: Fri, 9 Jun 2000 10:12:29 +0100
And Gilbert said that he doesn't use the makefiles to build the Win32
version !!!

> On Thu, Jun 08, 2000 at 10:41:40AM +0100, 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?
>
> Well, they appear to have been introduced in revision 1.34 of
> "Makefile.nmake":
>
> % cvs diff -r1.33 -r1.34 Makefile.nmake
> guy@xxxxxxxxxxxx's password:
> Index: Makefile.nmake
> ===================================================================
> RCS file: /usr/local/cvsroot/ethereal/Makefile.nmake,v
> retrieving revision 1.33
> retrieving revision 1.34
> diff -r1.33 -r1.34
> 4c4
> < # $Id: Makefile.nmake,v 1.33 2000/04/29 07:34:35 guy Exp $
> ---
> > # $Id: Makefile.nmake,v 1.34 2000/05/10 15:32:09 gram Exp $
> 61c61
> <       packet-giop.h  \
> ---
> > ##    packet-giop.h  \
> 64c64
> <       packet-h1.h    \
> ---
> > ##    packet-h1.h    \
> 410c410
> <               /OUT:ethereal.exe $(LDFLAGS) /SUBSYSTEM:windows
> $(ethereal_LIBS) $(ethereal_OBJECTS) $(EXTRA_OBJECTS) image\ethereal.res
> ---
> >               /OUT:ethereal.exe $(LDFLAGS) /SUBSYSTEM:windows
> $(ethereal_LIBS) $(ethereal_OBJECTS) $(EXTRA_OBJECTS)
> image\ethereal.res /NODEFAULTLIB:libcmt
> 415c415
> <               /OUT:tethereal.exe $(LDFLAGS) /SUBSYSTEM:console
> $(tethereal_LIBS) $(tethereal_OBJECTS) $(EXTRA_OBJECTS)
> image\tethereal.res
> ---
> >               /OUT:tethereal.exe $(LDFLAGS) /SUBSYSTEM:console
> $(tethereal_LIBS) $(tethereal_OBJECTS) $(EXTRA_OBJECTS)
> image\tethereal.res  /NODEFAULTLIB:libcmt
>
> The delta commentary for that release is:
>
> 	revision 1.34
> 	date: 2000/05/10 15:32:09;  author: gram;  state: Exp;  lines: +5 -5
> 	Fixes for building 0.8.8.
>
> Gilbert?