[omniORB] OmniORB2 Loop Problem on IBM OS/390 UNIX

Sai-Lai Lo S.Lo@uk.research.att.com
14 Jan 2000 16:36:53 +0000


Does the examples in <top>/src/examples/echo compile and work?
In particular, can omniidl2 compiles <top>/idl/echo.idl?

omniidl2 should be able to parse your IDL file.

If it is a port problem, it may be something to do with the
the preprocessor output that the IDL compiler frontend reads.
Or it is something to do with the silly lf versis cr-lf end of line.

Sai-Lai



>>>>> Werner Nussbaumer writes:

> I ported OmniORB 2 to an IBM OS/390 UNIX. Basically I used the
> configuration of IBM AIX. It compiled without problems. However if I
> start the IDL compiler, the it starts to loop:

> T096058: /usr/apps/asi390/asigen/src/compnent/asiidl:==> gmake idl
>>>> Generating <asigen.idl> file...
> T096058: /usr/apps/asi390/asigen/src/compnent/asiidl:==>

> T096058: /usr/apps/asi390/asigen/src/compnent/asiidl:==> gmake
> IDL-ing <asigen.idl>... 
> /usr/apps/asi390/omniORB/bin/omniidl2 -m -h .h -s .cc  asigen.idl
> /usr/apps/asi390/omniORB/bin/omniidl2: "asigen.idl", line -1: Statement
> can not be parsed
> /usr/apps/asi390/omniORB/bin/omniidl2: "asigen.idl", line -1: Statement
> can not be parsed
> /usr/apps/asi390/omniORB/bin/omniidl2: "asigen.idl", line -1: Statement
> can not be parsed
> /usr/apps/asi390/omniORB/bin/omniidl2: "asigen.idl", line -1: Statement
> can not be parsed
> /usr/apps/asi390/omniORB/bin/omniidl2: "asigen.idl", line -1: Statement
> can not be parsed
> ...
> and so on, never ending loop. Below find the start of the IDL file.


> Does anyone know why it loops?

> Thanks a lot,
> regards
> Werner Nussbaumer

> *************************************

> #ifndef __IDL_COMMON__
> #define __IDL_COMMON__

> //==========================================================================
> // General ASI exception
> //==========================================================================
> exception AsiException {
>         short code;
>         string reason;
> } ;


> //==========================================================================
> // Type representing an instance number
> //==========================================================================
> typedef unsigned short TInstance ;


> //==========================================================================
> // Type representing an action node
> //==========================================================================
> typedef unsigned short TNodeID ;

> //==========================================================================
> // Type representing an process ID
> //==========================================================================
> typedef unsigned long TPID ;


> //==========================================================================
> // The key of a service definition
> //==========================================================================
> struct TDefActionKey {
>         string          serviceName ;
>         TInstance       serviceInstance ;
>         TNodeID                 nodeID ;
> } ;



-- 
Sai-Lai Lo                                   S.Lo@uk.research.att.com
AT&T Laboratories Cambridge           WWW:   http://www.uk.research.att.com 
24a Trumpington Street                Tel:   +44 1223 343000
Cambridge CB2 1QA                     Fax:   +44 1223 313542
ENGLAND