[omniORB] ...must implement the inherited pure virtual method 'omniServant::_do_get_interface'

Duncan Grisby duncan at grisby.org
Mon Nov 14 16:50:30 GMT 2011


On Mon, 2011-11-14 at 16:49 +0100, Michael Lipp wrote:

> thank you very much for your response. I'm using the calc.idl example
> that I found on the net (appended). I didn't change anything in the
> generated sources except for the things I mentioned (and the problem was
> marked by the compiler from the beginning).
> 
> I'm using Ubuntu 11.10 which implies gcc 4.6.1 and omniorb 4.1.5.

How are you invoking the compiler?  The code you sent works fine for me
with this command line, albeit with gcc 4.5.1 on Fedora:

g++ -Wall -Wno-unused -fexceptions  -D__OMNIORB4__ -I
$HOME/omni/41inst/include -I. -D_REENTRANT -D__OSVERSION__=2 -D__linux__
-D__x86_64__ -L$HOME/omni/41inst/lib -lomniORB4 -lomnithread calc_i.cc
calcSK.cc -o calc_i

Cheers,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --





More information about the omniORB-list mailing list