[omniORB] omniORB with new aCC on HP-UX10.20

Paul Nader naderp@aals27.alcatel.com.au
Wed, 14 Oct 1998 10:04:40 +1000



Ralf,

I've always (i.e in previous releases) deleted the referenced to oodce
seemingly without problems. I seem to recount encountering  the second
problem (::operator) when compiling which aCC > 1.0.7. I've been able to
compile the latest snapshot with 1.0.7 without any problems.

Regards Paul.


> 
> Hi CORBAholics,
> 
> I've tried to compile the actual snapshot on HP-UX 10.20
> with the aCC compiler HP C++ A.01.09, HP C++ A.01.01 support lib.
> Unfortunately it's not the version of aCC mentioned as tested on HP.
> It's the latest release and I think it should be bachwards compatible.
> (I've tries it with version 2.5.0, too - nothing different)
> 
> I've got two essential problems:
> 
> ONE:
> ====
> aCC can't find the lib oodce. I have deleted this entry without knowing,   
> if
> this runs into trouble at the end of the compilation (I run into other   
> errors before that)
>  ---------------------------------------
> (set -x; \
> rm -f libomnithread.sl.2.0; \
> aCC -b -Wl,+hlibomnithread.sl.2 -o libomnithread.sl.2.0   
>  -L../../../../lib/hppa_hpux_10.20 \
>  -L ../../../../lib/hppa_hpux_10.20 \
> posix.o  -ldce -loodce -lcma ; \
> )
> + rm -f libomnithread.sl.2.0
> + aCC -b -Wl,+hlibomnithread.sl.2 -o libomnithread.sl.2.0   
>  -L../../../../lib/hppa_hpux_10.20 -L ../../../../lib/hppa_hpux_10.20   
> posix.o -ldce -loodce -lcma
> /opt/aCC/lbin/ld: Can't find library for -loodce
>  ---------------------------------------
> 
> 
> TWO:
> ====
> The compiler shows syntax errors on ::operator calls like the one below   
> in CORBA.h
> AND Naming.hh. WHY?
>  ---------------------------------------
> Error 420: "../../../include/omniORB2/CORBA.h", line 1202 # Syntax error   
> in
>     class or function declaration.
>      ::operator>>=((CORBA::ULong)_e,s);
>       ^^
>  ---------------------------------------
> 
> Does anybody have an idea or a solution to my problems?
> 
> 
> 
> 
> Regards
> 
>  Ralf Walther
> 
> 
> 
>  -----------------------------
> Neurotec Hochtechnologie GmbH
> Intelligente Systeme
> Ralf Walther
> Ehlerstrasse 15
> D-88046 Friedrichshafen
> 
> Tel:   (+49) 7541 / 3012-153
> Fax:   (+49) 7541 / 33013
> Email: rw@neurotec.de
> URL:   http://www.neurotec.de
> 
> 
> 
> 
> 
> 
> 
>