I think in my case, there are multiple IDL files
but not necessarily a master IDL file that includes
other IDL files.
Now another question is:
after I generate the C files, do I update the
Makefiles in the src directory and the plugins
directory or just the plugins directory?
When updating the Makefile, do I add the
file names under the DISSECTOR_SRC and also
update plugin_src and plugin_libs or not??
And do I need to build both directories and if
so in what order?
Finally, has anyone built using these makefiles
with Cygwin compiler? I had some trouble in cygwin
recognizing the idl2eth.sh so I called omniidl directly.
I am running on Windows 2k.
THANK YOU
-----Original Message-----
From: Frank Singleton [mailto:frank.singleton@xxxxxxxxxxxx]
Sent: Thursday, August 15, 2002 2:50 PM
To: Patnaik, Anjela
Cc: 'Bernd Becker'; 'ethereal-dev@xxxxxxxxxxxx'
Subject: Re: [Ethereal-dev] RE: omniidl usage for building ethereal
GIOP/corba plugin
"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).