Ethereal-dev: RE: [Ethereal-dev] A few Win32 compile issues

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

From: "Martijn Schipper" <martijn.schipper@xxxxxxxxxxxx>
Date: Mon, 13 Sep 2004 13:27:44 +0200
I have also added -DWIN32 to my LOCAL_CFLAGS, but that is because I have
changed my make/config files to use dynamic linking of MVCRT library.

Do you still need this -DWIN32 definition if you first call
vcvars32.bat?

Martijn.

> -----Original Message-----
> From: ethereal-dev-bounces@xxxxxxxxxxxx [mailto:ethereal-dev-
> bounces@xxxxxxxxxxxx] On Behalf Of David Richards
> Sent: zondag 12 september 2004 20:07
> To: Ethereal development
> Subject: Re: [Ethereal-dev] A few Win32 compile issues
> 
> >
> > Just of interest, which version of the winpcap developer pack are
you
> > using? And could you add the compiler output when it's going wrong?
> >
> I am using the latest 3.0 developer pack.  The Readme.txt file has the
> same
> info as the one at the WinPcap site.  Here are the first two lines:
> 
> * WinPcap Developer's pack    *
> * Release 3.0 - August 2002   *
> 
> Here's the error I get during wiretap compilation if I do not add
> '/DWIN32'
> to LOCAL_CFLAGS (excerpted from output generated by "nmake -f
> makefile.nmake" in root ethereal directory):
> 
> ...
>  cd wiretap
>  nmake /                   -f Makefile.nmake
> ...
> libpcap.c
> D:\DevProjects\Ethereal\libs\wpdpack\Include\PCAP.H(44) : fatal error
> C1083:
> Cannot open include file: 'sys/time.h': No such file or directory
> netmon.c
> ...
> 
> 
> _______________________________________________
> Ethereal-dev mailing list
> Ethereal-dev@xxxxxxxxxxxx
> http://www.ethereal.com/mailman/listinfo/ethereal-dev



******************Legal Disclaimer**************************
"This email may contain confidential and privileged material for the sole use of the intended recipient.  Any unauthorized review, use or distribution by others is strictly prohibited.  If you have received the message in error, please advise the sender by reply email and delete the message. Thank you."
****************************************************************