[omniORB] Compiling The Examples

John Lyle John@Lyle.com
Thu, 24 Sep 1998 16:06:05 +0100


Hi,

A plea for help from one just attempting to clamber up on to the CORBA
bandwagon.

I have sucessfully downloaded OMNIORB_2.5.0 on to my SUN Solaris 2.5
machine. Unfortunately I can't compile even the most basic examples as
described in the ORL documentation.

Starting from the ../src/examples/echo subdirectory I have attempted to
compile the "eg1" example using the gnu c++ compiler (version 2.7.2). I
typed :-

/opt/gnuc++/bin/gmake eg1

and I get ...

CC -c -O2 -fsimple  -D__OMNIORB2__ -I../../../stub -DUsePthread
-D_REENTRANT -mt -I. -I../../../include -D__sparc__ -D__sunos__
-D__OSVERSION__=5 -o eg1.o eg1.cc
"../../../include/omniORB2/CORBA.h", line 353: Error: The type
"CORBA::TypeCode" is incomplete.


 ... and many similar error messages all relating to CORBA::TypeCode
within the CORBA.h header file.


Is there a charitable sole out there that could point me in the right
direction ?
Did you all get the examples to work ?

Thanks for your patience in reading this far.

John Lyle

John@Lyle.com