Hi All,
I am developing wireshark plugin for some messages on UDP port.I am getting some problems while setting up win32 env for building wireshark source code using Cigwin. Following are the steps that I followed
I have followed the link http://wireshark.dsmirror.nl/docs/wsdg_html_chunked/ChSetupWin32.html for setting up the win32
environment.
I have installed the following
1.Microsoft vc++
6.0
2.Cygwin
3.Installed python2.4
1.Then started the cigwin prompt
and edited the config.nmake as mentioned in the above link.Then executed the
following .bat file
dbjf87@DBJ787-01
/cygdrive/c/Program Files/Microsoft Visual Studio/vc98/bin
$
./VCVARS32.BAT
Setting environment for using Microsoft Visual C++
tools.
$
2. Then executed nmake -f Makefile.nmake
verify_tools
$ nmake -f Makefile.nmake
verify_tools
Microsoft (R) Program Maintenance Utility Version
6.00.9782.0
Copyright (C) Microsoft Corp 1988-1998. All rights
reserved.
Checking for required applications:
cl:
/cygdrive/c/Program Files/Microsoft Visual Studio/VC98/bin/cl
link:
/usr/bin/link
nmake: /cygdrive/c/Program Files/Microsoft Visual
Studio/VC98/bin/
bash: /usr/bin/bash
bison:
/usr/bin/bison
flex: /usr/bin/flex
env:
/usr/bin/env
grep: /usr/bin/grep
/usr/bin/find:
/usr/bin/find
perl: /usr/bin/perl
C:/python24/python.exe:
/cygdrive/c/python24/python.exe
sed: /usr/bin/sed
unzip:
/usr/bin/unzip
wget: /usr/bin/wget
3.Execute nmake
–f Makefile.nmake distclean. Went successfully
4.when I am trying this I
am getting erros (pink)mentioned below
$ nmake
-f Makefile.nmake
Microsoft (R) Program Maintenance Utility Version
6.00.9782.0
Copyright (C) Microsoft Corp 1988-1998. All rights
reserved.
cd tools
nmake / -f
Makefile.nmake
Microsoft (R) Program Maintenance Utility Version
6.00.9782.0
Copyright (C) Microsoft Corp 1988-1998. All rights
reserved.
cd lemon
NMAKE / -f
Makefile.nmake
Microsoft (R) Program Maintenance Utility Version
6.00.9782.0
Copyright (C) Microsoft Corp 1988-1998. All rights
reserved.
cd ..
cd ..
cd image
nmake / -f Makefile.nmake
Microsoft (R) Program
Maintenance Utility Version 6.00.9782.0
Copyright (C) Microsoft Corp
1988-1998. All rights reserved.
sed -e
s/@VERSION@/0.99.5TP protocol/ -e s/@RC_VERSION@/0,99,5/ <
li
ireshark.rc.in > libwireshark.rc
sed: -e _expression_ #1, char 20:
unterminated `s' command
NMAKE : fatal error U1077: 'sed' : return code
'0x1'
Stop.
NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual
Studio\VC98\bin
make.exe"' : return code
'0x2'
Stop.
dbjf87@DBJ787-01
/cygdrive/c/wireshark
I
have only not installed Platform SDK Server 2003
R2[^] thinking that if I have vc++6.0 this will not be needed.
Is this step optional ? ae the above erros only because of
this ? or are am I missing anything ?. Please give your suggessions how to
procede further.
Thanks In Advance
Suresh
-