[omniORB] Buiding OmniOrb4 in HP-UX11.0

Rui Vaz est-r-vaz@ptinovacao.pt
Thu Dec 19 16:04:02 2002


Hello!

After 3-4 days i canīt build the Omniorb 4 in my HP-UX11.0 !
I have compile Omniorb 3.04 sucessfully without problems.

I execute configure with ' CC=cc CXX=aCC PYTHON=/full_path/omnipython ' and
i have uncomented the line in config.mk . Note: The version of omnipython is
1.5.2
After some secounds i have the error:

aCC -c -O -w +inst_v +DAportable -D_THREAD_SAFE -DRWSTD_MULTI_THREAD
-DRW_MULTI_THREAD  -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
-DCONFIG_DEFAULT_LOCATION='"/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 742: "../../../../../include/omniORB4/stringtypes.h", line 400 #
Source type char *& and target type char * in a const_cast can only
    differ in their qualifiers
            pd_data = const_cast<char*>(s.pd_data);
                                        ^^^^^^^^^  
Warning:        52 future errors were detected and suppressed. Either remove
the '-w' option or add a '+p' option to detect and fix them before they
become fatal errors in a future release.
hey become fatal errors in a future release.
GNUmake[4]: *** [static/anonObject.o] Error 2
GNUmake[4]: Leaving directory
`/home/rvaz/omniORB-4.0.0/build/src/lib/omniORB/orbcore'
GNUmake[3]: *** [export] Error 1

If someone have compile Omniorb 4 in HP-UX11.0 please tell me what i do!!

Thanks.
cheers
Rui Vaz