[omniORB] New problems compiling on Solaris 7

Alwyn Schoeman alwyns@prism.co.za
Wed, 25 Oct 2000 12:36:26 +0200


I'm getting the following using omni3_develop as well as omniORBpy_devel
on the box:

CC -c -O2 -g    -DUsePthread -D_REENTRANT -mt -I. -I./.. -I./../.. 
-DUSE_omniORB_logStream -D_OMNIORB_LIBRARY -DUnixArchitecture 
-DCONFIG_DEFAULT_LOCATION='"/etc/omniORB.cfg"' -I.  -I../../../../include 
-D__sparc__ -D__sunos__ -D__OSVERSION__=5 -o corbaObject.o corbaObject.cc
"corbaObject.cc", line 525: Error: CORBA::UnMarshalObjRef(const char*, 
MemBufferedStream&) already had a body defined.
"corbaObject.cc", line 609: Error: CORBA::MarshalObjRef(CORBA::Object*, const 
char*, unsigned, MemBufferedStream&) already had a body defined.
2 Error(s) detected.
make[3]: *** [corbaObject.o] Error 2
make[3]: Leaving directory 
`/opt/prism/playground/omnicvs/omni/src/lib/omniORB2/orbcore'
make[2]: *** [export] Error 2
make[2]: Leaving directory 
`/opt/prism/playground/omnicvs/omni/src/lib/omniORB2'make[1]: *** [export] 
Error 2
make[1]: Leaving directory `/opt/prism/playground/omnicvs/omni/src/lib'
make: *** [export] Error 2 

On Wednesday 25 October 2000 11:09, Duncan Grisby wrote:
> On Tuesday 24 October, Alwyn Schoeman wrote:
> > 	Solaris 7
> > 	Workshop 5.0
> > 	Omniorb 3.0.2
> > 	Python 2.0 final
> >
> > Get the following error while doing /usr/local/bin/make export:
> >
> > CC -c -O2 -g  -Kpic -DIDLMODULE_VERSION="\"0x2301\"" -I/usr/local/include
> > -DPYTHON_INCLUDE="<python2.0/Python.h>" -I.  -I../../../../include
> > -D__sparc__ -D__sunos__ -D__OSVERSION__=5 -o idlpython.o idlpython.cc
> > "/opt/SUNWspro/SC5.0/include/CC/./string", line 59: Error: A typedef name
> > cannot be used in an elaborated type specifier..
>
> [...]
>
> I suspect that this is because of an unnecessary #include of
> iostream.h. Try updating from CVS, or last night's tarball, and see if
> that helps. I've just successfully compiled a CVS checkout on Solaris
> 7, with Workshop 6 (we don't have 5 any more), and Python 2.0.
>
> Cheers,
>
> Duncan.

-- 
~~~~~~~~~~~~~~~
Alwyn Schoeman

The clock on the wall keeps moving, time stands still.  No matter how
the dice may fall, someone else always gets to call the number.