[Pkg-corba-devel] OpenCASCADE and Salomé

Adam C Powell IV hazelsct at debian.org
Wed Feb 27 17:29:11 UTC 2008


On Mon, 2008-02-25 at 15:36 +0100, Thomas Girard wrote:
> On Mon, Feb 25, 2008 at 03:23:31PM +0100, Thomas Girard wrote:
> > From a first sight, it seems to me that replacing:
> >   RefCountServantBase
> > with:
> >   ServantBase
> > 
> > in Salomé files should be enough.
> 
> So the following pipeline (modifying Salomé files, beware!), run from
> Salomé toplevel directory, should work:
>   find -type f -print0 | xargs -0 grep RefCountServantBase | cut -d: -f1 |
>     sort | uniq | xargs sed -i -e 's/RefCountServantBase/ServantBase/g'
> 
> Could you please try to compile this modified Salomé with omniORB 4.1 from
> unstable, and report if it succeeds?

Thanks for your help!  Unfortunately, it did not work. :-(

 g++ "-DPACKAGE_NAME=\"Salome2 Project\"" -DPACKAGE_TARNAME=\"salome\" -DPACKAGE_VERSION=\"3.2.5\" "-DPACKAGE_STRING=\"Salome2 Project 3.2.5\"" -DPACKAGE_BUGREPORT=\"gboulant at CS\" -DPACKAGE=\"salome\" -DVERSION=\"3.2.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_LIBDL=1 -DHAVE_LIBRT=1 -DHAVE_LIBM=1 -DHAVE_NAMESPACES= -DHAVE_PTHREAD=1 -D__x86__=1 -D__linux__=1 -D__OSVERSION__=1 -DOMNIORB=1 -DCORBA_HAVE_POA=1 -DCORBA_ORB_INIT_HAVE_3_ARGS=1 -DCORBA_ORB_INIT_THIRD_ARG=\"omniORB\" -DRM=\"/bin/rm\" -DSH=\"/bin/sh\" -DCP=\"/bin/cp\" -DRSH=\"/usr/bin/rsh\" -DRCP=\"/usr/bin/rcp\" -DSSH=\"/bin/false\" -DSCP=\"/bin/false\" -I. -I../../salome_adm/unix -I../../idl -DOMNIORB_VERSION=4 -D__x86__ -D__linux__ -DCOMP_CORBA_DOUBLE -DCOMP_CORBA_LONG -I/usr/include -I/usr/include/omniORB4 -I/usr/include/COS -DHAVE_MPI2 -DHAVE_SOCKET -m64 -D_OCC64 -g -D_DEBUG_ -Wno-deprecated -Wparentheses -Wreturn-type -Wunused -pthread -MT libSalomeLoggerServer_la-SALOME_Logger_Server.lo -MD -MP -MF .deps/libSalomeLoggerServer_la-SALOME_Logger_Server.Tpo -c SALOME_Logger_Server.cxx  -fPIC -DPIC -o .libs/libSalomeLoggerServer_la-SALOME_Logger_Server.o
In file included from SALOME_Logger_Server.cxx:12:
SALOME_Logger_Server.hxx:26: warning: direct base ‘PortableServer::ServantBase’ inaccessible in ‘Logger’ due to ambiguity
SALOME_Logger_Server.hxx:26: error: no unique final overrider for ‘virtual void* omniServant::_downcast()’ in ‘Logger’
SALOME_Logger_Server.hxx:26: error: no unique final overrider for ‘virtual omniObjRef* omniServant::_do_get_interface()’ in ‘Logger’
SALOME_Logger_Server.hxx:26: error: no unique final overrider for ‘virtual void omniServant::_add_ref()’ in ‘Logger’
SALOME_Logger_Server.hxx:26: error: no unique final overrider for ‘virtual void omniServant::_remove_ref()’ in ‘Logger’
make[3]: *** [libSalomeLoggerServer_la-SALOME_Logger_Server.lo] Error 1

I'm attaching the .cxx and .hxx files.

This is the first "fixed" file the build encountered.  If you have any
ideas on how to proceed, I'm all ears -- and have time to work on it.

-Adam
-- 
GPG fingerprint: D54D 1AEE B11C CE9B A02B  C5DD 526F 01E8 564E E4B6

Engineering consulting with open source tools
http://www.opennovation.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SALOME_Logger_Server.cxx
Type: text/x-c++src
Size: 1329 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-corba-devel/attachments/20080227/e5621e03/attachment.cxx 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SALOME_Logger_Server.hxx
Type: text/x-c++hdr
Size: 1401 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-corba-devel/attachments/20080227/e5621e03/attachment.hxx 


More information about the Pkg-corba-devel mailing list