Ethereal-dev: Re: [ethereal-dev] Re: More than one protocol in one plugin

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

Date: Wed, 30 Aug 2000 08:42:11 +0200
> What is really the problem ?

I have problems with the plugin table. I include in all my C files (or 
C++ files, but that's not the issue I think) plugins/plugin_api.h If I do 
that I get a lot of error mesages like this:
	packet-h225.obj: symbol '_proto_tree_add_item' already defined in packet-h323.obj

packet-h323.c is the main source file, it contains the entry functions for the 
plugin, the other files contain source called by this file.

If I don't include the plugin_api.h file, I get the following error message:
	packet-h225.obj: unresolved external '_proto_tree_add_item'

So I'm running around in circles. I tried to see if wrapping plugin_api.h in 
a #ifndef/#define/#endif pair would help, but it didn't.

-- 
Andreas Sikkema
andreas.sikkema@xxxxxxxxxxx
"Standing barefoot in a river of clues, most people would 
         not get their toes wet." - Brian Kantor in a.s.r.