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: Ulf Lamping <ulf.lamping@xxxxxx>
Date: Mon, 18 Apr 2005 18:58:50 +0200
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*)
>
>
unistd.h is not available on windows.

You might call cleanbld.bat, this should cleanup the problem and then
start compiling again.

Regards, ULFL