When I attempt to build wireshark on Microsoft Windows 2000 I get the following error:
-----------------------------------------------------
k12text.c(938) : fatal error C1083: Cannot open include file: 'unistd.h': No suc
h file or directory
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Platform SDK for Windows
Server 2003 R2\Bin\nmake.exe"' : return code '0x2'
Stop.
-----------------------------------------------------
I have tried to do a distclean, yet I receive this error:
-----------------------------------------------------
NMAKE : fatal error U1052: file 'Makefile.nmake' not found
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Platform SDK for Windows
Server 2003 R2\Bin\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Platform SDK for Windows
Server 2003 R2\Bin\nmake.exe"' : return code '0x2'
Stop.
-----------------------------------------------------
(after the distclean, the build has the same problem as stated above (no change))
The Makefile.nmake is in the directory:
C:\wireshark
All of the other files (that I manually downloaded from http://anonsvn.wireshark.org/wireshark-win32-libs/trunk/packages/) and then succesfully ran nmake Makefile.nmake setup (to unpack them) are located in the directory:
C:\wireshark-win32-libs
P.S.-I had to download the files manually, because even when setting the http_proxy correctly, I couldn't access the anonsvn server