Wireshark-dev: Re: [Wireshark-dev] Undefined symbol tvb_find_tvb
From: Chris Maynard <Chris.Maynard@xxxxxxxxx>
Date: Tue, 26 Jul 2011 16:14:43 +0000 (UTC)
Jeff Morriss <jeff.morriss.ws@...> writes:

> Mariusz Okrój wrote:
> > Hi,
> > I'm getting "Couldn't load module
> > /home/marok/wireshark/lib/wireshark/plugins/1.6.0/xmpp.so:
> > /home/marok/wireshark/lib/wireshark/plugins/1.6.0/xmpp.so: undefined
> > symbol: tvb_find_tvb" during the wireshark startup.
> > 
> > What may cause this problem? I'm using many functions from tvbuff.h,
> > but only using this one the problem occurs.
> 
> I don't see a response to this, but the problem is/was that this 
> function is not in epan/libwireshark.def (so the function is not 
> exported from libwireshark).
> 
> Chris fixed that in this revision:
> 
> http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=38169

Sorry I forgot to respond.  Thanks Jeff.  I actually wasn't sure if this was the
problem or not in Mariusz's case because wouldn't this only be a problem for a
Windows plugin (i.e., xmpp.dll)?  Well in any case, the function wasn't
exported, so I added it, and since the problem was observed with 1.6.0, I just
scheduled this change to be backported to 1.6.2.