Re: [Wireshark-dev] mix of c and C++

2011-07-18 Thread sagar sg
: > Am 18.07.2011 11:24, schrieb sagar sg: > > hello, >> My Dissector is in C++ and internally uses wireshark libraries ( >> eg: >> epan ) , Is there any way to wrote makefile such that we can mix the gcc >> and >> g++ compilers for part

Re: [Wireshark-dev] error in epan/tfs.h

2011-07-18 Thread sagar sg
Okay, you mean to say we have to add the extern c { tfs.h } to the wireshark code ? On Mon, Jul 18, 2011 at 6:45 PM, Andreas wrote: > Am 18.07.2011 10:12, schrieb Guy Harris: > > >> On Jul 18, 2011, at 1:02 AM, Helge Kruse wrote: >> >> I use always C++ to write my custom dissectors. Did you sur

Re: [Wireshark-dev] Makefile for wireshark dissector

2011-07-18 Thread sagar sg
1.4.7 libraries. On Mon, Jul 18, 2011 at 6:41 PM, Ed Beroset wrote: > sagar sg wrote: > > I am trying to compile my dissector independently by writing a > >single make file and Included some wireshark libraries. Can i do this or i > >need to compile it with wiresha

Re: [Wireshark-dev] Makefile for wireshark dissector

2011-07-18 Thread sagar sg
, 2011, sagar sg said: > > > Hi, > > I have written a dissector plug in in windows and it works fine, now > i > > want to compile it in linux to get the .so file, please help me how do i > > write a make file for the wireshark dissector. i got one example file but

Re: [Wireshark-dev] error in epan/tfs.h

2011-07-18 Thread sagar sg
How do u write makefile for that ? do u use gcc or g++ ? if u can paste a sample makefile then that may help. On Mon, Jul 18, 2011 at 1:32 PM, Helge Kruse wrote: > Am 18.07.2011 07:16, schrieb sagar sg: > > Yes. My dissector code is in C++ which i am compiling independently and >

[Wireshark-dev] mix of c and C++

2011-07-18 Thread sagar sg
hello, My Dissector is in C++ and internally uses wireshark libraries ( eg: epan ) , Is there any way to wrote makefile such that we can mix the gcc and g++ compilers for particular type of code to be compiled with corresponding compiler ?? Thanks Sagar G __

Re: [Wireshark-dev] error in epan/tfs.h

2011-07-18 Thread sagar sg
let me know, is there something need to be changed in code to compile it in linux. because in windows i was able to compile the same code success fully. ? On Mon, Jul 18, 2011 at 1:44 PM, Guy Harris wrote: > > On Jul 17, 2011, at 10:18 PM, sagar sg wrote: > > > Yes, I have >

Re: [Wireshark-dev] error in epan/tfs.h

2011-07-18 Thread sagar sg
Yes i did that.. On Mon, Jul 18, 2011 at 1:32 PM, Helge Kruse wrote: > Am 18.07.2011 07:16, schrieb sagar sg: > > Yes. My dissector code is in C++ which i am compiling independently and >> using the required libraries. >> > > I use always C++ to write my custom disse

[Wireshark-dev] error using proto_tree_add_time

2011-07-17 Thread sagar sg
Hi, When i use the function proto_tree_add_time ( my_tree, hf_variable, tvb, 0, end_len, time_variable ) ; I get an error as *"expected primary-expression before ',' token" .. I am *compiling my code on linux. and i did not get any such error while compiling on windows. Any

Re: [Wireshark-dev] error in epan/tfs.h

2011-07-17 Thread sagar sg
Yes. My dissector code is in C++ which i am compiling independently and using the required libraries . On Fri, Jul 15, 2011 at 8:42 PM, Stephen Fisher wrote: > On Fri, Jul 15, 2011 at 08:34:48PM +0530, sagar sg wrote: > > >I am getting the following error during the compil

Re: [Wireshark-dev] error in epan/tfs.h

2011-07-17 Thread sagar sg
Yes, I have #ifdef HAVE_CONFIG_H # include "config.h" #endif But my code is in C++ and i am using gcc compiler. does this make any difference? On Fri, Jul 15, 2011 at 8:38 PM, Jakub Zawadzki wrote: > Hi, > > On Fri, Jul 15, 2011 at 08:34:48PM +0530, sagar

[Wireshark-dev] error in epan/tfs.h

2011-07-15 Thread sagar sg
Hi, I am getting the following error during the compilation of the dissector on linux platform, does anybody know the cause for this error and solution ?? please reply. /wireshark/wireshark-1.4.7/epan/ftypes/ftypes.h:263: error: expected constructor, destructor, or type conversion before âu /w

[Wireshark-dev] gtk lib not found.

2011-07-14 Thread sagar sg
HI, I am trying to compile my dissector on linux, for that i need to include gtk\lib in my makefile, but i am not able to locate that library i think it does not exist. i did not download it manually as i thought that when we run the make it will download itself as it happened in windows. can

Re: [Wireshark-dev] Makefile for wireshark dissector

2011-07-13 Thread sagar sg
cant we compile the dissector shared library independently and link with wireshark ? On Mon, Jul 11, 2011 at 4:16 PM, Ankith Agarwal wrote: > > On Mon, Jul 11, 2011, sagar sg said: > > > Hi, > > I have written a dissector plug in in windows and it works fine, now &g

[Wireshark-dev] Developer, sagar sg has invited you to open a Gmail account

2011-07-13 Thread sagar sg
I've been using Gmail and thought you might like to try it out. Here's an invitation to create an account. You're Invited to Gmail! sagar sg has invited you to open a Gmail account. Gmail is Google's free email service, built on the idea that email can be intuitive, effic

Re: [Wireshark-dev] Makefile for wireshark dissector

2011-07-13 Thread sagar sg
is libtool library file > > both files are auto generated after compilation. > Regards > Ankith > > On Wed, Jul 13, 2011, sagar sg said: > > I dont hvae .la file, when actually it gets generated.? and how? > > > > On Mon, Jul 11, 2011 at 4:16 PM, Ankith Agarwa

Re: [Wireshark-dev] Makefile for wireshark dissector

2011-07-13 Thread sagar sg
I dont hvae .la file, when actually it gets generated.? and how? On Mon, Jul 11, 2011 at 4:16 PM, Ankith Agarwal wrote: > > On Mon, Jul 11, 2011, sagar sg said: > > > Hi, > > I have written a dissector plug in in windows and it works fine, now > i > > want

Re: [Wireshark-dev] Makefile for wireshark dissector

2011-07-12 Thread sagar sg
In ii) a) u mentioned to add path to makefile, is that Makefile.common ? On Mon, Jul 11, 2011 at 4:16 PM, Ankith Agarwal wrote: > > On Mon, Jul 11, 2011, sagar sg said: > > > Hi, > > I have written a dissector plug in in windows and it works fine, now > i &

Re: [Wireshark-dev] Makefile for wireshark dissector

2011-07-12 Thread sagar sg
PLUGIN) $(OBJS) foo.h foo.c packet-foo.c : foo.c Thanks and Regards Sagar On Mon, Jul 11, 2011 at 4:16 PM, Ankith Agarwal wrote: > > On Mon, Jul 11, 2011, sagar sg said: > > > Hi, > > I have written a dissector plug in in windows and it works fine, now > i >

Re: [Wireshark-dev] Makefile for wireshark dissector

2011-07-11 Thread sagar sg
ya, but can we change the CC flag by GCC in Makefile.nmake because as i know GCC can compile C source. On Mon, Jul 11, 2011 at 5:28 PM, Ankith Agarwal wrote: > Hi > I don't have much experience with this... > On Mon, Jul 11, 2011, sagar sg said: > > > Hi Ankit, > >

Re: [Wireshark-dev] Makefile for wireshark dissector

2011-07-11 Thread sagar sg
gards Sagar On Mon, Jul 11, 2011 at 4:16 PM, Ankith Agarwal wrote: > > On Mon, Jul 11, 2011, sagar sg said: > > > Hi, > > I have written a dissector plug in in windows and it works fine, now > i > > want to compile it in linux to get the .so file, please hel

Re: [Wireshark-dev] Procedure to compile wireshark dissector on linux

2011-07-11 Thread sagar sg
I did build the wireshark already, now i want to build my dissector either by creating a shared library or any other way. how do i do that ? i have my dissector code already which works fine on windows. On Mon, Jul 11, 2011 at 3:33 PM, Ed Beroset wrote: > sagar sg wrote: > >> Hi,

Re: [Wireshark-dev] Procedure to compile wireshark dissector on linux

2011-07-11 Thread sagar sg
el, so that > your directory looks like that: > > > - src - > - build > > then goto build, and call cmake ../src > > cmake is a software distributed with all modern distributions, or it > can be downloaded from CMakeLists.txt > > kind regards, > Roland > &

[Wireshark-dev] Procedure to compile wireshark dissector on linux

2011-07-11 Thread sagar sg
Hi, What is the procedure for compiling the wireshark dissector in linux. Thanks Sagar ___ Sent via:Wireshark-dev mailing list Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.

[Wireshark-dev] Makefile for wireshark dissector

2011-07-11 Thread sagar sg
Hi, I have written a dissector plug in in windows and it works fine, now i want to compile it in linux to get the .so file, please help me how do i write a make file for the wireshark dissector. i got one example file but there i saw something like .TSN compiler which i dint understand of how

[Wireshark-dev] Makefile for wireshark dissector

2011-07-11 Thread sagar sg
Hi, I have written a dissector plug in in windows and it works fine, now i want to compile it in linux to get the .so file, please help me how do i write a make file for the wireshark dissector. i got one example file but there i something like .TSN compiler and all and i dint understand how i

Re: [Wireshark-dev] How to access the Arrival time which is displayed in the Frame tree

2011-06-29 Thread sagar sg
thank you i found it already, thanks. it was there in packet_info structure. On Wed, Jun 29, 2011 at 12:22 PM, Jaap Keuter wrote: > On 06/29/2011 07:21 AM, sagar sg wrote: > >> Hi Team, >> >> I writing a dissector, in which I need to compare the time stamp in >>

[Wireshark-dev] How to access the Arrival time which is displayed in the Frame tree

2011-06-28 Thread sagar sg
Hi Team, I writing a dissector, in which I need to compare the time stamp in application level with the arrival time stamp which has been displayed under frame tree of wireshark. How can I access this arrival time from dissector? Thanks in Advance Regards, Sagar _

Re: [Wireshark-dev] error during compilation of wireshark source code.

2011-06-06 Thread sagar sg
t is Visual C++ 9.0 > > Regards > Anders > > sagar sg skrev 2011-06-07 07:26: > > the errors i am getting are > Generating Code... > Compiling... > packet-ipmi-storage.c > packet-ipmi-transport.c > packet-ipmi-pps.c > packet-ipmi-update.c > packet-dcerpc-

Re: [Wireshark-dev] error during compilation of wireshark source code.

2011-06-06 Thread sagar sg
turn code '0x2' Stop. NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\n make.exe"' : return code '0x2' Stop. NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\n make.exe"' : return

Re: [Wireshark-dev] error during compilation of wireshark source code.

2011-06-06 Thread sagar sg
the below is the error iam getting. "zlib1.dll.manifest : general error c1010070: Failed to load and parse the manifest. The system cannot find the file specified." please help . thanks and regards Sagar. On Mon, Jun 6, 2011 at 9:49 PM, Graham Bloice wrote: > On 06/06/2011 07

[Wireshark-dev] error during compilation of wireshark source code.

2011-06-05 Thread sagar sg
hi, while compiling source code of wireshark i am getting error as match686.obj file not found, i have match686.asm file, i think its not getting compiled during the execution of makefile.nmake, wha may be the problem please help. regards Sagar _

[Wireshark-dev] compiltion error.

2011-06-02 Thread sagar sg
hi, I am getting the fallowing error during the compilation of wirehsark decoder , * **fatal error C1083: Cannot open include file: 'config.h': No such file or directory Project : warning PRJ0018 : The following environment variables were not found: $(WIRESHARK_LIB)* and before that i tried to ve