[omniORB] Problems Compiling omniORB2 2.80pre2 under HP 11.00

Sai-Lai Lo S.Lo@uk.research.att.com
03 Sep 1999 10:12:44 +0100


Looks like aCC is pathologically eating up all the memory. Try without the
optimisation flag -O.

Edit src/tool/omniild2/omniORB2_be/dir.mk, add the following:

ifdef HPUX
CXXDEBUGFLAGS =
endif


Also, -O2 is not a valid aCC flag, please change that to -O.
In file  mk/platforms/hppa_hpux_11.00.mk:

CXXDEBUGFLAGS = -O
CDEBUGFLAGS   = -O

Sai-Lai

>>>>> Dejan Polomcic writes:

> Hi ,
> I get compilation error when building omniORB 2.80 pre2 under HP UX
> 11.00

> the aCC compiler ver is aC++ A.03.13


> I get the following error:

> gmake[3]: Entering directory
> `/nasdumps/nas/NASCLIENTS/nasex/CORBA/src/omniORB_280pre2/src/tool/omniidl2/omniORB2_be'
> aCC -c -O2 -w -I /opt/aCC/include +inst_v +DAportable -I. -I../include 
> -I.  -I../../../../include -D__hppa__ -D__hpux__ -D__OSVERSION__=11 -ldi
> r o2be_interface.cc -o o2be_interface.o
> aCC: warning 901: unknown option: `-2': use +help for online
> documentation.
> Error 6355: "o2be_interface.cc", line 1446 # Out of memory. Check kernel
> maxdsiz parameter and swap space configured. (6355)
>     o2be_interface::produce_skel(std::fstream &s)
>                     ^^^^^^^^^^^^
> gmake[3]: *** [o2be_interface.o] Error 2
> gmake[3]: Leaving directory
> `/nasdumps/nas/NASCLIENTS/nasex/CORBA/src/omniORB_280pre2/src/tool/omniidl2/omniORB2_be'
> gmake[2]: *** [export] Error 1
> gmake[2]: Leaving directory
> `/nasdumps/nas/NASCLIENTS/nasex/CORBA/src/omniORB_280pre2/src/tool/omniidl2'
> gmake[1]: *** [export] Error 1
> gmake[1]: Leaving directory
> `/nasdumps/nas/NASCLIENTS/nasex/CORBA/src/omniORB_280pre2/src/tool'
> gmake: *** [export] Error 1

> thanks
> dejan 




-- 
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