[omniORB] starting trouble on irix

Roland Jesse jesse@mail.CS.Uni-Magdeburg.De
20 Feb 2001 19:46:55 +0100


Hi,

I just downloaded and installed the Irix binary of the latest and
greatest omniORB (3.0.2).

Going through the first little example in the User Guide leaves me
with:

Echo.idl:

interface Echo {
   string echoString(in string mesg);
};

Echo_impl.h:

#include "Echo.hh"

class Echo_impl : public POA_Echo, 
				  public PortableServer::RefCountServantBase
{
  public:
   inline Echo_impl() {}
   virtual ~Echo_impl() {}
   virtual char* echoString(const char*);
};

Echo_impl.cc:

#include "Echo_impl.h"

char*
Echo_impl::echoString(const char* mesg)
{
   return CORBA::string_dup(mesg);
}

No need to go into the client code here as the compiler (MIPSpro
7.3.1.1m) already complains about the above with:

------- snip -------
	CC -c -n32 -mips3 -LANG:std -LANG:bool=ON -woff 1021,1209,1233,1314,1355,1375,1506 -fullwarn -O2 -OPT:Olimit=3000 -DNO_DEBUG -I/scratch/jesse/omni/include -I/usr/local/qt/include -o Echo_impl.o Echo_impl.cc
cc-1035 CC: WARNING File = /scratch/jesse/omni/include/omnithread.h, Line = 158
  #error directive:  "No implementation header file"

  #error "No implementation header file"
   ^

cc-1035 CC: WARNING File = /scratch/jesse/omni/include/omnithread.h, Line = 169
  #error directive:  "Implementation header file incomplete"

  #error "Implementation header file incomplete"
   ^

cc-1077 CC: ERROR File = /scratch/jesse/omni/include/omnithread.h, Line = 219
  The indicated declaration has no storage class or type specifier.

      OMNI_MUTEX_IMPLEMENTATION
      ^
------- snap -------

Is that known behavior? Echo.hh was generated with "omniidl -bcxx
Echo.idl".

Suggestens on what I am missing here are greatly appreciated.

Regards

        Roland