Re: [Wireshark-dev] why wireshark plugin does not work here - dissector_add_uint()

2011-08-18 Thread Guy Harris
On Aug 18, 2011, at 2:08 PM, John x wrote: > I am working on 1.4.4 now. So I do used dissector_add_port > but after I put the generated .so file under > /usr/lib/wireshark/plugins/1.4.1/, then I run wireshark, it shows: > > Couldn't load module /usr/lib/wireshark/plugins/1.4.4/xxx.so: underfin

Re: [Wireshark-dev] why wireshark plugin does not work here - dissector_add_uint()

2011-08-18 Thread John x
dvice? Thanks > From: g...@alum.mit.edu > Date: Thu, 18 Aug 2011 12:52:10 -0700 > To: wireshark-dev@wireshark.org > Subject: Re: [Wireshark-dev] why wireshark plugin does not work here - > dissector_add_uint() > > On Aug 17, 2011, at 10:37 AM, John x wrote: > > &

Re: [Wireshark-dev] why wireshark plugin does not work here - dissector_add_uint()

2011-08-18 Thread Guy Harris
On Aug 17, 2011, at 10:37 AM, John x wrote: > I am working on wireshark 1.7.0 (SVN from /trunk) ... On Aug 18, 2011, at 12:38 PM, John x wrote: > I tried both dissector_add_port() and dissector_add_uint(), but neither works. > > I am working on version 1.4.4 OK, which one are you working on -

Re: [Wireshark-dev] why wireshark plugin does not work here - dissector_add_uint()

2011-08-18 Thread John x
ark-dev] why wireshark plugin does not work here - > dissector_add_uint() > > On Thu, Aug 18, 2011 at 01:37:27AM +0800, John x wrote: > > I am working on wireshark 1.7.0 (SVN from /trunk), so the ".so" file > > generated from "1.7.0" cannot be used on

Re: [Wireshark-dev] why wireshark plugin does not work here - dissector_add_uint()

2011-08-17 Thread Joerg Mayer
On Thu, Aug 18, 2011 at 01:37:27AM +0800, John x wrote: > I am working on wireshark 1.7.0 (SVN from /trunk), so the ".so" file > generated from "1.7.0" cannot be used on version "1.6.*" as wireshark plugin? Short answer: correct Long answer: plugins are *upward* compatible within a major stable r

Re: [Wireshark-dev] why wireshark plugin does not work here - dissector_add_uint()

2011-08-17 Thread Guy Harris
On Aug 17, 2011, at 10:37 AM, John x wrote: > I am working on wireshark 1.7.0 (SVN from /trunk), so the ".so" file > generated from "1.7.0" cannot be used on version "1.6.*" as wireshark plugin? It might work, but it's not guaranteed to work. We make no claim that, when 1.8.0 comes out (1.7.x

Re: [Wireshark-dev] why wireshark plugin does not work here - dissector_add_uint()

2011-08-17 Thread John x
shark.org > Subject: Re: [Wireshark-dev] why wireshark plugin does not work here - > dissector_add_uint() > > > On Aug 16, 2011, at 7:02 PM, John x wrote: > > > I developed a plugin, > > For which version of Wireshark? There is no guarantee that a plugin fo

Re: [Wireshark-dev] why wireshark plugin does not work here - dissector_add_uint()

2011-08-16 Thread Guy Harris
On Aug 16, 2011, at 7:02 PM, John x wrote: > I developed a plugin, For which version of Wireshark? There is no guarantee that a plugin for 1.x will work for 1.y; the only thing we attempt to guarantee is that a dissector for 1.x.y will work on 1.x.z. > couldn't load module /usr/lib/wir

[Wireshark-dev] why wireshark plugin does not work here - dissector_add_uint()

2011-08-16 Thread John x
Hi, folks, I developed a plugin, and generated the xxx.so file. Then I put the xxx.so file under /usr/lib/wireshark/plugins/xxx.so when I run the wireshark, it shows: couldn't load module /usr/lib/wireshark/plugins/1.4.4/xxx.so: undefined symbol: dissector_add_uint I do have a disse