[omniORB] link error under NT4.0 (sp3) \w MS-VC5 (sp3)

Tameem Khan tameem_khan@yahoo.com
Mon, 26 Oct 1998 11:32:19 -0800 (PST)


---2138541009-570397931-909430339=:19905
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hello everyone,

  I just finish my program using omniORB2.60.  The problem is when I compiled and linked the program it gives 81 linker errors (see attached err1.txt file).  Than I read the reamde and added the include and lib paths to the Tools->Optins->Directories. After that I added the things to C/C++ tab under Project->settings. I also added the following line to Project->settings->link tab->category=Input->Object/libraries modules:- 
  wsock32.lib,advapi32.lib,omniORB260_rtd.lib,omnithread2_rtd.lib

But now it gives the following error:-

Linking...
LINK : fatal error LNK1104: cannot open file "wsock32.lib,advapi32.lib,omniORB260_rtd.lib,omnithread2_rtd.lib"
Error executing link.exe.

Demo.exe - 1 error(s), 5 warning(s)

Can anyone explain what I am doing wrong.

Thank you,
Tameem


_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com

---2138541009-570397931-909430339=:19905
Content-Type: text/plain; name="err1.txt"
Content-Description: err1.txt
Content-Disposition: inline; filename="err1.txt"

Deleting intermediate files and output files for project 'Demo - Win32 Debug'.
--------------------Configuration: Demo - Win32 Debug--------------------
Compiling resources...
Compiling...
StdAfx.cpp
Compiling...
Demo.cpp
DemoDlg.cpp
C:\vcpp32\Demo2\method.cpp(68) : warning C4101: 'ex' : unreferenced local variable
C:\vcpp32\Demo2\method.cpp(68) : warning C4101: 'ex' : unreferenced local variable
C:\vcpp32\Demo2\method.cpp(68) : warning C4101: 'ex' : unreferenced local variable
C:\vcpp32\Demo2\method.cpp(68) : warning C4101: 'ex' : unreferenced local variable
C:\vcpp32\Demo2\DemoDlg.cpp(230) : warning C4101: 'ex' : unreferenced local variable
echoSK.cpp
Generating Code...
Linking...
DemoDlg.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall omni_thread::init_t::init_t(void)" (__imp_??0init_t@omni_thread@@QAE@XZ)
echoSK.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall omni_thread::init_t::init_t(void)" (__imp_??0init_t@omni_thread@@QAE@XZ)
DemoDlg.obj : error LNK2001: unresolved external symbol "public: class CORBA::BOA * __thiscall CORBA::ORB::BOA_init(int &,char * *,char const *)" (?BOA_init@ORB@CORBA@@QAEPAVBOA@2@AAHPAPADPBD@Z)
DemoDlg.obj : error LNK2001: unresolved external symbol "class CORBA::ORB * __cdecl CORBA::ORB_init(int &,char * *,char const *)" (?ORB_init@CORBA@@YAPAVORB@1@AAHPAPADPBD@Z)
DemoDlg.obj : error LNK2001: unresolved external symbol "bool __cdecl _CORBA_use_nil_ptr_as_nil_objref(void)" (?_CORBA_use_nil_ptr_as_nil_objref@@YA_NXZ)
echoSK.obj : error LNK2001: unresolved external symbol "bool __cdecl _CORBA_use_nil_ptr_as_nil_objref(void)" (?_CORBA_use_nil_ptr_as_nil_objref@@YA_NXZ)
DemoDlg.obj : error LNK2001: unresolved external symbol "public: bool __thiscall CORBA::Object::NP_is_nil(void)const " (?NP_is_nil@Object@CORBA@@QBE_NXZ)
echoSK.obj : error LNK2001: unresolved external symbol "public: bool __thiscall CORBA::Object::NP_is_nil(void)const " (?NP_is_nil@Object@CORBA@@QBE_NXZ)
DemoDlg.obj : error LNK2001: unresolved external symbol "public: void __thiscall CORBA::Object::NP_release(void)" (?NP_release@Object@CORBA@@QAEXXZ)
echoSK.obj : error LNK2001: unresolved external symbol "public: void __thiscall CORBA::Object::NP_release(void)" (?NP_release@Object@CORBA@@QAEXXZ)
DemoDlg.obj : error LNK2001: unresolved external symbol "public: static class CORBA::Object * __cdecl CORBA::Object::_nil(void)" (?_nil@Object@CORBA@@SAPAV12@XZ)
DemoDlg.obj : error LNK2001: unresolved external symbol "public: static class CosNaming::NamingContext * __cdecl CosNaming::NamingContext::_narrow(class CORBA::Object *)" (?_narrow@NamingContext@CosNaming@@SAPAV12@PAVObject@CORBA@@@Z)
DemoDlg.obj : error LNK2001: unresolved external symbol "public: class CORBA::Object * __thiscall CORBA::ORB::resolve_initial_references(char const *)" (?resolve_initial_references@ORB@CORBA@@QAEPAVObject@2@PBD@Z)
DemoDlg.obj : error LNK2001: unresolved external symbol "char * __cdecl CORBA::string_alloc(unsigned long)" (?string_alloc@CORBA@@YAPADK@Z)
echoSK.obj : error LNK2001: unresolved external symbol "char * __cdecl CORBA::string_alloc(unsigned long)" (?string_alloc@CORBA@@YAPADK@Z)
DemoDlg.obj : error LNK2001: unresolved external symbol "void __cdecl CORBA::string_free(char *)" (?string_free@CORBA@@YAXPAD@Z)
echoSK.obj : error LNK2001: unresolved external symbol "void __cdecl CORBA::string_free(char *)" (?string_free@CORBA@@YAXPAD@Z)
DemoDlg.obj : error LNK2001: unresolved external symbol "void __cdecl _CORBA_new_operator_return_null(void)" (?_CORBA_new_operator_return_null@@YAXXZ)
DemoDlg.obj : error LNK2001: unresolved external symbol "void __cdecl _CORBA_bound_check_error(void)" (?_CORBA_bound_check_error@@YAXXZ)
DemoDlg.obj : error LNK2001: unresolved external symbol "public: static class CosNaming::NamingContext * __cdecl CosNaming::NamingContext_Helper::_nil(void)" (?_nil@NamingContext_Helper@CosNaming@@SAPAVNamingContext@2@XZ)
DemoDlg.obj : error LNK2001: unresolved external symbol "public: static void __cdecl CosNaming::NamingContext_Helper::release(class CosNaming::NamingContext *)" (?release@NamingContext_Helper@CosNaming@@SAXPAVNamingContext@2@@Z)
DemoDlg.obj : error LNK2001: unresolved external symbol "public: static bool __cdecl CosNaming::NamingContext_Helper::is_nil(class CosNaming::NamingContext *)" (?is_nil@NamingContext_Helper@CosNaming@@SA_NPAVNamingContext@2@@Z)
echoSK.obj : error LNK2001: unresolved external symbol "char const * const  omniORB_2_6" (?omniORB_2_6@@3PBDB)
echoSK.obj : error LNK2001: unresolved external symbol "bool __cdecl _omni_callSystemExceptionHandler(class omniObject *,unsigned long,class CORBA::SystemException const &)" (?_omni_callSystemExceptionHandler@@YA_NPAVomniObject@@KABVSystemException@
CORBA@@@Z)
echoSK.obj : error LNK2001: unresolved external symbol "bool __cdecl _omni_callCommFailureExceptionHandler(class omniObject *,unsigned long,class CORBA::COMM_FAILURE const &)" (?_omni_callCommFailureExceptionHandler@@YA_NPAVomniObject@@KABVCOMM_FAIL
URE@CORBA@@@Z)
echoSK.obj : error LNK2001: unresolved external symbol "bool __cdecl _omni_callTransientExceptionHandler(class omniObject *,unsigned long,class CORBA::TRANSIENT const &)" (?_omni_callTransientExceptionHandler@@YA_NPAVomniObject@@KABVTRANSIENT@CORBA@
@@Z)
echoSK.obj : error LNK2001: unresolved external symbol "public: void __thiscall omniObject::resetRopeAndKey(void)" (?resetRopeAndKey@omniObject@@QAEXXZ)
echoSK.obj : error LNK2001: unresolved external symbol "public: void __thiscall omniObject::setRopeAndKey(class omniRopeAndKey const &,bool)" (?setRopeAndKey@omniObject@@QAEXABVomniRopeAndKey@@_N@Z)
echoSK.obj : error LNK2001: unresolved external symbol "public: class omniObject * __thiscall CORBA::Object::PR_getobj(void)" (?PR_getobj@Object@CORBA@@QAEPAVomniObject@@XZ)
echoSK.obj : error LNK2001: unresolved external symbol "public: class omniORB::logStream & __thiscall omniORB::logStream::flush(void)" (?flush@logStream@omniORB@@QAEAAV12@XZ)
echoSK.obj : error LNK2001: unresolved external symbol "public: class omniORB::logStream & __thiscall omniORB::logStream::operator<<(char const *)" (??6logStream@omniORB@@QAEAAV01@PBD@Z)
echoSK.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) class omniORB::logStream &  omniORB::log" (__imp_?log@omniORB@@3AAVlogStream@1@A)
echoSK.obj : error LNK2001: unresolved external symbol "public: static class CORBA::Object * __cdecl CORBA::Object::unmarshalObjRef(class NetBufferedStream &)" (?unmarshalObjRef@Object@CORBA@@SAPAV12@AAVNetBufferedStream@@@Z)
echoSK.obj : error LNK2001: unresolved external symbol "public: __thiscall GIOP_C::~GIOP_C(void)" (??1GIOP_C@@QAE@XZ)
echoSK.obj : error LNK2001: unresolved external symbol "public: void __thiscall GIOP_C::RequestCompleted(bool)" (?RequestCompleted@GIOP_C@@QAEX_N@Z)
echoSK.obj : error LNK2001: unresolved external symbol "public: void __thiscall NetBufferedStream::get_char_array(unsigned char *,int,bool)" (?get_char_array@NetBufferedStream@@QAEXPAEH_N@Z)
echoSK.obj : error LNK2001: unresolved external symbol "public: unsigned int __thiscall NetBufferedStream::RdMessageUnRead(void)const " (?RdMessageUnRead@NetBufferedStream@@QBEIXZ)
echoSK.obj : error LNK2001: unresolved external symbol "public: enum GIOP::ReplyStatusType  __thiscall GIOP_C::ReceiveReply(void)" (?ReceiveReply@GIOP_C@@QAE?AW4ReplyStatusType@GIOP@@XZ)
echoSK.obj : error LNK2001: unresolved external symbol "void __cdecl _CORBA_null_string_ptr(bool)" (?_CORBA_null_string_ptr@@YAX_N@Z)
echoSK.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) unsigned long  omniORB::traceLevel" (__imp_?traceLevel@omniORB@@3KA)
echoSK.obj : error LNK2001: unresolved external symbol "public: void __thiscall NetBufferedStream::put_char_array(unsigned char const *,int,bool,bool)" (?put_char_array@NetBufferedStream@@QAEXPBEH_N1@Z)
echoSK.obj : error LNK2001: unresolved external symbol "public: void __thiscall GIOP_C::InitialiseRequest(void const *,unsigned int,char const *,unsigned int,unsigned int,bool)" (?InitialiseRequest@GIOP_C@@QAEXPBXIPBDII_N@Z)
echoSK.obj : error LNK2001: unresolved external symbol "public: static unsigned int __cdecl GIOP_C::RequestHeaderSize(unsigned int,unsigned int)" (?RequestHeaderSize@GIOP_C@@SAIII@Z)
echoSK.obj : error LNK2001: unresolved external symbol "public: bool __thiscall Strand::Sync::isReUsingExistingConnection(void)const " (?isReUsingExistingConnection@Sync@Strand@@QBE_NXZ)
echoSK.obj : error LNK2001: unresolved external symbol "public: __thiscall GIOP_C::GIOP_C(class Rope *)" (??0GIOP_C@@QAE@PAVRope@@@Z)
echoSK.obj : error LNK2001: unresolved external symbol "public: bool __thiscall omniObject::getRopeAndKey(class omniRopeAndKey &)const " (?getRopeAndKey@omniObject@@QBE_NAAVomniRopeAndKey@@@Z)
echoSK.obj : error LNK2001: unresolved external symbol "public: void __thiscall omniObject::assertObjectExistent(void)" (?assertObjectExistent@omniObject@@QAEXXZ)
echoSK.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned char const  omni::myByteOrder" (__imp_?myByteOrder@omni@@2EB)
echoSK.obj : error LNK2001: unresolved external symbol "private: void __thiscall NetBufferedStream::reserve(unsigned int,bool,bool)" (?reserve@NetBufferedStream@@AAEXI_N0@Z)
echoSK.obj : error LNK2001: unresolved external symbol "private: void __thiscall NetBufferedStream::giveback_reserved(bool,bool)" (?giveback_reserved@NetBufferedStream@@AAEX_N0@Z)
echoSK.obj : error LNK2001: unresolved external symbol "private: void __thiscall NetBufferedStream::receive(unsigned int,bool)" (?receive@NetBufferedStream@@AAEXI_N@Z)
echoSK.obj : error LNK2001: unresolved external symbol "private: void __thiscall NetBufferedStream::giveback_received(bool)" (?giveback_received@NetBufferedStream@@AAEX_N@Z)
echoSK.obj : error LNK2001: unresolved external symbol "public: virtual char const * __thiscall CORBA::UNKNOWN::NP_RepositoryId(void)const " (?NP_RepositoryId@UNKNOWN@CORBA@@UBEPBDXZ)
echoSK.obj : error LNK2001: unresolved external symbol "public: virtual char const * __thiscall CORBA::NO_MEMORY::NP_RepositoryId(void)const " (?NP_RepositoryId@NO_MEMORY@CORBA@@UBEPBDXZ)
echoSK.obj : error LNK2001: unresolved external symbol "public: virtual char const * __thiscall CORBA::COMM_FAILURE::NP_RepositoryId(void)const " (?NP_RepositoryId@COMM_FAILURE@CORBA@@UBEPBDXZ)
echoSK.obj : error LNK2001: unresolved external symbol "public: virtual char const * __thiscall CORBA::MARSHAL::NP_RepositoryId(void)const " (?NP_RepositoryId@MARSHAL@CORBA@@UBEPBDXZ)
echoSK.obj : error LNK2001: unresolved external symbol "public: virtual char const * __thiscall CORBA::TRANSIENT::NP_RepositoryId(void)const " (?NP_RepositoryId@TRANSIENT@CORBA@@UBEPBDXZ)
echoSK.obj : error LNK2001: unresolved external symbol "public: void __thiscall GIOP_S::ReplyCompleted(void)" (?ReplyCompleted@GIOP_S@@QAEXXZ)
echoSK.obj : error LNK2001: unresolved external symbol "public: void __thiscall GIOP_S::InitialiseReply(enum GIOP::ReplyStatusType,unsigned int)" (?InitialiseReply@GIOP_S@@QAEXW4ReplyStatusType@GIOP@@I@Z)
echoSK.obj : error LNK2001: unresolved external symbol "public: static unsigned int __cdecl GIOP_S::ReplyHeaderSize(void)" (?ReplyHeaderSize@GIOP_S@@SAIXZ)
echoSK.obj : error LNK2001: unresolved external symbol "public: void __thiscall GIOP_S::RequestReceived(bool)" (?RequestReceived@GIOP_S@@QAEX_N@Z)
echoSK.obj : error LNK2001: unresolved external symbol "protected: virtual __thiscall omniObject::~omniObject(void)" (??1omniObject@@MAE@XZ)
echoSK.obj : error LNK2001: unresolved external symbol "public: __thiscall CORBA::Object::Object(void)" (??0Object@CORBA@@QAE@XZ)
echoSK.obj : error LNK2001: unresolved external symbol "protected: __thiscall omniObject::omniObject(class omniObjectManager *)" (??0omniObject@@IAE@PAVomniObjectManager@@@Z)
echoSK.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall omniObject::dispatch(class GIOP_S &,char const *,bool)" (?dispatch@omniObject@@UAE_NAAVGIOP_S@@PBD_N@Z)
echoSK.obj : error LNK2001: unresolved external symbol "public: void __thiscall CORBA::Object::PR_setobj(class omniObject *)" (?PR_setobj@Object@CORBA@@QAEXPAVomniObject@@@Z)
echoSK.obj : error LNK2001: unresolved external symbol "protected: void __thiscall omniObject::PR_IRRepositoryId(char const *)" (?PR_IRRepositoryId@omniObject@@IAEXPBD@Z)
echoSK.obj : error LNK2001: unresolved external symbol "public: static class CORBA::Object * __cdecl CORBA::Object::_duplicate(class CORBA::Object *)" (?_duplicate@Object@CORBA@@SAPAV12@PAV12@@Z)
echoSK.obj : error LNK2001: unresolved external symbol "public: void * __thiscall omniObject::_realNarrow(char const *)" (?_realNarrow@omniObject@@QAEPAXPBD@Z)
echoSK.obj : error LNK2001: unresolved external symbol "unsigned int __cdecl CORBA::AlignedObjRef(class CORBA::Object *,char const *,unsigned int,unsigned int)" (?AlignedObjRef@CORBA@@YAIPAVObject@1@PBDII@Z)
echoSK.obj : error LNK2001: unresolved external symbol "void __cdecl CORBA::MarshalObjRef(class CORBA::Object *,char const *,unsigned int,class NetBufferedStream &)" (?MarshalObjRef@CORBA@@YAXPAVObject@1@PBDIAAVNetBufferedStream@@@Z)
echoSK.obj : error LNK2001: unresolved external symbol "class CORBA::Object * __cdecl CORBA::UnMarshalObjRef(char const *,class NetBufferedStream &)" (?UnMarshalObjRef@CORBA@@YAPAVObject@1@PBDAAVNetBufferedStream@@@Z)
echoSK.obj : error LNK2001: unresolved external symbol "void __cdecl CORBA::MarshalObjRef(class CORBA::Object *,char const *,unsigned int,class MemBufferedStream &)" (?MarshalObjRef@CORBA@@YAXPAVObject@1@PBDIAAVMemBufferedStream@@@Z)
echoSK.obj : error LNK2001: unresolved external symbol "class CORBA::Object * __cdecl CORBA::UnMarshalObjRef(char const *,class MemBufferedStream &)" (?UnMarshalObjRef@CORBA@@YAPAVObject@1@PBDAAVMemBufferedStream@@@Z)
echoSK.obj : error LNK2001: unresolved external symbol "public: static void __cdecl omni::objectIsReady(class omniObject *)" (?objectIsReady@omni@@SAXPAVomniObject@@@Z)
echoSK.obj : error LNK2001: unresolved external symbol "protected: __thiscall omniObject::omniObject(char const *,class Rope *,unsigned char *,unsigned int,class _CORBA_Unbounded_Sequence<struct IOP::TaggedProfile> *,bool)" (??0omniObject@@IAE@PBDPA
VRope@@PAEIPAV?$_CORBA_Unbounded_Sequence@UTaggedProfile@IOP@@@@_N@Z)
echoSK.obj : error LNK2001: unresolved external symbol "public: static class omniObjectManager * __cdecl omniObject::nilObjectManager(void)" (?nilObjectManager@omniObject@@SAPAVomniObjectManager@@XZ)
echoSK.obj : error LNK2001: unresolved external symbol "public: __thiscall proxyObjectFactory::proxyObjectFactory(void)" (??0proxyObjectFactory@@QAE@XZ)
echoSK.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall proxyObjectFactory::~proxyObjectFactory(void)" (??1proxyObjectFactory@@UAE@XZ)
echoSK.obj : error LNK2001: unresolved external symbol "public: virtual char const * __thiscall CORBA::BAD_OPERATION::NP_RepositoryId(void)const " (?NP_RepositoryId@BAD_OPERATION@CORBA@@UBEPBDXZ)
Debug/Demo.exe : fatal error LNK1120: 74 unresolved externals
Error executing link.exe.

Demo.exe - 81 error(s), 5 warning(s)

---2138541009-570397931-909430339=:19905--