[Wireshark-dev] Error during building WS

2007-04-06 Thread Manjunath P
After I do an nmake -f Makefile.nmake all, I get  an error in compilation as 
follows.  Pls  advice
--Manju
xxx
Microsoft (R) Program Maintenance Utility   Version 7.00.8882
Copyright (C) Microsoft Corp 1988-2000. All rights reserved.

link  /INCREMENTAL:NO /NOLOGO -entry:[EMAIL PROTECTED] -dll kernel32
.lib  ws2_32.lib mswsock.lib advapi32.lib bufferoverflowu.lib  /DEBUG  /DEF:wtap
.def /OUT:wiretap-0.3.1.dll  /IMPLIB:wiretap-0.3.1.lib  ..\image\wiretap.res  5v
iews.obj airopeek9.obj   ascend.obj  atm.obj
 ber.obj buffer.obj
 catapult_dct2000.objcosine.obj  csids.obj
 dbs-etherwatch.obj  erf.obj etherpeek.obj
eyesdn.obj   file_access.obj file_wrappers.obj
 hcidump.obj i4btrace.objiptrace.obj
 iseries.obj k12.obj lanalyzer.obj
 libpcap.obj netmon.obj  nettl.obj
 network_instruments.obj netxray.obj ngsniffer.obj
 pppdump.obj radcom.obj  snoop.obj
 toshiba.obj visual.obj  vms.obj
 wtap.obj ascend-grammar.obj ascend-scanner.obj file_util.obj C:\wireshark-w
in32-libs\glib\lib\glib-2.0.lib  C:\wireshark-win32-libs\glib\lib\gmodule-2.0.li
b  C:\wireshark-win32-libs\glib\lib\gobject-2.0.lib  C:\wireshark-win32-libs
\zlib123\lib\zdll.lib
LINK : warning LNK4068: /MACHINE not specified; defaulting to X86
   Creating library wiretap-0.3.1.lib and object wiretap-0.3.1.exp
file_util.obj : error LNK2019: unresolved external symbol _G_IS_DIR_SEPARATOR re
ferenced in function _eth_stdio_stat
wiretap-0.3.1.dll : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: 'link' : return code '0x460'
Stop.
NMAKE : fatal error U1077: 'C:\Program Files\Microsoft Platform SDK for Windows
 Server 2003 R2\Bin\nmake.exe' : return code '0x2'
Stop.
xxx
SASKEN BUSINESS DISCLAIMER
-
This message may contain confidential, proprietary or legally privileged 
information. In 
case you are not the original intended Recipient of the message, you must not, 
directly or 
indirectly, use, Disclose, distribute, print, or copy any part of this message 
and you are 
requested to delete it and inform the sender. Any views expressed in this 
message are 
those of the individual sender unless otherwise stated. Nothing contained in 
this message 
shall be construed as an offer or acceptance of any offer by Sasken 
Communication 
Technologies Limited (Sasken) unless sent with that express intent and with 
due 
authority of Sasken. Sasken has taken enough precautions to prevent the spread 
of 
viruses. However the company accepts no liability for any damage caused by any 
virus 
transmitted by this email
___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


[Wireshark-dev] Regarding Winshark binaries

2007-04-03 Thread Manjunath P
Hi  all,
 I hv  a question.
Due  to some  dowloading  problems, I am not able to build  wireshark 
on Windows. So, I hv  decided to build WS  source in Linux itself.

These  are my  queries
1) If  I  build WS, and write my  own  dissector (as a plugin or build with  
source ) in Linux,  can  the  .exe  file so  genrated  be  executable in 
Windows  OR  is  there any necessity  for me to crs-compile??
2)Is  there  any  other  tool/library/software , I need to download  to  
compile(build)  in  Linux. I hv  read  the  Dev  guide. It  says  no extra  
tools 
--Thanks
Manju
SASKEN BUSINESS DISCLAIMER
-
This message may contain confidential, proprietary or legally privileged 
information. In 
case you are not the original intended Recipient of the message, you must not, 
directly or 
indirectly, use, Disclose, distribute, print, or copy any part of this message 
and you are 
requested to delete it and inform the sender. Any views expressed in this 
message are 
those of the individual sender unless otherwise stated. Nothing contained in 
this message 
shall be construed as an offer or acceptance of any offer by Sasken 
Communication 
Technologies Limited (Sasken) unless sent with that express intent and with 
due 
authority of Sasken. Sasken has taken enough precautions to prevent the spread 
of 
viruses. However the company accepts no liability for any damage caused by any 
virus 
transmitted by this email
___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


[Wireshark-dev] Regarding Downloading through wget

2007-03-30 Thread Manjunath P
Hi  all,
  nmake -f Makefile.nmake  setup is not  working for me.
  All  the  steps  prio  to this  are  correct as I hv  verified it  
through  verify_tools option.
  wget  is not working  for me.

xx
 C:\wiresharknmake -f Makefile.nmake setup
Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
Copyright (C) Microsoft Corporation.  All rights reserved.
Checking for required applications:
cl: /cygdrive/c/Program Files/Microsoft Visual Studio 8/VC/BIN/cl
link: /cygdrive/c/Program Files/Microsoft Visual Studio 8/VC/BIN/link
nmake: /cygdrive/c/Program Files/Microsoft Visual Studio 8/VC/BIN/nmake

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
rm -r -f C:\wireshark-win32-libs/adns-1.0-win32-05
rm -r -f C:\wireshark-win32-libs/gettext-0.14.5
rm -r -f C:\wireshark-win32-libs/glib
rm -r -f C:\wireshark-win32-libs/gnutls-1.6.1-1
rm -r -f C:\wireshark-win32-libs/gtk2
rm -r -f C:\wireshark-win32-libs/gtk+
rm -r -f C:\wireshark-win32-libs/gtk-wimp
rm -r -f C:\wireshark-win32-libs/kfw-2.5
rm -r -f C:\wireshark-win32-libs/libiconv-1.9.1.bin.woe32
rm -r -f C:\wireshark-win32-libs/lua5.1
rm -r -f C:\wireshark-win32-libs/net-snmp-5.4
rm -r -f C:\wireshark-win32-libs/pcre-6.4
rm -r -f C:\wireshark-win32-libs/portaudio_v18_1
rm -r -f C:\wireshark-win32-libs/portaudio_v19
rm -r -f C:\wireshark-win32-libs/user-guide
rm -r -f C:\wireshark-win32-libs/WpdPack
rm -r -f C:\wireshark-win32-libs/AirPcap_Devpack_1_0_0_594
rm -r -f C:\wireshark-win32-libs/zlib123-dll
if not exist C:\wireshark-win32-libs md C:\wireshark-win32-libs
** glib-2.12.7.zip **
No HTTP proxy specified (http_proxy and HTTP_PROXY are empty).
Downloading gtk2.10/glib-2.12.7.zip into C:\WIRESH~2, installing into glib
--17:55:12--  http://anonsvn.wireshark.org/wireshark-win32-libs/tags/2007-01-19/
packages/gtk2.10/glib-2.12.7.zip   = `glib-2.12.7.zip'

Resolving anonsvn.wireshark.org... 128.121.50.122
Connecting to anonsvn.wireshark.org|128.121.50.122|:80... failed: Connection ref
used.

ERROR: Can't download http://anonsvn.wireshark.org/wireshark-win32-libs/tags/200
7-01-19/packages/gtk2.10/glib-2.12.7.zip
NMAKE : fatal error U1077: 'C:\cygwin\bin\bash.EXE' : return code '0x1' Stop.
xx
   But  I  can  access the  website( 
http://anonsvn.wireshark.org/wireshark-win32-libs/tags/2007-01-19/ ).
   so, I decided to download through  net  directly.
   But  the  problem is,  I am not able  to download files  like  
adns-1.0-win32-05,gtk+,WdPack,  AirPcap_Devpack_1_0_0_594.
   
So  I need   1)  A  proxy  for  wget  which  works  properly
 OR2)  Any  alternate  sites where I can download the above.

-Thanks  in  advance
Manjunath Patil











SASKEN BUSINESS DISCLAIMER
-
This message may contain confidential, proprietary or legally privileged 
information. In 
case you are not the original intended Recipient of the message, you must not, 
directly or 
indirectly, use, Disclose, distribute, print, or copy any part of this message 
and you are 
requested to delete it and inform the sender. Any views expressed in this 
message are 
those of the individual sender unless otherwise stated. Nothing contained in 
this message 
shall be construed as an offer or acceptance of any offer by Sasken 
Communication 
Technologies Limited (Sasken) unless sent with that express intent and with 
due 
authority of Sasken. Sasken has taken enough precautions to prevent the spread 
of 
viruses. However the company accepts no liability for any damage caused by any 
virus 
transmitted by this email
___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


[Wireshark-dev] Regarding downloading source

2007-03-28 Thread Manjunath P
Hi ,
I am  having a Windows XP m/c. I hv installed MSVC  ExpEd  and PSDK  also.  
I am getting the foll. error when I try to download source through  Tortoise 
SVN.


Error: PROPFIND request failed on '/wireshark/trunk'  
 Error: PROPFIND of '/wireshark/trunk': could not connect to server 
(http://anonsvn.wireshark.org)  

  What  could be the  error? Pls  guide
---Manju

SASKEN BUSINESS DISCLAIMER
-
This message may contain confidential, proprietary or legally privileged 
information. In 
case you are not the original intended Recipient of the message, you must not, 
directly or 
indirectly, use, Disclose, distribute, print, or copy any part of this message 
and you are 
requested to delete it and inform the sender. Any views expressed in this 
message are 
those of the individual sender unless otherwise stated. Nothing contained in 
this message 
shall be construed as an offer or acceptance of any offer by Sasken 
Communication 
Technologies Limited (Sasken) unless sent with that express intent and with 
due 
authority of Sasken. Sasken has taken enough precautions to prevent the spread 
of 
viruses. However the company accepts no liability for any damage caused by any 
virus 
transmitted by this email
___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] Regarding downloading source

2007-03-28 Thread Manjunath P
I have special Downloading Rights   in my  office and my m/c is not behind 
any firewall. I  downloaded a tortoise SVN(  recent SVN 1.4.3   win32 ). 
When I try to do  svn --versionon my cmd line , I get  an error   The 
application has failed to start because  cygdb-4.2.dll was not found. Re 
installing the application may fix this problem.
 After  this,  I tried  to  repair  with installer package. 
Later  I uninstalled the present client  and re-installed   the windows 
installer package  again from the Tortoise website but again found the same 
problem(given  below).  I read  sections 3.3.2  and 3.3.3  and 3.3.4  of 
Developer's guide.
How  can  I proceed further?  Pls  advice
-Regards
   Manju


- Original Message - 
From: Ulf Lamping [EMAIL PROTECTED]
To: Manjunath P [EMAIL PROTECTED]; Developer support list for 
Wireshark wireshark-dev@wireshark.org
Sent: Wednesday, March 28, 2007 3:44 PM
Subject: Re: [Wireshark-dev] Regarding downloading source


 Manjunath P wrote:
 Hi ,
 I am  having a Windows XP m/c. I hv installed MSVC  ExpEd  and PSDK 
 also.  I am getting the foll. error when I try to download source through 
 Tortoise SVN.
  Error: PROPFIND request failed on '/wireshark/trunk'  Error: PROPFIND of 
 '/wireshark/trunk': could not connect to server 
 (http://anonsvn.wireshark.org) What  could be the  error? Pls  guide
 I guess you are behind a (restrictive) proxy/firewall. Subversion uses 
 some advanced HTTP mechanisms to connect from client to server, which 
 might be restricted by the proxy/firewall.

 Try to get a tarball/zip, as described in the developers guide.

 Regards, ULFL
 
SASKEN BUSINESS DISCLAIMER
-
This message may contain confidential, proprietary or legally privileged 
information. In 
case you are not the original intended Recipient of the message, you must not, 
directly or 
indirectly, use, Disclose, distribute, print, or copy any part of this message 
and you are 
requested to delete it and inform the sender. Any views expressed in this 
message are 
those of the individual sender unless otherwise stated. Nothing contained in 
this message 
shall be construed as an offer or acceptance of any offer by Sasken 
Communication 
Technologies Limited (Sasken) unless sent with that express intent and with 
due 
authority of Sasken. Sasken has taken enough precautions to prevent the spread 
of 
viruses. However the company accepts no liability for any damage caused by any 
virus 
transmitted by this email
___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] Regarding downloading source

2007-03-28 Thread Manjunath P
Hi  Graham,
   I followed  each and every step  faithfully as given in Developer's 
guide , but still I am not able to get the source and I get the same error.
   I  download source from 
http://www.wireshark.org/download/src/wireshark-0.99.5.tar.gz 
separately(without SVN), untarred it through  cygwin, and then  tried to put 
the source into  SVN( by  specifying the untarred file  directory in the 
checkout file option ).  I got the error Error: Unable to open an ra_local 
session to URL 
I hv even  mailed to the dev  guide of  Tortoise but no  reply  from 
them

  Ur  advice is very  essential  Pls help
---Manju



- Original Message - 
From: Graham Bloice [EMAIL PROTECTED]
To: Manjunath P [EMAIL PROTECTED]; Developer support list for 
Wireshark wireshark-dev@wireshark.org
Sent: Wednesday, March 28, 2007 6:50 PM
Subject: Re: [Wireshark-dev] Regarding downloading source


 Manjunath P wrote:
 I have special Downloading Rights   in my  office and my m/c is not 
 behind
 any firewall. I  downloaded a tortoise SVN(  recent SVN 1.4.3   win32 ).
 When I try to do  svn --versionon my cmd line , I get  an error 
 The
 application has failed to start because  cygdb-4.2.dll was not found. Re
 installing the application may fix this problem.
  After  this,  I tried  to  repair  with installer package.
 Later  I uninstalled the present client  and re-installed   the windows
 installer package  again from the Tortoise website but again found the 
 same
 problem(given  below).  I read  sections 3.3.2  and 3.3.3  and 3.3.4  of
 Developer's guide.
 How  can  I proceed further?  Pls  advice

 The dll error was probably because your command line is picking up a
 cygwin version of svn.  Tortoise does *not* provide a command line
 version of svn.  It does provide some command line tools, but they
 aren't the same as standard svn.

 Using TortoiseSVN, open an Explorer window, right click any directory or
 drive and choose SVN Checkout... from the context menu.  It might be
 in the TortoiseSVN sub menu.

 In the resulting dialog, enter the correct url
 (http://anonsvn.wireshark.org/wireshark/trunk) in the URL of
 repository field, and a suitable local directory in the Checkout
 directory field.  Ensure the two check boxes are cleared and select the
 HEAD radio button.  Click OK.

 After a suitable period of time you should have the source tree on your
 local hard disk.  Continue as per the developers guide.

 -- 
 Regards,

 Graham Bloice
 
SASKEN BUSINESS DISCLAIMER
-
This message may contain confidential, proprietary or legally privileged 
information. In 
case you are not the original intended Recipient of the message, you must not, 
directly or 
indirectly, use, Disclose, distribute, print, or copy any part of this message 
and you are 
requested to delete it and inform the sender. Any views expressed in this 
message are 
those of the individual sender unless otherwise stated. Nothing contained in 
this message 
shall be construed as an offer or acceptance of any offer by Sasken 
Communication 
Technologies Limited (Sasken) unless sent with that express intent and with 
due 
authority of Sasken. Sasken has taken enough precautions to prevent the spread 
of 
viruses. However the company accepts no liability for any damage caused by any 
virus 
transmitted by this email
___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


[Wireshark-dev] Regarding buiding Ethereal

2007-03-26 Thread Manjunath P
 I am a newbie  to Wireshark  development. My aim is to have a protocol  
dissector.
I have Windows XP  along with cygwin  installed on my m/c.
I have downloaded  source from  
http://www.wireshark.org/download/src/wireshark-0.99.5.tar.gz
I read the INSTALL  file and tried to do a ./configure in wireshark folder 
through cygwin.
Then, I got this error and stops.

xxxstartxxx

checking whether to use libpcap for packet capture... yes
checking for extraneous pcap header directories... not found
checking pcap.h usability... no
checking pcap.h presence... no
checking for pcap.h... no
configure: error: Header file pcap.h not found; if you installed libpcap
from source, did you also do make install-incl, and if you installed a
binary package of libpcap, is there also a developer's package of libpcap,
and did you also install that package?
xxxENDx

I downloaded libpcap  source from www.tcpdump.org  and put inside wireshark 
directory.
I tried to compile this libcap separately and got an error


checking for u_int16_t using gcc... yes
checking for u_int32_t using gcc... yes
checking how to run the C preprocessor... gcc -E
checking for sys/ioccom.h... no
checking for sys/sockio.h... no
checking for ifaddrs.h... no
checking for limits.h... yes
checking for netinet/if_ether.h... no
checking for ANSI ioctl definitions... no
configure: error: see the INSTALL for more info


 How to move forward in the building process.???
---Manju
SASKEN BUSINESS DISCLAIMER
-
This message may contain confidential, proprietary or legally privileged 
information. In 
case you are not the original intended Recipient of the message, you must not, 
directly or 
indirectly, use, Disclose, distribute, print, or copy any part of this message 
and you are 
requested to delete it and inform the sender. Any views expressed in this 
message are 
those of the individual sender unless otherwise stated. Nothing contained in 
this message 
shall be construed as an offer or acceptance of any offer by Sasken 
Communication 
Technologies Limited (Sasken) unless sent with that express intent and with 
due 
authority of Sasken. Sasken has taken enough precautions to prevent the spread 
of 
viruses. However the company accepts no liability for any damage caused by any 
virus 
transmitted by this email
___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev