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

Date: Thu, 4 Oct 2007 15:44:44 -0500
I've built Wireshark 99.6 using MSVC 6.  When I updated the Wireshark source tree from 99.2, I needed to update some of the CYGWIN utilities.  I also have Python 2.3 & 2.4 installed.
 
Make sure you've followed the steps for a new source tree. (ie. verify the tool set, dist clean, make)
 
I build in a DOS window with the following environment:
 
O:\wireshark-0.99.6>set
ALLUSERSPROFILE=C:\Documents and Settings\All Users
BSIDIR=C:
CommonProgramFiles=C:\Program Files\Common Files
ComSpec=C:\WINDOWS\system32\cmd.exe
CW32_Comment= TMW03_049
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
INCLUDE=C:\PROGRA~1\MICROS~3\VC98\ATL\INCLUDE;C:\PROGRA~1\MICROS~3\VC98\INCLUDE;C:\PROGRA~1\MICROS~3\VC98\MFC\INCLUDE;
LDMS_LOCAL_DIR=C:\Program Files\LANDesk\LDClient\Data
LIB=C:\PROGRA~1\MICROS~3\VC98\LIB;C:\PROGRA~1\MICROS~3\VC98\MFC\LIB;
MSDevDir=C:\PROGRA~1\MICROS~3\Common\msdev98
MSVCDir=C:\PROGRA~1\MICROS~3\VC98
NUMBER_OF_PROCESSORS=2
OS=Windows_NT
PATH=C:\PROGRA~1\MICROS~3\Common\msdev98\BIN;C:\PROGRA~1\MICROS~3\VC98\BIN;C:\PROGRA~1\MICROS~3\Common\TOOLS\WINNT;C:\PROGRA~1\MICROS~3\Common\TOOLS;C:\windows\system32;C:\windows;"C:\tcook\My Documents\Win2k_toolbars\Tim's\Development Environments\Bld - Ethereal_WireShark\Scripts\"
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.tcl
ProgramFiles=C:\Program Files
PROMPT=$P$G
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\DOCUME~1\tcook\LOCALS~1\Temp
windir=C:\WINDOWS
WireSharkDbgDir=o:\wireshark-0.99.6\
WireSharkDbgDrv=o:
WireSharkRelDrv=o:
O:\wireshark-0.99.6>
 
 
 
 
 


From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Michael Lum
Sent: Thursday, October 04, 2007 3:47 PM
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] 0.99.6 build problems on Windows

That article was pretty good but does not solve the problem.
 
I'm using Visual Studio 6.0 (MSVC6) and therefore don't require the Platform SDK to be installed.
 
The vcvars32.bat has been executed.
 

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

 


From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Pascal Heude
Sent: October 4, 2007 12:33 PM
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] 0.99.6 build problems on Windows

There is a great article at that address (http://www.codeproject.com/useritems/custom_dissector.asp) which I used to build Wireshark under Windows XP, using cygwin as shell and Microsoft Visual C as compiler/linker.
I'm sure you will find all you need to succeed.

Regards.

Pascal Heude

> Date: Fri, 5 Oct 2007 01:36:58 +0800
> From: michael.lum@xxxxxxxxxx
> To: wireshark-dev@xxxxxxxxxxxxx
> Subject: Re: [Wireshark-dev] 0.99.6 build problems on Windows
>
> Okay, here is the INCLUDE value:
>
> INCLUDE=C:\PROGRA~1\MICROS~3\VC98\ATL\INCLUDE;C:\PROGRA~1\MICROS~3\VC98\
> INCLUDE;C:\PROGRA~1\MICROS~3\V
> C98\MFC\INCLUDE;C:\PROGRA~1\MICROS~3\VC98\ATL\INCLUDE;C:\PROGRA~1\MICROS
> ~3\VC98\INCLUDE;C:\PROGRA~1\MI
> CROS~3\VC98\MFC\INCLUDE;C:\PROGRA~1\MICROS~3\VC98\ATL\INCLUDE;C:\PROGRA~
> 1\MICROS~3\VC98\INCLUDE;C:\PRO
> GRA~1\MICROS~3\VC98\MFC\INCLUDE;
>
> Has the way you setup your environment changed since 0.99.4?
> Everything builds with 0.99.4.
>
> Thanks
>
> --
> 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:42 AM
> > To: Developer support list for Wireshark
> > Subject: Re: [Wireshark-dev] 0.99.6 build problems on Windows
> >
> > Michael Lum wrote:
> > > My path is as follows:
> > >
> > >
> > Ah. What I meant ask is what is the value of the INCLUDE var
> > in your build environment.
> >
> > Although from your path, it does look like you don't have the
> > SDK installed\setup.
> >
> > --
> > Regards,
> >
> > Graham Bloice
> > Software Developer
> > Trihedral UK Limited
> > Tel: +44 (0)1224 258910
> >
> > _______________________________________________
> > Wireshark-dev mailing list
> > Wireshark-dev@xxxxxxxxxxxxx
> > http://www.wireshark.org/mailman/listinfo/wireshark-dev
> >
> _______________________________________________
> Wireshark-dev mailing list
> Wireshark-dev@xxxxxxxxxxxxx
> http://www.wireshark.org/mailman/listinfo/wireshark-dev


Besoin d'un e-mail ? Créez gratuitement un compte Windows Live Hotmail, la boîte e-mail entièrement personnalisable ! Windows Live Hotmail