Ethereal-dev: [Ethereal-dev] Re: multiple versions of the same IDL file

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

From: Frank Singleton <frank.singleton@xxxxxxxxxxxx>
Date: Wed, 04 Sep 2002 06:55:19 -0500
"Patnaik, Anjela" wrote:
> 
> I have built some GIOP plugins using
> the Makefiles and idl2eth.
> 
> Now, several of my IDL files have newer
> versions so I was wondering if I need to
> rebuild the whole Ethereal package for
> each version.
> 

Generally, NO. Just create the new plugin source code using idl2eth

idl2eth ../somewhere/idlfile_v2.idl > plugins/giop/packet-idlfile-v2.c for example.

and update the Makefiles in plugins/giop directory.

Then, from top level ethereal directory do

1. ./autogen.sh
2. make
3. make install (as root)

and you should be ok.

> Say, I had
> idlFile1 v1
> idlFile2 v1
> These are compiled into Ethereal V1
> 
> Then, if I also have idlFile2 v2, do I need
> a Ethereal V2 or can I just recompile the changed
> IDL using a new name and have both versions
> available via the same executable?


Yes that would be ok, just give the new IDL file
a name that refelects its revision. So you 
should have both revisions available as plugins
to Ethereal.

You may wish to disable the v1 plugin via the
"Edit/Protocols" if you want v2 to do the
decoding.

Regards / Frank

-- 
EUS/SV/Z Frank Singleton      ASO Americas BSS
Office : +1 972 583 3251      ECN 800 33251  
Mobile : +1 214 228 0874      Amateur Radio: VK3FCS/KM5WS   
Email : frank.singleton@xxxxxxxxxxxx

Hardware: HP Omnibook 4150 running Redhat Linux 7.3 (2.4.18-5 kernel).