Ethereal-users: Re: [Ethereal-users] Build Ethereal from Source for Windows...

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, 27 Jul 2002 11:15:45 -0700
On Sat, Jul 27, 2002 at 11:21:19AM -0400, Gautham Thavva wrote:
> scanner.c(31) : fatal error C1083: Cannot open include file:
> 'unistd.h': No such file or directory

If "scanner.c" is generated from "scanner.l" on UNIX with at least some
versions of Flex, it cannot be compiled on Windows.

If you don't have a Windows version of Flex installed, install one -
there's one that comes with Cygwin, for example.

Then remove "scanner.c" and recompile, so that the Windows version of
Flex regenerates "scanner.c".