Wireshark-dev: [Wireshark-dev] 0.99.6 build problems on Windows

From: "Michael Lum" <michael.lum@xxxxxxxxxx>
Date: Thu, 4 Oct 2007 06:23:48 +0800
Hi,

I'm having a problem trying to build Wireshark 0.99.6 source on Windows.
I've searched on Google, etc. but can't find anything that helps.

Everything looks good until it comes to compiling 'filesystem.c':

  ...

filesystem.c
C:\PROGRA~1\MICROS~3\VC98\INCLUDE\exdisp.h(1423) : error C2032:
'<Unknown>' : function cannot be membe r of struct 'IWebBrowserAppVtbl'
C:\PROGRA~1\MICROS~3\VC98\INCLUDE\exdisp.h(1430) : error C2032:
'<Unknown>' : function cannot be membe r of struct 'IWebBrowserAppVtbl'
C:\PROGRA~1\MICROS~3\VC98\INCLUDE\exdisp.h(1435) : error C2032:
'<Unknown>' : function cannot be membe r of struct 'IWebBrowserAppVtbl'
C:\PROGRA~1\MICROS~3\VC98\INCLUDE\exdisp.h(1442) : error C2032:
'<Unknown>' : function cannot be membe r of struct 'IWebBrowserAppVtbl'
C:\PROGRA~1\MICROS~3\VC98\INCLUDE\exdisp.h(1461) : error C2071:
'<Unknown>' : illegal storage class

  ...

C:\PROGRA~1\MICROS~3\VC98\INCLUDE\exdisp.h(3067) : error C2020: 'lpVtbl'
: 'struct' member redefinitio n
C:\PROGRA~1\MICROS~3\VC98\INCLUDE\exdisp.h(3067) : fatal error C1003:
error count exceeds 100; stoppin g compilation follow.c

I used the following steps:

1.  get source from SVN
2.  make -f Makefile.nmake distclean
3.  make -f Makefile.nmake setup
4.  make -f Makefile.nmake all

I've built many versions of the Ethereal and Wireshark before and I can
build 0.99.4 (using a different library directory).

I have set:

WIRESHARK_LIBS=C:\wireshark-win32-libs-new

I'm using MS Visual C++ 6.0 on Windows XP with cygwin.

Thanks in advance.

--
Michael Lum                   Principal Software Engineer
4600 Jacombs Road             +1.604.276.0055
Richmond, B.C.
Canada V6V 3B1
UTStarcom Canada, Inc.
CDMA Division