[omniORB] SGI Compilation

Matthew Bettencourt matt@ssc.usm.edu
Mon Feb 10 21:42:02 2003


I am having trouble comping omniORB on an IRIX system.  I am hoping to 
remove my dependence on ORBacus (a fine product but not GPL) for a 
project I am working on and I will need to be able to use this on AIX, 
OSF and IRIX (well, and linux but that is always the simplest).  I am 
starting with the SGI and I am getting a lot of the following errors.

<http://www.omniorb-support.com/pipermail/omniorb-list/2002-September/021605.html> 
talks about this but there is no reply to his mail.  I am curious if it 
is a problem with a known workaround or what.?
Thanks
matt
P.S, I am using 4.0.0 of omniORB and
ruby 19% CC -version
MIPSpro Compilers: Version 7.3.1.3m
but I have access to others if that would help


CC -c -O2 -OPT:Olimit=0 -n32 -float -ansi -LANG:exceptions=ON -woff 
3303,1110,1182 -I.. -I./.. -I../../../../include/omniORB4/internal 
-I../../../../include/omniORB4/internal  -DUSE_omniORB_logStream 
-D_OMNIORB_LIBRARY -DCONFIG_DEFAULT_LOCATION='"/etc/omniORB.cfg"' 
-DCONFIG_ENV='"OMNIORB_CONFIG"' -DUnixArchitecture -I. -I. 
-I../../../../include -I../../../../include -D__OSVERSION__=6 -D__irix__ 
-D__mips__ -o static/anonObject.o anonObject.cc
cc-1265 CC: ERROR File = ../../../../include/omniORB4/poa.h, Line = 413
   "UserException" is not a nonstatic data member or base class of class
           "PortableServer::POAManager::AdapterInactive".

       OMNIORB_DECLARE_USER_EXCEPTION(AdapterInactive, _core_attr)
       ^

cc-1265 CC: ERROR File = ../../../../include/omniORB4/poa.h, Line = 463
   "UserException" is not a nonstatic data member or base class of class
           "PortableServer::POA::AdapterAlreadyExists".