Ethereal-users: Re: [Ethereal-users] .dll has no version symbol? Help!

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

From: Guy Harris <gharris@xxxxxxxxx>
Date: Tue, 3 Sep 2002 15:19:25 -0700
On Tue, Sep 03, 2002 at 04:26:52PM -0400, Fiore_Mark@xxxxxxx wrote:
> I am trying to use Ethreal as a tool so that I can trouble shoot one of the
> 3 ethernet IC on a PCB. I added a ???ethprotocal.dll file to the C:\Program
> Files\Ethereal\plugins directory. When I start Ethreal I get a dos window
> with a error message.
>  The plugin ???ethprotocal.dll has no version symbol.
> 
> Can you please help me so that I can get Ethereal running using my companys
> dll as one of the plugins?

Step 1: get the source to Ethereal, if you don't have it already.

Step 2: get the source to your company's DLL, and make sure it follows
*all* the rules in the "doc/README.plugins" directory, *including* the

	2 New exported constants in packet-xxx.c

	Plugins need to provide the following exported constants:

	#ifndef __ETHEREAL_STATIC__
	G_MODULE_EXPORT const gchar version[] = VERSION;
	#endif

	version       : a version number associated with the plugin.

rule.