[omniORB] omniorb3 on dec unix

Gnanasekaran Thoppae gnana@mips.biochem.mpg.de
Thu, 6 Jul 2000 21:41:06 +0200


Hello Sai,

omniORB3 pre 3 compiled successfully after the addition of this define.
Thanks!

-gnana

Quoting Sai-Lai Lo <S.Lo@uk.research.att.com>:
> Hi! Thanks for the report.
> 
> Please add the following define to <top>/include/omniORB3/CORBA_sysdep.h
> and tells me if the whole distribution build:
> 
> Line 218:
> #  if defined(__alpha) && !defined(__VMS)
> #     define SIZEOF_LONG 8
> #     define SIZEOF_INT  4
> #     define SIZEOF_PTR  8
> #  endif
> #  if __DECCXX_VER >= 60000000
> #     ifndef NO_Cplusplus_Bool
> #       define HAS_Cplusplus_Bool
> #     endif
> #     define HAS_Cplusplus_Namespace
> #     define HAS_Std_Namespace
> #     define HAS_pch
> #     define OMNI_REQUIRES_FQ_BASE_CTOR <-------- Add this define
> 
> 
> 
> 
> 
> >>>>> Gnanasekaran Thoppae writes:
> 
> >> 
> >> I am trying to compile omniORB3-pre3 on DEC unix with
> >> DIGITAL C++ V6.1-029 on DIGITAL UNIX V4.0 (Rev. 1229) compiler.
> >> 
> >> I get compile error. I am attaching the compile log. Please help
> >> me if someone out there has successfully compiled on DEC unix.
> >> 
> --- cut --
> > gmake[3]: Entering directory `/junk/gnana/omni/src/lib/omniORB2/orbcore'
> > /usr/bin/cxx -c -O -ptr ../../../../cxx_respository  -D_REENTRANT -pthread -I. -I./.. -I./../.. -DUSE_omniORB_logStream -D_OMNIORB_LIBRARY -DUnixArchitecture -DCONFIG_DEFAULT_LOCATION='"/etc/omniORB.cfg"' -I.  -I../../../../include -D__alpha__ -D__osf1__ -D__OSVERSION__=4 -o taskqueue.o taskqueue.cc
> > cxx: Error: ../../../../include/omniORB3/poa.h, line 391: 
> >           "UserException" is not a nonstatic data member or base class of
> >           class "PortableServer::POAManager::AdapterInactive"
> >     OMNIORB_DECLARE_USER_EXCEPTION(AdapterInactive, _core_attr)
> > ----^
> 
> -- 
> 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
> 
>