Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

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

From: "Michael Lum" <michael.lum@xxxxxxxxxx>
Date: Fri, 5 Oct 2007 00:30:04 +0800
My path is as follows:

Path=C:\PROGRA~1\MICROS~3\Common\msdev98\BIN;C:\PROGRA~1\MICROS~3\VC98\B
IN;C:\PROGRA~1\MICROS~3\Common
\TOOLS\WINNT;C:\PROGRA~1\MICROS~3\Common\TOOLS;C:\PROGRA~1\MICROS~3\Comm
on\msdev98\BIN;C:\PROGRA~1\MIC
ROS~3\VC98\BIN;C:\PROGRA~1\MICROS~3\Common\TOOLS\WINNT;C:\PROGRA~1\MICRO
S~3\Common\TOOLS;C:\oracle\ora
81\bin;C:\Program
Files\Oracle\jre\1.1.7\bin;C:\Perl\bin\;C:\WINDOWS\system32;C:\WINDOWS;C
:\WINDOWS\Sy
stem32\Wbem;C:\Program Files\ATI Technologies\ATI Control
Panel;C:\PROGRA~1\COMMON~1\SONICS~1\;C:\Prog
ram Files\Microsoft Office\OFFICE11\Business Contact
Manager\IM;C:\Program Files\Microsoft SQL Server\
80\Tools\Binn\;C:\Program Files\Microsoft Office\OFFICE11\Business
Contact Manager\;C:\Program Files\R
ational\common;C:\Program Files\doxygen\bin;C:\Program
Files\Vim\vim70;c:\python23;C:\PROGRA~1\DOCUME~
1\Shared;C:\Program Files\Rational\ClearCase\bin;C:\Program
Files\Subversion\bin

I have both python23 and python24 installed.

config.nmake is set to python24.


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

> -----Original Message-----
> From: wireshark-dev-bounces@xxxxxxxxxxxxx 
> [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of 
> Graham Bloice
> Sent: October 4, 2007 9:08 AM
> To: Developer support list for Wireshark
> Subject: Re: [Wireshark-dev] 0.99.6 build problems on Windows
> 
> Michael Lum wrote:
> > 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.
> >
> >   
> I would suspect a path issue possibly related to the Platform 
> SDK headers.  The headers in the error message are the 
> standard VC 6 ones.
> 
> What is the value of path in your build environment?
> 
> --
> Regards,
> 
> Graham Bloice
> 
> _______________________________________________
> Wireshark-dev mailing list
> Wireshark-dev@xxxxxxxxxxxxx
> http://www.wireshark.org/mailman/listinfo/wireshark-dev
>