Wireshark-dev: Re: [Wireshark-dev] Error compiling a customdllpluginforWireshark0.99.7
From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Thu, 28 Feb 2008 18:57:46 -0800

On Feb 28, 2008, at 6:41 PM, Maynard, Chris wrote:

I think this is your problem – the last line for the agentx plugin does not have the “.rc” whereas yours does (i.e., “rc /r xxx.rc” vs. “rc /r agentx”).

Or, to put it another way:

	$ cd src/cmd/wireshark/plugins
	$ ls
	Custom.nmake.example	ethercat		rlm
	Makefile		giop			rtnet
	Makefile.am		gryphon			rudp
	Makefile.in		irda			sbus
	Makefile.nmake		lwres			stats_tree
	agentx			m2m			tpg
	artnet			mate			unistim
	asn1			opcua			v5ua
	ciscosm			opsi			wimax
	docsis			pcli			wimaxasncp
	easy_codec		plugins.vcproj
	enttec			profinet
	$ diff agentx/Makefile.nmake artnet/Makefile.nmake
	$ diff agentx/Makefile.nmake rudp/Makefile.nmake
	$

I.e., the Makefile.nmake files for those three plugins are identical - that's the case for many of the plugins.

In other words, unless you have a *REALLY* good reason, the Makefile.nmake for your plugin should be identical to the Makefile.nmake for the agentx plugin (except for the RCS ID).