Ethereal-dev: Re: [Ethereal-dev] old vs new style plugin

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Oren Mazor <oren.mazor@xxxxxxxxx>
Date: Mon, 11 Apr 2005 10:49:33 -0400
I'm building 0.10.10 as we speak, and I suspect that will clear up my problems.

cheers
Oren

On Apr 11, 2005 10:47 AM, Ulf Lamping <ulf.lamping@xxxxxx> wrote:
> Oren Mazor <oren.mazor@xxxxxxxxx>, Ethereal development <ethereal-dev@xxxxxxxxxxxx> schrieb am 11.04.05 15:44:10:
> >
> > Hi all,
> >
> > I'm working on a plugin for a special type of protocol we have here at
> > work, and I'm finding that ethereal (0.10.3) refuses to recognize it,
> 
> You may update to the current version (0.10.10), as 0.10.3 is rather old.
> 
> > instead saying that it is an old-style plugin.
> >
> > Most of the research I've done shows that ethereal determines that
> > based on the functions i have in my code, those being:
> >
> > G_MODULE_EXPORT void plugin_register(void)
> > G_MODULE_EXPORT void plugin_reg_handoff_xyz(void)
> > static void dissect_xyz(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
> > void proto_register_xyz(void)
> > void proto_reg_handoff_xyz(void)
> >
> > am I missing anything important? specifically, my error message is:
> >
> > # ethereal
> > The plugin packet-xyz.so, version 0.0.2 is an old-style plugin;
> > Those are no longer supported.
> >
> > I'm looking through the ethereal source, and I cant even find where
> > that message is being thrown.
> >
> 
> That message might have changed in different Ethereal versions.
> 
> Are you aware, that the plugin ABI may not be compatible between different Ethereal versions?
> 
> The ethereal version you use and the Ethereal version with which the plugin was compiled MUST match!
> 
> I'm really not a plugin expert, but:
> 
> plugin_reg_handoff
> 
> seems to be missing (but this is really a guess only).
> 
> You might have a look at the example plugins that comes with the Ethereal sources and the doc/README.plugins file.
> 
> Regards, ULFL
> 
> ______________________________________________________________
> Verschicken Sie romantische, coole und witzige Bilder per SMS!
> Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193
> 
>