Ethereal-dev: Re: [Ethereal-dev] Broken build (MSVC) rtnet.c fails to build

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: Wed, 24 Nov 2004 10:45:47 -0800
Anders Broman (AL/EAB) wrote:

Sorry to say it still does not work, does it have to be added to the plugins API?

Unfortunately, that won't work - if "flags_set_truth" were #defined as (*p_flags_set_truth), "&flags_set_truth", i.e. "p_flags_set_truth", couldn't be used in a static initialization.

It should work if you build libethereal as a DLL *and* undefine PLUGINS_NEED_ADDRESS_TABLE in the top-level config.h.

If that does work, is it time that we just *require* that libethereal be built as a DLL on Windows - and get rid of the plugin API table stuff entirely?