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).