Wireshark-dev: Re: [Wireshark-dev] why wireshark plugin does not work here - dissector_add_uint
Date: Thu, 18 Aug 2011 01:37:27 +0800
Hi,

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?

Thanks


> From: guy@xxxxxxxxxxxx
> Date: Tue, 16 Aug 2011 19:09:12 -0700
> To: wireshark-dev@xxxxxxxxxxxxx
> 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 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/wireshark/plugins/1.4.4/xxx.so:
>
> ...which means you're running the dissector on 1.4.x (1.4.4, in particular)...
>
> > undefined symbol: dissector_add_uint
>
> ...and wrote it for 1.6.x or the trunk.
>
> That won't work.
>
> If you want a dissector that works with 1.4.x, use "dissector_add_port()".
>
> If you want a dissector that works with 1.6.x, use "dissector_add_uint()" (same routine, just a name that more correctly reflects what it does - the argument isn't necessarily a TCP or UDP or SCTP port number, it's just an integer, for example it could be an Ethernet type).
> ___________________________________________________________________________
> Sent via: Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
> Archives: http://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
> mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe