I'm now seeing an old problem -
C:\Documents and Settings\psinha\wireshark\epan\dissectors>nmake -f Makefile.nma
ke
Microsoft (R) Program Maintenance Utility Version 6.00.9782.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
cl -DWIN32 -DNULL=0 -D_MT -D_DLL -DHAVE_CONFIG_H /I. /I.. /I../.. /IC:\c
ygwin\lib\glib\include\glib-2.0 /IC:\cygwin\lib\glib\lib\glib-2.0\include /IC:
\cygwin\lib\net-snmp-5.4\include /IC:\cygwin\lib\net-
snmp-5.4\win32 /IC:\
cygwin\lib\WPdpack\include -D_U_="" /Zi /W3 /MD -Fd.\ -c packet-snmp.c
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8804 for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
packet-snmp.c
packet-snmp-template.c(106) : fatal error C1083: Cannot open include file: 'winp <<<<<<<------
osixtype.h': No such file or directory
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
I found that the build process is quite complex ( or rather raw at this stage ).
Some problems I've seen are ---
Cygwin for its own policy would try to install glib related files under /usr/var ( or somethng like this). The conf.nmake will have hard time to get to that. So I krufted glib from sourceforge to c:\cygwin\lib\glib ...
Then I found that winpcap is optional, but for some reason, I think it has a dependencies, so I got that again from sourceforge.
Now again I got net-snmp ( being optional but who knows what dependecies are there, if I just cmt out the includes for it in conf.nmake, error comes up from other places ).
But I don't see the above header file in in the installation, not sure if it is a generated file or not.
It would be nice, if someone taking care of the doc gives some tries on a new machine, following the steps and taking down notes. It's too many places that needs change to get the build right.
thanks
-p