Ethereal-dev: Re: [Ethereal-dev] Unresolved symbols when building plugin under Windows

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, 6 Nov 2003 01:35:27 -0800
On Wed, Nov 05, 2003 at 07:58:34PM -0800, Michael Lum wrote:
> I'm trying to build a GSM MAP plugin under Windows 2K, using VS.NET C++.
> 
> The plugin uses asn1 functions and I'm not sure how to setup a
> Makefile.nmake file.

If you're building it in a subdirectory of the "plugins" directory of
the Ethereal source tree, the way you set up a Makefile.nmake file is
you copy one from another plugin (other than the GIOP one - and use the
current CVS versions) and:

	change it to set OBJECTS to the appropriate list of objects
	(e.g., packet-gsm_map.obj);

	replace the plugin name (e.g., "acn" in
	"plugins/acn/Makefile.nmake") with your plugin's name
	("gsm_map").

(The latter would, if you have only one source file, take care of the
former - but if you have more than one, it won't.)