[omniORB] Problems with CORBA.h on Solaris
Silvio Macedo
smacedo@newton.inescn.pt
Fri, 24 Apr 1998 18:21:02 +0100 (WET DST)
On Thu, 23 Apr 1998, Jan Lessner wrote:
> Hi omniORB'ers
> I got heavy problems compiling the omniORB 2.5 source code. It's caused
> by the declaration order in CORBA.h.
> I know what the compiler complains about but the problems are so basic
> that it seems I understood something completely wrong (omniORB 2.2
> worked perfectly well). Just one example:
> In line 1578 starts the declaration of TypeCode but in line 353 (and
> many others) TypeCode is already used in a new-Statement.. Consequently
> the compiler complains:
>
> "../../../include/omniORB2/CORBA.h", line 353: Error: The type
> "CORBA::TypeCode" is incomplete.
>
> Do I have to use a newer compiler version (I'm using CC version 3.0.1 I
> think).
>
> Regards,
>
> Jan Lessner, C-LAB
>
>
Hi there!
I've just compiled OmniORB 2.5 on a Sun Sparc, running Solaris2.5.
To do this, I had to download GNU make (eg: make-3.76.1.tar.gz),
and compile it. Then, everything went ok...
I'm using gcc 2.7.2.1.
Maybe, CC3.01 won't do it...
Also, I've no CC3.01 installed....We prefer using gcc...
No special edits on makefiles, other than suggested...
________________________________________________/--------------
________ __ ____ Silvio Macedo