[Ace-users] Re: [ciao-users] error LNK2019: unresolved external symbol

Johnny Willemsen jwillemsen at remedy.nl
Wed Oct 3 00:53:16 CDT 2007


Hi,

It seems that you do need BrokerS.cpp or build a _skel project which exports
the symbols from BrokerS.*

Johnny

"Ricardo Perrone" <perrone at rocketmail.com> wrote in message
news:<mailman.2443.1191358229.5286.ciao-users at mail.cse.wustl.edu>...
Hi,

    CIAO version 0.6.1
    TAO version 1.6.1
    ACE VERSION: 5.6.1

    HOST MACHINE and OPERATING SYSTEM:
        Centrino Duo Core, Windows XP SP2,

    COMPILER NAME AND VERSION (AND PATCHLEVEL):
        vc++ 2005 express edition / Microsoft Platform SDK for Windows
Server 2003 R2

    THE $ACE_ROOT/ace/config.h FILE:
        #include "ace/config-win32.h"

    THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE:
       
        include
c:\usr\local\ACE_wrappers\include\makeinclude\platform_win32_icc.GNU


    CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/default.features:
     [there is no default.features file, but the gnuace and global features]
         ssl=0
        qos=1
        cidl=1
       rwho=0
       sctp=0
       zlib=1
       xsc=1

    DESCRIPTION:
I am trying to build component's solution related with Quoter tutorial
(http://www.dre.vanderbilt.edu/~schmidt/DOC_ROOT/CIAO/docs/tutorials/Quoter/
Simple/), but the following error appears. Somebody know what is happening?

1>------ Build started: Project: Stock_Base_Broker_stub, Configuration:
Release Win32 ------
1>Invoking c:\usr\local\ACE_wrappers\bin\tao_idl on Broker.idl
1>tao-idli_XxznnU.cpp
1>processing Broker.idl
1>Compiling...
1>BrokerC.cpp
1>Linking...
1>   Creating library c:\usr\local\ACE_wrappers\lib\Broker_stub.lib and
object c:\usr\local\ACE_wrappers\lib\Broker_stub.exp
1>BrokerC.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) bool __cdecl operator<<(class TAO_OutputCDR &,class
Stock::Quoter * const)"
(__imp_??6 at YA_NAAVTAO_OutputCDR@@QAVQuoter at Stock@@@Z) referenced in function
"public: virtual bool __thiscall TAO::In_Object_Argument_T<class
Stock::Quoter *,class TAO::Any_Insert_Policy_Noop<class Stock::Quoter *>
>::marshal(class TAO_OutputCDR &)"
(?marshal@?$In_Object_Argument_T at PAVQuoter@Stock@@V?$Any_Insert_Policy_Noop@
PAVQuoter at Stock@@@TAO@@@TAO@@UAE_NAAVTAO_OutputCDR@@@Z)
1>BrokerC.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: static void __cdecl TAO::Objref_Traits<class
Stock::Quoter>::release(class Stock::Quoter *)"
(__imp_?release@?$Objref_Traits at VQuoter@Stock@@@TAO@@SAXPAVQuoter at Stock@@@Z)
referenced in function "public: __thiscall TAO_Objref_Var_T<class
Stock::Quoter>::~TAO_Objref_Var_T<class Stock::Quoter>(void)"
(??1?$TAO_Objref_Var_T at VQuoter@Stock@@@@QAE at XZ)
1>BrokerC.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: static void __cdecl TAO::Objref_Traits<class
Stock::StockNameConsumer>::release(class Stock::StockNameConsumer *)"
(__imp_?release@?$Objref_Traits at VStockNameConsumer@Stock@@@TAO@@SAXPAVStockN
ameConsumer at Stock@@@Z) referenced in function "public: __thiscall
TAO_Objref_Var_T<class Stock::StockNameConsumer>::~TAO_Objref_Var_T<class
Stock::StockNameConsumer>(void)"
(??1?$TAO_Objref_Var_T at VStockNameConsumer@Stock@@@@QAE at XZ)
1>BrokerC.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: static class Stock::Quoter * __cdecl
TAO::Objref_Traits<class Stock::Quoter>::nil(void)"
(__imp_?nil@?$Objref_Traits at VQuoter@Stock@@@TAO@@SAPAVQuoter at Stock@@XZ)
referenced in function "public: __thiscall TAO_Objref_Var_T<class
Stock::Quoter>::TAO_Objref_Var_T<class Stock::Quoter>(void)"
(??0?$TAO_Objref_Var_T at VQuoter@Stock@@@@QAE at XZ)
1>BrokerC.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: static class Stock::StockNameConsumer *
__cdecl TAO::Objref_Traits<class Stock::StockNameConsumer>::nil(void)"
(__imp_?nil@?$Objref_Traits at VStockNameConsumer@Stock@@@TAO@@SAPAVStockNameCo
nsumer at Stock@@XZ) referenced in function "public: __thiscall
TAO_Objref_Var_T<class Stock::StockNameConsumer>::TAO_Objref_Var_T<class
Stock::StockNameConsumer>(void)"
(??0?$TAO_Objref_Var_T at VStockNameConsumer@Stock@@@@QAE at XZ)
1>BrokerC.obj : error LNK2001: unresolved external symbol "public: static
class CORBA::Exception * __cdecl Stock::Invalid_Stock::_alloc(void)"
(?_alloc at Invalid_Stock@Stock@@SAPAVException at CORBA@@XZ)
1>BrokerC.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) bool __cdecl operator>>(class TAO_InputCDR &,class
Stock::Quoter * &)" (__imp_??5 at YA_NAAVTAO_InputCDR@@AAPAVQuoter at Stock@@@Z)
referenced in function "public: virtual bool __thiscall
TAO::Ret_Object_Argument_T<class Stock::Quoter *,class
TAO_Objref_Var_T<class Stock::Quoter>,class
TAO::Any_Insert_Policy_Noop<class Stock::Quoter *> >::demarshal(class
TAO_InputCDR &)"
(?demarshal@?$Ret_Object_Argument_T at PAVQuoter@Stock@@V?$TAO_Objref_Var_T at VQu
oter at Stock@@@@V?$Any_Insert_Policy_Noop at PAVQuoter@Stock@@@TAO@@@TAO@@UAE_NAA
VTAO_InputCDR@@@Z)
1>BrokerC.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) bool __cdecl operator>>(class TAO_InputCDR &,class
Stock::StockNameConsumer * &)"
(__imp_??5 at YA_NAAVTAO_InputCDR@@AAPAVStockNameConsumer at Stock@@@Z) referenced
in function "public: virtual bool __thiscall
TAO::Ret_Object_Argument_T<class Stock::StockNameConsumer *,class
TAO_Objref_Var_T<class Stock::StockNameConsumer>,class
TAO::Any_Insert_Policy_Noop<class Stock::StockNameConsumer *>
>::demarshal(class TAO_InputCDR &)"
(?demarshal@?$Ret_Object_Argument_T at PAVStockNameConsumer@Stock@@V?$TAO_Objre
f_Var_T at VStockNameConsumer@Stock@@@@V?$Any_Insert_Policy_Noop at PAVStockNameCo
nsumer at Stock@@@TAO@@@TAO@@UAE_NAAVTAO_InputCDR@@@Z)
1>c:\usr\local\ACE_wrappers\lib\Broker_stub.dll : fatal error LNK1120: 8
unresolved externals
1>Build log was saved at
"file://c:\usr\local\exemplos\teste\Quoter\Broker\Release\Stock_Base_Broker_
stub\I386\BuildLog.htm"
1>Stock_Base_Broker_stub - 9 error(s), 0 warning(s)

Thanks
Ricardo




       
____________________________________________________________________________
________
Moody friends. Drama queens. Your life? Nope! - their life, your story. Play
Sims Stories at Yahoo! Games.
http://sims.yahoo.com/  

----------



More information about the Ace-users mailing list