[omniORB] Long double on HP-UX

Roloff, Craig A craig.a.roloff at boeing.com
Wed Sep 7 08:48:25 BST 2005


I'm trying to build omniORB version 4.0.6 on my HP-UX 11i
machine using aCC.  Everything runs smoothly until:

aCC -c -O -w -mt +Z -I.. -I../../../../../src/lib/omniORB/orbcore/.. \
 -I../../../../include/omniORB4/internal \
 -I../../../../../include/omniORB4/internal -D_HPUX_SOURCE \
 -D_POSIX_C_SOURCE=199506L -DUSE_omniORB_logStream \
 -D_OMNIORB_LIBRARY -DOMNIORB_VERSION_STRING='"4.0.6"' \
 -DOMNIORB_VERSION_HEX='0x040006F1' \
 -DCONFIG_DEFAULT_LOCATION='"/site/sw/car9697/omni/etc/omniORB.cfg"' \
 -DCONFIG_ENV='"OMNIORB_CONFIG"' -DUnixArchitecture -I. \
 -I../../../../../src/lib/omniORB/orbcore -I../../../../include \
 -I../../../../../include -D__OSVERSION__=11 -D__hpux__ -D__hppa__ \
 -o static/anonObject.o \
 ../../../../../src/lib/omniORB/orbcore/anonObject.cc
Error 419: "../../../../../include/omniORB4/dynAny.h", line 160 #
    'LongDoubleSeq' is used as a type, but has not been defined as
    a type.
        virtual void insert_longdouble_seq(CORBA::LongDoubleSeq& va

I discovered the LongDoubleSeq definition is missing from
corbaidl_defs.hh even though the acconfig.h file has the line:

#define SIZEOF_LONG_DOUBLE 16

The build shows:

../../../bin/omniidl -bcxx -Wba -p../../../../src/lib/omniORB \
 -Wbdebug -v -nf -P -WbF -ComniORB4 ../../../../idl/corbaidl.idl
omniidl: Importing back-end 'cxx'
omniidl: 'cxx' imported from
'../../../../src/lib/omniORB/omniidl_be/cxx/__init__.pyc'
omniidl: Preprocessing '../../../../idl/corbaidl.idl' with \
 '/project/aero/swdev/perf/omni406/hp11i/lib/omnicpp -lang-c++ \
 -undef -D__OMNIIDL__=0x2420 -DHAS_LongLong -D__OMNIIDL_CXX__ \
 "../../../../idl/corbaidl.idl"'

It's missing the -DHAS_LongDouble argument.  Also the build shows:

aCC -c -O -w -mt +Z -DIDLMODULE_VERSION="\"0x2420\"" \
 -I/project/aero/swdev/perf/omni406/include \
 -DPYTHON_INCLUDE="<python1.5/Python.h>"  -I. \
 -I../../../../../src/tool/omniidl/cxx -I../../../../include \
 -I../../../../../include -D__OSVERSION__=11 -D__hpux__ -D__hppa__ \
 -o idlpython.o ../../../../../src/tool/omniidl/cxx/idlpython.cc

Any ideas?

Thanks,
Craig




More information about the omniORB-list mailing list