Ethereal-dev: Re: [Ethereal-dev] RE: omniidl usage for building ethereal GIOP/corba plugin

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: Thu, 15 Aug 2002 13:49:36 -0500
"Patnaik, Anjela" wrote:
> 
> Hi,
> finally i seem to be able to generate C code from
> omniidl.
> Now, I have 23 IDL files. I notice that
> if I do the below , all go to the same C file, but it
> does the #includes for each and every IDL file and
> puts them all in the same C file.
> 
>  omniidl -p ./ -b ethereal_be -nc *.idl > test.c
> 
> Is this meant to be used on one IDL file at a time?
> Should there be a different C file per IDL file?


Hi,

I generally put the name of the master IDL file only, then the 
other IDL's are included as required when omniidl parses it.

eg: 
 omniidl -p ./ -b ethereal_be -nc masterfilename.idl > test.c
 
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).