[omniORB] Build Problem on HPUX 11.00 with aCC

Paul Nader Paul.Nader@aals27.alcatel.com.au
Tue, 05 Sep 2000 12:57:08 +1000


Hi,

When I compile omniORB 3.0.1 on HPUX 11.00 I  get the following error:

gmake[4]: Leaving directory
`/users13/naderp/src/corba/omniORB_3.0.1/src/tool/omniidl/cxx/cccp'
aCC -c -O -w +inst_v +DAportable -D_THREAD_SAFE -DRWSTD_MULTI_THREAD
-DRW_MULTI_THREAD  -DIDLMODULE_VERSION="\"0x2301\""
-I/users/naderp/python/hppa_11.00/include +Z -I.  -I../../../../include
-D__hppa__ -D__hpux__ -D__OSVERSION__=11 -ldir y.tab.cc -o y.tab.o
Error 439: Exact position unknown; near ["./idlscope.h", line 244]. #
Name
    'Kind' was redefined after its use in a class. A previous
declaration used
    "enum Scope::Kind" ["./idlscope.h", line 119].
gmake[3]: *** [y.tab.o] Error 2

which looks to me its a compiler bug. I'm using:

/opt/aCC/bin/aCC:
        HP aC++ B3910B A.03.25
        HP aC++ B3910B X.03.14.12 Language Support Library

Has anyone build omniORB on HPUX 11.00 with aCC?. What compiler
version should I be using?

Thanks, Paul.