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

Sowayan, Abdullah (N-DUA) abdullah.sowayan at lmco.com
Tue Oct 2 15:56:44 CDT 2007


Ricardo,

I just built the example successfully with WinXP, vc++ 2003 Professional
Edition.

I have seen many people on the list face problems with express editions
of Visual Studio. I think the issues was something missing for Platform
SDK or the like. I would suggest you search the ACE/TAO/CIAO user's
archive regarding that.

Thanks,
Abdul

> -----Original Message-----
> From: ciao-users-bounces at cse.wustl.edu [mailto:ciao-users-
> bounces at cse.wustl.edu] On Behalf Of Ricardo Perrone
> Sent: Tuesday, October 02, 2007 4:50 PM
> To: ciao-users at cse.wustl.edu
> Subject: [ciao-users] error LNK2019: unresolved external symbol
> 
> 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/Quo
te
> r/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_N
oo
> p at PAVQuoter@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@@SAXPAVSt
oc
> kNameConsumer 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@@SAPAVStockNa
me
> Consumer 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
@V
>
Quoter at Stock@@@@V?$Any_Insert_Policy_Noop at PAVQuoter@Stock@@@TAO@@@TAO@@U
AE
> _NAAVTAO_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_O
bj
>
ref_Var_T at VStockNameConsumer@Stock@@@@V?$Any_Insert_Policy_Noop at PAVStock
Na
> meConsumer 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_Bro
ke
> r_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/
> 
> _______________________________________________
> ciao-users mailing list
> ciao-users at mail.cse.wustl.edu
> http://mail.cse.wustl.edu/mailman/listinfo/ciao-users



More information about the Ace-users mailing list