[omniORB] HPUX11 issue: compile error in TRADITIONAL build

FredP frederic.prin at silvaco.com
Fri Nov 28 16:48:54 GMT 2003


Please can someone, help me:

I try to compile omniORB 4.0.1 (please don't tell me to use 4.0.3!!) on
HPUX11 with the TRADITIONAL method.
I follow the README.unix and README.hpux11 notes, download omnipython binary
for HPUX11, tweak config.mk and hppa_hpux_11.00.mk.

gnumake export

compiles starts and stop here with the following error:

aCC -c -O -w +inst_v
+DAportable -D_THREAD_SAFE -DRWSTD_MULTI_THREAD -DRW_MULTI_THREAD  -I.. -I./
.. -I../../../../include/omniORB4/internal -D_HPUX_SOURCE -D_POSIX_C_SOURCE=
199506L -DUSE_omniORB_logStream -D_OMNIORB_LIBRARY -DCONFIG_DEFAULT_LOCATION
='"/etc/omniORB.cfg"' -DCONFIG_ENV='"OMNIORB_CONFIG"' -DUnixArchitecture -I.
 -I. -I../../../../include -D__hppa__ -D__hpux__ -D__OSVERSION__=11 -o
static/anonObject.o anonObject.cc
Error 742: "../../../../include/omniORB4/stringtypes.h", line 397 # Source
type char *& and target type char * in a const_cast can only differ in their
qualifiers
            pd_data = OMNI_CONST_CAST(char*, s.pd_data);
                      ^^^^^^^^^^^^^^^

Is there other files to tweak ?

Please don't tell me to use autoconf , it's already done and it works!
But I want that all my omniORB builds share the same include files, so I
must use TRADITIONAL method.

Thanks.

------------------------------------------------------------
Frédéric Prin           Software Engineer
Silvaco G.RE.CE




More information about the omniORB-list mailing list