Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

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

Date: Fri, 19 Aug 2011 05:08:47 +0800
Hi,

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: underfined symbol: dissector_add_port

Any advice?
Thanks



> From: guy@xxxxxxxxxxxx
> Date: Thu, 18 Aug 2011 12:52:10 -0700
> To: wireshark-dev@xxxxxxxxxxxxx
> 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:
>
> > 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 - SVN from the trunk, or 1.4.4?
>
> If you're working *only* on 1.4.4, use dissector_add_port().
>
> If you're working *only* on SVN from the trunk, use dissector_add_uint().
>
> If you're working on both:
>
> build your plugin for 1.4.4 in the source tree from 1.4.4 and use dissector_add_port() in that version of the plugin;
>
> build your plugin for SVN from the trunk in the source tree from SVN and use dissector_add_uint() in that version of the plugin;
>
> do *NOT* try to build plugins for 1.4.4 in the source tree from SVN;
>
> do *NOT* try to build plugins for the SVN version in the 1.4.4 source tree;
>
> do *NOT* try to use the same source code for both versions of the plugin.
> ___________________________________________________________________________
> 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