[omniORB] Undefined symbol "__pure_virtual"

Peter van Heusden pvh@egenetics.com
Mon, 24 Jul 2000 16:51:31 +0200 (SAST)


Hi

I'm trying to compile omniORBpy 1.0, as part of omniORB 2.8.0, on FreeBSD
4-STABLE. The compiler is gcc/g++ 2.95.2.

As part of the 'gmake export' process, I get this error output:

../../../../../bin/x86_freebsd_3.2/omniidl -v -I../../../../../idl
-bpython -Wbinline -Wbno_package ../../../../../idl/ir.idl


omniidl: ERROR!

omniidl: Could not find IDL compiler module _omniidlmodule.so
omniidl: Please make sure it is in directory
/usr/ports/devel/omniORB/work/omniORB_280/lib/x86_freebsd_3.2
omniidl: (or set the PYTHONPATH environment variable)

omniidl: (The error was
`/usr/ports/devel/omniORB/work/omniORB_280/lib/x86_freebsd_3.2/_omniidlmodule.so: Undefined
symbol "__pure_virtual"')


As can be seen, the problem is the symbol __pure_virtual is included in
_omniidlmodule.so, but not defined. It turns out that this symbol is, in
turn, defined in the following .o files (locations relative to
omniORB/work/omniORB_280/src/lib/omniORBpy):

omniidl/cxx/idlast.o
omniidl/cxx/idlexpr.o
omniidl/cxx/idltype.o
omniidl/cxx/y.tab.o

Has anyone else seen this error? Is there a known fix?

Thanks,
Peter
--
Peter van Heusden				pvh@egenetics.com
Electric Genetics