Ethereal-dev: Re: [Ethereal-dev] define PLUGINS_NEED_ADDRESS_TABLE

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

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Thu, 7 Aug 2003 11:39:32 -0700

On Thursday, August 7, 2003, at 12:39 AM, li wrote:

if I don't define PLUGINS_NEED_ADDRESS_TABLE, I can compilt ethereal.

Do you mean "compile Ethereal", or do you mean "compile the library you're making from Ethereal for your own application"?

Note, by the way, that Packetyzer:

	http://www.packetyzer.com/

does something similar to what I think you're doing (using some of Ethereal's code to build a packet analyzer with your own user interface code), so you might want to look at what it does.

If you don't define PLUGINS_NEED_ADDRESS_TABLE, the resulting version of Ethereal, or the resulting library, will not be able to use *any* plugins on Windows.

but after I define it in config.h, I see lots of errors,

What errors do you see? On Windows, we build the Ethereal (and Tethereal) programs with PLUGINS_NEED_ADDRESS_TABLE defined, and it doesn't get fatal errors.

 if I want to use H323 plugin , did I need to define it?

Yes (although note that the current CVS version of Ethereal has an H.323 dissector built into it.)