[Wireshark-dev] error using proto_tree_add_time

2011-07-18 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-18 Thread sagar sg
Yes i did that.. On Mon, Jul 18, 2011 at 1:32 PM, Helge Kruse helge.kruse-nos...@gmx.netwrote: 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 dissectors. Did

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 g...@alum.mit.edu wrote: On Jul 17, 2011, at 10:18 PM, sagar sg wrote: Yes, I have

[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
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 helge.kruse-nos...@gmx.netwrote: Am 18.07.2011 07:16, schrieb sagar sg: Yes. My dissector code is in C++ which i am compiling

Re: [Wireshark-dev] Makefile for wireshark dissector

2011-07-18 Thread sagar sg
11, 2011, sagar sg sagu...@gmail.com 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 there i saw

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 bero...@mindspring.com 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 wireshark s

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 andreassand...@gmx.net 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

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

2011-07-18 Thread sagar sg
helge.kruse-nos...@gmx.netwrote: 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 particular type of code to be compiled

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

2011-07-17 Thread sagar sg
, sagar sg wrote: 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 ?? /wireshark/wireshark-1.4.7/epan/ftypes/ftypes.h:263: error: expected constructor, destructor, or type conversion before âu

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 st...@stephen-fisher.comwrote: On Fri, Jul 15, 2011 at 08:34:48PM +0530, sagar sg wrote: I am getting the following error during

[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

[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
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 anki...@cdac.in wrote: On Mon, Jul 11, 2011, sagar sg sagu...@gmail.com 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-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 anki...@cdac.in wrote: On Mon, Jul 11, 2011, sagar sg sagu...@gmail.com said: Hi, I have written a dissector plug in in windows and it works fine, now i want to compile

Re: [Wireshark-dev] Makefile for wireshark dissector

2011-07-13 Thread sagar sg
both files are auto generated after compilation. Regards Ankith On Wed, Jul 13, 2011, sagar sg sagu...@gmail.com said: I dont hvae .la file, when actually it gets generated.? and how? On Mon, Jul 11, 2011 at 4:16 PM, Ankith Agarwal anki...@cdac.in wrote: On Mon, Jul 11, 2011

Re: [Wireshark-dev] Makefile for wireshark dissector

2011-07-12 Thread sagar sg
) $(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 anki...@cdac.in wrote: On Mon, Jul 11, 2011, sagar sg sagu...@gmail.com said: Hi, I have written a dissector plug in in windows and it works fine, now i want

[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

[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

[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 wireshark-dev@wireshark.org Archives:http://www.wireshark.org/lists/wireshark-dev

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

2011-07-11 Thread sagar sg
directory looks like that: wireshark - src - all src's - 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 On Mon, Jul 11, 2011 at 11:35 AM, sagar sg sagu

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 bero...@mindspring.com wrote: sagar sg wrote

Re: [Wireshark-dev] Makefile for wireshark dissector

2011-07-11 Thread sagar sg
Sagar On Mon, Jul 11, 2011 at 4:16 PM, Ankith Agarwal anki...@cdac.in wrote: On Mon, Jul 11, 2011, sagar sg sagu...@gmail.com 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

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 anki...@cdac.in wrote: Hi I don't have much experience with this... On Mon, Jul 11, 2011, sagar sg sagu...@gmail.com said: Hi Ankit

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 jaap.keu...@xs4all.nl 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 application level

[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-07 Thread sagar sg
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-nt.c Generating Code... NMAKE : fatal error U1077: 'C:\Program Files\Microsoft

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

2011-06-06 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

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

2011-06-06 Thread sagar sg
/06/2011 07:42, sagar sg wrote: 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 I

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

2011-06-06 Thread sagar sg
. 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 code '0x2' Stop. On Tue, Jun 7, 2011 at 10:04 AM, sagar sg sagu...@gmail.com wrote

[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