Re: [Wireshark-dev] Problem in building Plugin

2011-09-22 Thread Helge Kruse
Am 22.09.2011 10:27, schrieb Rajesh P S: Sorry. Problem is with struct fragment_items as this has undergone some changes between 1.2.6 to 1.6.2. Earlier there was only 6 fields now they have added two more. Its working fine. Ok, you updated your dissector code to the new Wireshark interface v

Re: [Wireshark-dev] Problem in building Plugin

2011-09-22 Thread Bill Meier
On 9/22/2011 4:27 AM, Rajesh P S wrote: But I am facing another issue where in when I try to run wireshark.exe I am getting this run time error. The issue is exactly as the message says: Check your ett array to be sure all are initialized to -1 and that there are no duplicate entries __

Re: [Wireshark-dev] Problem in building Plugin

2011-09-22 Thread Rajesh P S
Sorry. Problem is with struct fragment_items as this has undergone some changes between 1.2.6 to 1.6.2. Earlier there was only 6 fields now they have added two more. Its working fine. But I am facing another issue where in when I try to run wireshark.exe I am getting this run time error. [image:

Re: [Wireshark-dev] Problem in building Plugin

2011-09-22 Thread Helge Kruse
Am 22.09.2011 08:20, schrieb Rajesh P S: NO. I haven't modified resemble.h. And the file has above mentioned struct. I downloaded 1.6.2 source code and I am trying to build my plugin with 1.6.2. I would check the include path. You find it in the "Command Line" tab of the Project Properties dia

Re: [Wireshark-dev] Problem in building Plugin

2011-09-21 Thread Rajesh P S
NO. I haven't modified resemble.h. And the file has above mentioned struct. I downloaded 1.6.2 source code and I am trying to build my plugin with 1.6.2. On Thu, Sep 22, 2011 at 1:23 AM, Chris Maynard wrote: > Chris Maynard writes: > > Or are you trying to get your new plugin to work with an old

Re: [Wireshark-dev] Problem in building Plugin

2011-09-21 Thread Chris Maynard
Chris Maynard writes: Or are you trying to get your new plugin to work with an older version of Wireshark, one prior to the following change? http://anonsvn.wireshark.org/viewvc/trunk/epan/reassemble.h?r1=32933&r2=35705 __

Re: [Wireshark-dev] Problem in building Plugin

2011-09-21 Thread Chris Maynard
Rajesh P S writes: > Refer Example 9.17. Reassembling fragments - Data . I am using the same code. Also I have compiled this code so many times before[about an year ago with wireshark 1.2.6]. But that time it worked fine. On this occasion it is giving me this error. Yes, you're right. I hadn't

Re: [Wireshark-dev] Problem in building Plugin

2011-09-21 Thread Rajesh P S
Refer Example 9.17. Reassembling fragments - Data . I am using the same code. Also I have compiled this code so many times before[about an year ago with wireshark 1.2.6]. But that time it worked fine. On this occasion it is g

Re: [Wireshark-dev] Problem in building Plugin

2011-09-21 Thread Chris Maynard
Rajesh P S writes: > I am getting this error [error C2220: warning treated as error - no 'object' file generated, warning C4133: 'initializing' : incompatible types - from 'char [18]' to 'int *]  even though I haven't used char [18] or int*. Yes, you have: > "Message fragments" I think you

[Wireshark-dev] Problem in building Plugin

2011-09-21 Thread Rajesh P S
Hi, I am getting this error [error C2220: warning treated as error - no 'object' file generated, warning C4133: 'initializing' : incompatible types - from 'char [18]' to 'int *] even though I haven't used char [18] or int*. Kindly help me in fixing this. Error message directs to this part of cod