[omniORB] OmniORB 2.7.1 to 3.0.2 problem

Laurent Pointal laurent.pointal@lure.u-psud.fr
Thu, 21 Dec 2000 09:23:10 +0100


Hello,

Under windows NT4SP5, VC++6SP4.
Link with omniORB302_rtd.lib and omnithread2_rtd.lib

I switched a series of projects from 2.7.1 to 3.0.2 (to have same version 
of OmniORB for Python and for C++ - dont have to install both on ours 
platform and continue with active bug correction branch).

For compatibility, I use the following options to compile the IDL:
	omniidl -bcxx -v -WbBOA -Wbs=SK.cpp myIDLfile.idl
(tested with and without -Wbold too)

I have modified few headers to translate char* & into CORBA::String_out. 
And undefined the _T macro before including corba headers. And compilation 
is well.

Problem is at link:
A list of :
myFile.obj : error LNK2001: unresolved external symbol "public: __thiscall 
CORBA::TypeCode_member::~TypeCode_member(void)" 
(??1TypeCode_member@CORBA@@QAE@XZ)

And a list of (note: I dont use Any in this project):
myOtherFile.obj : error LNK2001: unresolved external symbol "public: 
__thiscall CORBA::Any::~Any(void)" (??1Any@CORBA@@QAE@XZ)

And a list of :
aThirdFile.obj : error LNK2001: unresolved external symbol "public: static 
void __cdecl CORBA::IDLType_Helper::release(class CORBA::_objref_IDLType 
*)" (?release@IDLType_Helper@CORBA@@SAXPAV_objref_IDLType@2@@Z)

(total: 127 errors)

An idea?

Thanks.

Laurent.

---
Laurent POINTAL - CNRS/LURE - Service Informatique Experiences
Tel/fax: 01 64 46 82 80 / 01 64 46 41 48
email  : laurent.pointal@lure.u-psud.fr  ou  lpointal@planete.net ou 
laurent.pointal@laposte.net