f



[ace-users] [tao-users] Problem linking ACE/TAO

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------=_NextPart_000_0042_01C67435.B64C4BE0
Content-Type: text/plain;
		charset="windows-1252"
Content-Transfer-Encoding: quoted-printable

Hello,

I have an application using ACE/TAO and I get a linking error trying to =
build executable.


ACE/TAO VERSION:  5.5 / 1.5


OPERATING SYSTEM:  Win 2000 SP 4


COMPILER NAME and VERSION:  VC++ 2005 Standard Edition


CONTENTS of $ACE_ROOT/ace/config.h:

#define ACE_HAS_STANDARD_CPP_LIBRARY 1
#include "ace/config-win32.h"



DOES THE PROBLEM AFFECT:
    COMPILATION? NO
    LINKING? YES


EXECUTION? N/A (doesn`t get that far)


SYNOPSIS:
 I am getting linking error while I am trying to build executable.


DESCRIPTION:
In the makefile (win32/debug) the libraries ACED.lib and TAOD.lib are in =
the
LIBS.

The error message is:

1>oe_frontendC.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: int __cdecl ACE_Log_Msg::log(enum
ACE_Log_Priority,unsigned short const *,...)"
(__imp_?log@ACE_Log_Msg@@QAAHW4ACE_Log_Priority@@PBGZZ) referenced in
function "public: void __thiscall
TAO::Any_Insert_Policy_AnyTypeCode_Adapter<int>::any_insert(class =
CORBA::Any
*,int const &)const "
(?any_insert@?$Any_Insert_Policy_AnyTypeCode_Adapter@H@TAO@@QBEXPAVAny@CO=
RBA
@@ABH@Z)


Thanks a lot  in advance!


Regards,
Stefan Gross

------=_NextPart_000_0042_01C67435.B64C4BE0
Content-Type: text/html;
		charset="windows-1252"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dwindows-1252">
<META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DVerdana size=3D2><FONT face=3D"Times New Roman"=20
size=3D3>Hello,<BR><BR>I have an application using ACE/TAO and I =
get&nbsp;a=20
linking error trying to build executable.<BR><BR><BR>ACE/TAO =
VERSION:&nbsp; 5.5=20
/ 1.5</FONT></FONT><FONT face=3DVerdana size=3D2><FONT face=3D"Times New =
Roman"=20
size=3D3><BR></DIV></FONT></FONT>
<DIV><FONT face=3DVerdana size=3D2><FONT face=3D"Times New Roman" =
size=3D3><FONT=20
face=3DVerdana size=3D2></FONT><BR>OPERATING SYSTEM:&nbsp; Win 2000 SP=20
4<BR><BR><BR>COMPILER NAME&nbsp;and VERSION:&nbsp; VC++ 2005 Standard=20
Edition<BR></DIV></FONT></FONT>
<DIV><FONT face=3DVerdana size=3D2><FONT face=3D"Times New Roman" =
size=3D3><FONT=20
face=3DVerdana size=3D2></FONT><BR>CONTENTS&nbsp;of=20
$ACE_ROOT/ace/config.h:</FONT></FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2><FONT face=3D"Times New Roman" =
size=3D3><BR>#define=20
ACE_HAS_STANDARD_CPP_LIBRARY 1<BR>#include=20
"ace/config-win32.h"<BR><BR><BR><BR>DOES THE PROBLEM=20
AFFECT:<BR>&nbsp;&nbsp;&nbsp; COMPILATION? NO<BR>&nbsp;&nbsp;&nbsp; =
LINKING?=20
YES<BR><BR><BR>EXECUTION? N/A (doesn`t get that=20
far)<BR><BR><BR>SYNOPSIS:<BR>&nbsp;I am getting linking error while I am =
trying=20
to build executable.<BR><BR><BR>DESCRIPTION:<BR>In the makefile =
(win32/debug)=20
the libraries ACED.lib and TAOD.lib are in the<BR>LIBS.<BR><BR>The error =
message=20
is:<BR><BR>1&gt;oe_frontendC.obj : error LNK2019: unresolved external=20
symbol<BR>"__declspec(dllimport) public: int __cdecl=20
ACE_Log_Msg::log(enum<BR>ACE_Log_Priority,unsigned short const=20
*,...)"<BR>(</FONT><A=20
href=3D"mailto:__imp_?log@ACE_Log_Msg@@QAAHW4ACE_Log_Priority@@PBGZZ"><FO=
NT=20
face=3D"Times New Roman"=20
size=3D3>__imp_?log@ACE_Log_Msg@@QAAHW4ACE_Log_Priority@@PBGZZ</FONT></A>=
<FONT=20
face=3D"Times New Roman" size=3D3>) referenced in<BR>function "public: =
void=20
__thiscall<BR>TAO::Any_Insert_Policy_AnyTypeCode_Adapter&lt;int&gt;::any_=
insert(class=20
CORBA::Any<BR>*,int const &amp;)const "<BR>(</FONT><A=20
href=3D"mailto:?any_insert@?$Any_Insert_Policy_AnyTypeCode_Adapter@H@TAO@=
@QBEXPAVAny@CORBA"><FONT=20
face=3D"Times New Roman"=20
size=3D3>?any_insert@?$Any_Insert_Policy_AnyTypeCode_Adapter@H@TAO@@QBEXP=
AVAny@CORBA</FONT></A><BR><FONT=20
face=3D"Times New Roman" size=3D3>@@ABH@Z)<BR><BR><BR>Thanks a lot&nbsp; =
in=20
advance!<BR><BR><BR>Regards,<BR>Stefan=20
Gross</FONT><BR></DIV></FONT></BODY></HTML>

------=_NextPart_000_0042_01C67435.B64C4BE0--

0
Stefan
5/10/2006 11:29:06 AM
comp.soft-sys.ace 20326 articles. 1 followers. marlow.andrew (167) is leader. Post Follow

0 Replies
1132 Views

Similar Articles

[PageSpeed] 57

Reply: