[omniORB] Windows link error using static libs

James Dempsey jdempsey@sctcorp.com
Wed, 29 Sep 1999 17:26:12 -0400



Hi,

I've just upgraded from OmniORB2.6.1 to OmniORB2.8.0 and
I'm having problems linking my application.  I'm using
Visual C++ 5.0 and linking in the static libraries using
the following command line:

 link /nologo  /subsystem:console /incremental:no
/out:TestAdapterIFB.exe
 TestAdapterIFB.obj ActionQueue_c.obj Workflow_c.obj omniORB2.lib
 omnithread.lib
 wsock32.lib advapi32.lib  -libpath:c:\OmniORB_280\lib\x86_win32

I get the following errors:

omniORB2.lib(gatekeeper.o) : error LNK2001: unresolved external
symbol "public:
__thiscall CORBA::TypeCode_member::~TypeCode_member(void)"
(??1TypeCode_member@C
ORBA@@QAE@XZ)
omniORB2.lib(tcpSocketMTfactory.o) : error LNK2001: unresolved
external symbol "
public: __thiscall
CORBA::TypeCode_member::~TypeCode_member(void)" (??1TypeCode_
member@CORBA@@QAE@XZ)
omniORB2.lib(libcWrapper.o) : error LNK2001: unresolved external
symbol "public:
 __thiscall CORBA::TypeCode_member::~TypeCode_member(void)"
(??1TypeCode_member@
CORBA@@QAE@XZ)
omniORB2.lib(relStream.o) : error LNK2001: unresolved external
symbol "public: _
_thiscall CORBA::TypeCode_member::~TypeCode_member(void)"
(??1TypeCode_member@CO
RBA@@QAE@XZ)

<..... more of the same ....>

This used to work fine with 2.6.1.  Any ideas what I'm doing
wrong?

Thanks,

Jim Dempsey
jdempsey@sctcorp.com