On Sun, Apr 06, 2003 at 11:56:51PM -0500, [EMAIL PROTECTED] wrote:
> I feel that I'm very close, but the latest issue is unistd.h not
> found.

Try removing

        epan/dfilter/scanner.c

        wiretap/ascend-scanner.c

        text2pcap-scanner.c

and trying again.

All the source files in the Ethereal CVS tree that include <unistd.h> do
so only if HAVE_UNISTD_H is defined, and none of the "config.h.win32"
files define it - those files are copied to "config.h" by the build
process, so the "config.h" files shouldn't define it.

However, the output of Flex, on UNIX, includes it without a <unistd.h>,
so you need to use a version of Flex for Windows; the Cygwin version I
have installed at home (I'm not at home, so I don't know what version it
is) includes a version of Flex that, I suspect, doesn't generate code
that includes <unistd.h>.  If you get rid of those ".c" files, the build
procedure will re-run Flex on the corresponding ".l" files.


Reply via email to