Ethereal-dev: Re: [Ethereal-dev] problem during ethereal 0.10.10 build process

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

From: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Date: Mon, 18 Apr 2005 21:34:31 +0200 (CEST)
On Mon, 18 Apr 2005, pcalvi wrote:

> Hi,
>
> I'm in charge of the development of a  protocol dissector for ethereal
> 0.10.10, so I have to build Ethereal myself (on windows 2000 with Visual
> c++ 6).
> After having verify that all requested tools are installed on my computer
> (thanks the command  nmake -f Makefile.nmake verify_tools), and having
> downloaded all needed libraries, I tried to build Ethereal for the first
> time. But during this operation, the following fatal error has occured :
>
>
> ascend-scanner.c(30) : fatal error C1083: Cannot open include file: '
> unistd.h' : No such file or directory
> Generating Code...
> NMAKE : fatal error U1077: ' cl' : return code ' 0x2'
> Stop.
> NMAKE : fatal error U1077: ' "C:\Program Files\Microsoft Visual
> Studio\VC98\bin\NMAKE.EXE" ' : return code ' 0x2'
> Stop.
>
>
> Could someone tell me where to find and where to put the file (unistd.h),
> or what is wrong in my build process.
> (I use the source version tagged as 2005-01-17)
>
>
> Thanks a lot,
>
> Pierre
>

Yeah, I've bumped into that one as well, working with the 0.10.10 release
sources. The thing is that this conditional compilation is missing in this
file:

#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif

Just put this one in, compile and have fun :-)

Jaap