Wireshark-dev: Re: [Wireshark-dev] 0.99.6 build problems on Windows
From: Graham Bloice <[email protected]>
Date: Mon, 08 Oct 2007 16:46:11 +0100
Michael Lum wrote:
> I updated my cygwin installation but that didn't help.
>
> I followed the link for the MS Platform SDK but it states VC 6.0 is not
> supported:
>
> Development Tools. To build the C/C++ samples, you must have a C/C++
> compiler. If you are using Microsoft Visual C/C++(r), run it at least
> once before installing the SDK. This will ensure that the environment
> variables are correctly configured. To build the Visual Basic samples,
> you must have Microsoft Visual Basic(r). This SDK does not support
> working with Microsoft Visual C/C++(r), 6.0 as support for VC 6.0 has
> ended. The last SDK that will work with VC 6.0 is the February 2003
> Edition, you can order a CD on the fulfillment site. Side by side
> installations are not supported.
>
> So unfortunately I'm still stuck.
> I have tried, clean, distclean, setup, all, again but to no avail.
>
>   
OK, so we really need some more clues about the compilation errors.  You
can try getting the output from the preprocessor to see if that gives
any more clues.  Be aware the output is massive, consisting mostly of
blank lines, but might help you out.

1.  cd into the epan dir and compile filesystem.c on its own with "nmake
makefile.nmake filesystem.obj"
2.  Copy the compiler invocation emitted by nmake and paste it back into
your command prompt, but tack a "-P" on the end
3.  This should produce a filesystem.i for your perusal.  Good luck.

-- 
Regards,

Graham Bloice