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

From: "Singer, Chad" <CSinger@xxxxxxxxxxxxxx>
Date: Wed, 3 Oct 2007 21:46:48 -0400
On windows the command is nmake. Are you using cygwin?

Chad Singer
Support Engineer
Cypress Communications

-----Original Message-----
From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Michael Lum
Sent: Wednesday, October 03, 2007 6:24 PM
To: Developer support list for Wireshark
Subject: [Wireshark-dev] 0.99.6 build problems on Windows

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
_______________________________________________
Wireshark-dev mailing list
Wireshark-dev@xxxxxxxxxxxxx
http://www.wireshark.org/mailman/listinfo/wireshark-dev