[omniORB] HELP needed: Link error on DIgital-Unix omniORB

Calvin Xu calvin.xu@mci.com
Fri, 4 Dec 1998 11:34:09 -0500


I downloaded and installed omniORB binary files in Digital Unix (alpha.
Version 4.0 with C++ compiler 6.1).
I got linking errors when trying to build examples(compiling is OK).
The error: --Make sure that the first noninlined virtual member function of
'CORBA::UNKNOWN' is defined.--
Could someone tell me how this can be corrected. Any help is highly
appreciated.
Thanks.
Calvin

The following is the whole output message:

/usr/bin/cxx -c -O -ptr
../../../cxx_respository -D__OMNIORB2__ -I../../../stub -D_REENTRANT -pthrea
d -I.  -I../../../include -D__alpha__ -D__osf1__ -D__OSVERSION__=4 -o
eg2_clt.o eg2_clt.cc
+ : eg2_clt
+ /usr/bin/cxx -o eg2_clt -O -ptr
../../../cxx_respository -call_shared -L../../../lib/alpha_osf1_4.0
eg2_clt.o
../../../stub/echoSK.o -lomniORB2 -lomnithread -lpthread -lmach -lc_r -ltcpw
rapGK -rpath ../../../lib/alpha_osf1_4.0
ld:
Unresolved:
CORBA::__vtbl_5CORBA7UNKNOWN  Make sure that the first noninlined virtual
member function of 'CORBA::UNKNOWN' is defined.
CORBA::__vtbl_5CORBA9NO_MEMORY  Make sure that the first noninlined virtual
member function of 'CORBA::NO_MEMORY' is defined.
CORBA::__vtbl_5CORBA12COMM_FAILURE  Make sure that the first noninlined
virtual member function of 'CORBA::COMM_FAILURE' is defined.
CORBA::__vtbl_5CORBA7MARSHAL  Make sure that the first noninlined virtual
member function of 'CORBA::MARSHAL' is defined.
CORBA::__vtbl_5CORBA13BAD_OPERATION  Make sure that the first noninlined
virtual member function of 'CORBA::BAD_OPERATION' is defined.
CORBA::__vtbl_5CORBA9TRANSIENT  Make sure that the first noninlined virtual
member function of 'CORBA::TRANSIENT' is defined.
CORBA::__vtbl_5CORBA8TypeCode  Make sure that the first noninlined virtual
member function of 'CORBA::TypeCode' is defined.
gnumake: *** [eg2_clt] Error 1