Ethereal-dev: Re: [Ethereal-dev] Problems in compiling 0.10.5 on Windows

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

From: Ulf Lamping <[email protected]>
Date: Thu, 08 Jul 2004 22:54:24 +0200
Michael Tuexen wrote:

Dear all,

I have a problem in compiling ethereal-0.10.5 on Windows.
The files wiretap/ascend-scanner.c and epan/dfilter/scanner.c
are included in the tarball and include some #include <unistd.h>
statements. The compilation fails on windows.
It might be a good idea to supply the error messages to make your 
problems understandable, as always :-(
However, the
files can be generated from the corresponding *.l files and
I don't think that .l files will be generated by a typical MSVC environment.

then do include the #include<unistd.h> commands, but inside
#ifndef _WIN32

Downloading the tarball, deleting the two .c files above, and
compiling works.

So why are the two .c files included in the tarball?
It may compile in your specific environment...

Regards, ULFL