[omniORB] Build process on HPUX 11.23

Matej Kenda matej.kenda at hermes.si
Tue Jan 18 14:17:57 GMT 2005


Hi Duncan,

I'd like to point out a few observations that I have found when
compiling omniORB and omniORBpy on HPUX 11.23:


1. I was unable to make omkdepend work on this platform. It compiled but
it dumps core when trying to make .d files:

gmake[3]: Entering directory `/home/matejk/omniorb/omni/src/tool/omniidl/cxx'
../../../../bin/hppa_hpux_11.23/omkdepend -D__cplusplus -DIDLMODULE_VERSION="0x2420" -I/usr/local/aCCPython/include -DPYTHON_INCLUDE=<python2.3/Python.h> +z -I. -I. -I../../../../include -D__hppa__ -D__hpux__ -D__OSVERSION__=11 +DD64 idlc.cc idlpython.cc idlfixed.cc idlconfig.cc idldump.cc idlvalidate.cc idlast.cc idlexpr.cc idlscope.cc idlrepoId.cc idltype.cc idlutil.cc idlerr.cc lex.yy.cc y.tab.cc
../../../../bin/hppa_hpux_11.23/omkdepend: warning:  cannot op../../../../bin/hppa_hpux_11.23/omkdepend: error:  got signal 11
making export in src/tool/omniidl/cxx/cccp...


2. Makefiles for Python modules don't include "master" definitions and
have to be changed separately. Is there a special reason for that?

tool/omniidl/cxx/dir.mk
lib/omniORBpy/modules/dir.mk
lib/omniORBpy/modules/codesets/dir.mk
lib/omniORBpy/modules/sslTP/dir.mk

I have changed the makefiles to make the modules compile using latest
aCC, but I'm afraid that the changes are not compatible with other HPUX
platforms.

I have attached the changes that I made to the makefiles.


3. The compiler wrote some warnings that are worth to take a look at:

Warning 749: "../../../../include/omniORB4/internal/typecode.h", line
169 # The cast from 'CORBA::TypeCode *' to 'omni::TypeCode_base *' is
performed as a 'reinterpret_cast'. This operation is non-portable and
potentially unsafe.
      return (TypeCode_base*) a;
             ^^^^^^^^^^^^^^^^
Warning 740: "../../../../include/omniORB4/internal/typecode.h", line
169 # Unsafe cast between pointers/references to incomplete classes:
casting 'CORBA::TypeCode *' to 'omni::TypeCode_base *'.
      return (TypeCode_base*) a;
                              ^
Warning 749: "../../../../include/omniORB4/internal/typecode.h", line
180 # The cast from 'const CORBA::TypeCode *' to 'const
omni::TypeCode_base *' is performed as a 'reinterpret_cast'. This
operation is non-portable and potentially unsafe.
      return (const TypeCode_base*)a;
             ^^^^^^^^^^^^^^^^^^^^^^
Warning 740: "../../../../include/omniORB4/internal/typecode.h", line
180 # Unsafe cast between pointers/references to incomplete classes:
casting 'const CORBA::TypeCode *' to 'const omni::TypeCode_base *'.
      return (const TypeCode_base*)a;
                                   ^

Best regards,

Matej

-- 
Matej Kenda, Lead Engineer
HERMES SoftLab (www.hermes-softlab.com)
Erjavčeva 2, 5000 Nova Gorica, Slovenia
-------------- next part --------------
A non-text attachment was scrubbed...
Name: makefiles.diff
Type: text/x-patch
Size: 4500 bytes
Desc: not available
Url : http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20050118/169b73c2/makefiles.bin


More information about the omniORB-list mailing list