[omniORB] possible bug in omniidl2

Sai-Lai Lo S.Lo@orl.co.uk
06 Apr 1998 20:07:56 +0100


Micheal,

omniidl2 uses getopt() to parse the input arguments.
The Solaris version conforms to the POSIX standard. The linux version is
extended. Try this on linux:

$ export POSIXLY_CORRECT=1
$ omniidl2 -v point.idl -s .sk

You'll get the same error as the Solaris version.

Regards,

Sai-Lai


Michael Stokes <stokes@ERC.MsState.Edu> writes:

> 
> I'm running on a SUN where uname -a reports a SunOS 5.5.1. I'm told this
> is equivalent to Solaris 2.5 which is supported by omni.
> 
> On a Linux box, I can run "omniidl2 point.idl -s .sk" and all works fine.
> When I run the same command on the SUN, it fails to process the -s option
> properly.  If I run "omniidl2 -s .sk point.idl", this works OK as well.
> 
> If I run "omniidl2 -v point.idl -s .sk" I get the following...
> 
> omniidl2: preprocessing point.idl 
> omniidl2: parsing point.idl 
> omniidl2: BE processing on point.idl 
> omniidl2: preprocessing -s 
> omniidl2: cannot open input file
> bash-2.00$ 
> 
> Any ideas?
> 

-- 
Dr. Sai-Lai Lo                          |       Research Scientist
                                        |
E-mail:         S.Lo@orl.co.uk          |       Olivetti & Oracle Research Lab
                                        |       24a Trumpington Street
Tel:            +44 223 343000          |       Cambridge CB2 1QA
Fax:            +44 223 313542          |       ENGLAND