[omniORB] Having problem with AIX Build

Craig Rodrigues rodrigc@mediaone.net
Fri, 21 Jan 2000 18:20:44 -0500


On Fri, Jan 21, 2000 at 03:46:45PM -0600, vmavuri@McLeodUSA.com wrote:
> 
> 
> Hi all,
> 
> Would any one please help me in building this omniORB on AIX 4.2 with xlC
> 3.1.x/3.6.x.
> 
> I am getting stuck (build is hanging forever) in the following script.
> 
> xlC_r -c -O -qmaxmem=8192   -I../../../../include -D_REENTRANT -D_THREAD_SAFE
> -I.
> -I./.. -I./../.. -DUSE_omniORB_logStream -D_OMNIORB2_DYNAMIC_LIBRARY
> -DUnixArchitecture
> -DCONFIG_DEFAULT_LOCATION=/etc/omniORB.cfg -D__aix__ -D__powerpc__
> -D__OSVERSION__=4 -o irstub.o irstub.cc

Go in the file mk/platforms/powerpc_aix_4.2.mk and change
CXXDEBUGFLAGS = -O
to
CXXDEBUGFLAGS =

and then try recompiling.

The xlC optimizer needs a lot of CPU and disk space, and for certain
AIX hardware which is not powerful enough, this section of the omniORB
code will fail to compile.
-- 
Craig Rodrigues        
http://www.gis.net/~craigr    
rodrigc@mediaone.net