Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

LNK2001 trying to compile client and server for Visibroker with MVS

Status
Not open for further replies.

Pacifica

Technical User
Nov 23, 2002
13
DE
trying to compile CORBA client server example, using Borland Enterprise Server visibroker edition. Used idl2cpp to compile the idl. Then extended the skeleton and stub and am trying to compile the client and server using Microsoft Visual c++ v.6, but get the following errors :

Does anyone know how I can solve this problem?


on the server side :
--------------------Konfiguration: CORBAServer - Win32 Debug--------------------
Linker-Vorgang läuft...
server.obj : error LNK2001: Nichtaufgeloestes externes Symbol "public: virtual __thiscall RDH_IMS::ASSOverallMetaData_var::~ASSOverallMetaData_var(void)" (??1ASSOverallMetaData_var@RDH_IMS@@UAE@XZ)
server.obj : error LNK2001: Nichtaufgeloestes externes Symbol "public: __thiscall RDH_IMS::ASSOverallMetaData_var::ASSOverallMetaData_var(class ASSOverallMetaData_var::ASSOverallMetaData *)" (??0ASSOverallMetaData_var@RDH_IMS@@QAE@PAVASSOverallMetaD
ata@1@@Z)
server.obj : error LNK2001: Nichtaufgeloestes externes Symbol "public: class RDH_IMS::ASSOverallMetaData * __thiscall POA_RDH_IMS::ASSOverallMetaData::_this(void)" (?_this@ASSOverallMetaData@POA_RDH_IMS@@QAEPAV1RDH_IMS@@XZ)
server.obj : error LNK2001: Nichtaufgeloestes externes Symbol "protected: __thiscall POA_RDH_IMS::ASSOverallMetaData::ASSOverallMetaData(void)" (??0ASSOverallMetaData@POA_RDH_IMS@@IAE@XZ)
server.obj : error LNK2001: Nichtaufgeloestes externes Symbol "protected: virtual __thiscall POA_RDH_IMS::ASSOverallMetaData::~ASSOverallMetaData(void)" (??1ASSOverallMetaData@POA_RDH_IMS@@MAE@XZ)
server.obj : error LNK2001: Nichtaufgeloestes externes Symbol "public: virtual class CORBA_TypeInfo const * __thiscall POA_RDH_IMS::ASSOverallMetaData::_type_info(void)const " (?_type_info@ASSOverallMetaData@POA_RDH_IMS@@UBEPBVCORBA_TypeInfo@@XZ)
server.obj : error LNK2001: Nichtaufgeloestes externes Symbol "public: virtual void * __thiscall POA_RDH_IMS::ASSOverallMetaData::_safe_narrow(class CORBA_TypeInfo const &)const " (?_safe_narrow@ASSOverallMetaData@POA_RDH_IMS@@UBEPAXABVCORBA_TypeInf
o@@@Z)
server.obj : error LNK2001: Nichtaufgeloestes externes Symbol "public: static class VISOps_Info const * __cdecl RDH_IMS::ASSOverallMetaData_ops::_desc(void)" (?_desc@ASSOverallMetaData_ops@RDH_IMS@@SAPBVVISOps_Info@@XZ)
Debug/CORBAServer.exe : fatal error LNK1120: 8 unaufgeloeste externe Verweise
Fehler beim Ausführen von link.exe.

CORBAServer.exe - 9 Fehler, 0 Warnung(en)


on the client side :

--------------------Konfiguration: CORBAClient - Win32 Debug--------------------
Linker-Vorgang läuft...
client.obj : error LNK2001: Nichtaufgeloestes externes Symbol "public: virtual __thiscall RDH_IMS::ASSOverallMetaData_var::~ASSOverallMetaData_var(void)" (??1ASSOverallMetaData_var@RDH_IMS@@UAE@XZ)
client.obj : error LNK2001: Nichtaufgeloestes externes Symbol "public: __thiscall RDH_IMS::ASSOverallMetaData_var::ASSOverallMetaData_var(class ASSOverallMetaData_var::ASSOverallMetaData *)" (??0ASSOverallMetaData_var@RDH_IMS@@QAE@PAVASSOverallMetaD
ata@1@@Z)
client.obj : error LNK2001: Nichtaufgeloestes externes Symbol "public: static class RDH_IMS::ASSOverallMetaData * __cdecl RDH_IMS::ASSOverallMetaData::_narrow(class CORBA_Object *)" (?_narrow@ASSOverallMetaData@RDH_IMS@@SAPAV12@PAVCORBA_Object@@@Z)
Debug/CORBAClient.exe : fatal error LNK1120: 3 unaufgeloeste externe Verweise
Fehler beim Ausführen von link.exe.

CORBAClient.exe - 4 Fehler, 0 Warnung(en)


 
You need to include the skeleton and stub source in your
Visual C++ project when you try to compile the server
or the client. Both the server and client need the skeleton "and" the stub to compile.

Hope it helps,
 
Add all the *_c.cpp and *_s.cpp generated by idl2cpp to your project

Ion Filipski
1c.bmp


filipski@excite.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top