error---Pls help
"aswathyvg" <[email protected]> Mon, 22 Jan 2007 09:45:24 -0000
| Newsgroups | gmane.text.xml.rpc.specification |
|---|---|
| Message-ID | <[email protected]> |
I am getting the following error message while trying to run one
XMLRPC server program.How can i rectify that.
msvcprtd.lib(MSVCP60D.dll) : error LNK2005: "public: __thiscall
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >::~basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >(void)" (??1?
$basic_strin
g@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@XZ) already
defined in HelloServer.obj
msvcprtd.lib(MSVCP60D.dll) : error LNK2005: "public: char const *
__thiscall std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >::c_str(void)
const " (?c_str@?$basic_string@DU?$char_traits@D@std@@V?
$allocator@D@2@@std@@Q
BEPBDXZ) already defined in HelloServer.obj
msvcprtd.lib(MSVCP60D.dll) : error LNK2005: "public: __thiscall
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >(char const
*,class std::a
llocator<char> const &)" (??0?$basic_string@DU?$char_traits@D@std@@V?
$allocator@D@2@@std@@QAE@PBDABV?$allocator@D@1@@Z) already defined
in HelloServer.obj
msvcprtd.lib(MSVCP60D.dll) : error LNK2005: "public: __thiscall
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >(class
std::basic_string<c
har,struct std::char_traits<char>,class std::allocator<char> > const
&)" (??0?$basic_string@DU?$char_traits@D@std@@V?
$allocator@D@2@@std@@QAE@ABV01@@Z) already defined in HelloServer.obj
msvcprtd.lib(MSVCP60D.dll) : error LNK2005: "public: __thiscall
std::_Lockit::~_Lockit(void)" (??1_Lockit@std@@QAE@XZ) already
defined in libcpd.lib(iostream.obj)
msvcprtd.lib(MSVCP60D.dll) : error LNK2005: "public: __thiscall
std::_Lockit::_Lockit(void)" (??0_Lockit@std@@QAE@XZ) already
defined in libcpd.lib(iostream.obj)
msvcprtd.lib(MSVCP60D.dll) : error LNK2005: "public: __thiscall
std::out_of_range::out_of_range(class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const &)" (??
0out_of_range@std@@QAE@ABV?$basic_string@DU?$char_tr
aits@D@std@@V?$allocator@D@2@@1@@Z) already defined in
HelloServer.obj
msvcprtd.lib(MSVCP60D.dll) : error LNK2005: "public: __thiscall
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >(class
std::allocator<char
> const &)" (??0?$basic_string@DU?$char_traits@D@std@@V?
$allocator@D@2@@std@@QAE@ABV?$allocator@D@1@@Z) already defined in
HelloServer.obj
msvcprtd.lib(MSVCP60D.dll) : error LNK2005: "public: __thiscall
std::ios_base::Init::Init(void)" (??0Init@ios_base@std@@QAE@XZ)
already defined in libcpd.lib(iostream.obj)
msvcprtd.lib(MSVCP60D.dll) : error LNK2005: "public: __thiscall
std::ios_base::Init::~Init(void)" (??1Init@ios_base@std@@QAE@XZ)
already defined in libcpd.lib(iostream.obj)
msvcprtd.lib(MSVCP60D.dll) : error LNK2005: "public: __thiscall
std::_Winit::_Winit(void)" (??0_Winit@std@@QAE@XZ) already defined
in libcpd.lib(wiostrea.obj)
msvcprtd.lib(MSVCP60D.dll) : error LNK2005: "public: __thiscall
std::_Winit::~_Winit(void)" (??1_Winit@std@@QAE@XZ) already defined
in libcpd.lib(wiostrea.obj)
msvcprtd.lib(MSVCP60D.dll) : error LNK2005: "public: unsigned int
__thiscall std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >::size(void)
const " (?size@?$basic_string@DU?$char_traits@D@std@@V?
$allocator@D@2@@std@@QBE
IXZ) already defined in HelloServer.obj
msvcprtd.lib(MSVCP60D.dll) : error LNK2005: "public: class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > & __thiscall std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >::operator+=(c
lass std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &)" (??Y?$basic_string@DU?
$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAAV01@ABV01@@Z)
already defined in HelloServer.obj
msvcprtd.lib(MSVCP60D.dll) : error LNK2005: "public: char *
__thiscall std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >::begin(void)" (?
begin@?$basic_string@DU?$char_traits@D@std@@V?
$allocator@D@2@@std@@QAEPADXZ) alr
eady defined in libcpd.lib(iostream.obj)
msvcprtd.lib(MSVCP60D.dll) : error LNK2005: "public: char *
__thiscall std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >::end(void)" (?
end@?$basic_string@DU?$char_traits@D@std@@V?
$allocator@D@2@@std@@QAEPADXZ) already
defined in libcpd.lib(iostream.obj)
msvcprtd.lib(MSVCP60D.dll) : error LNK2005: "class
std::basic_ostream<char,struct std::char_traits<char> > & __cdecl
std::operator<<(class std::basic_ostream<char,struct
std::char_traits<char> > &,char const *)" (??6std@@YAAAV?
$basic_ostream@DU?$cha
r_traits@D@std@@@0@AAV10@PBD@Z) already defined in HelloServer.obj
msvcprtd.lib(MSVCP60D.dll) : error LNK2005: "public: class
std::basic_streambuf<char,struct std::char_traits<char> > *
__thiscall std::basic_ios<char,struct std::char_traits<char> >::rdbuf
(void)const " (?rdbuf@?$basic_ios@DU?$char_traits@D@std@@@std
@@QBEPAV?$basic_streambuf@DU?$char_traits@D@std@@@2@XZ) already
defined in HelloServer.obj
msvcprtd.lib(MSVCP60D.dll) : error LNK2005: "public: static char
__cdecl std::char_traits<char>::to_char_type(int const &)" (?
to_char_type@?$char_traits@D@std@@SADABH@Z) already defined in
libcpd.lib(iostream.obj)
msvcprtd.lib(MSVCP60D.dll) : error LNK2005: "public: static bool
__cdecl std::char_traits<char>::eq_int_type(int const &,int const
&)" (?eq_int_type@?$char_traits@D@std@@SA_NABH0@Z) already defined
in HelloServer.obj
msvcprtd.lib(MSVCP60D.dll) : error LNK2005: "public: static int
__cdecl std::char_traits<char>::eof(void)" (?eof@?
$char_traits@D@std@@SAHXZ) already defined in HelloServer.obj
msvcprtd.lib(MSVCP60D.dll) : error LNK2005: "public: int __thiscall
std::basic_streambuf<char,struct std::char_traits<char> >::sputc
(char)" (?sputc@?$basic_streambuf@DU?
$char_traits@D@std@@@std@@QAEHD@Z) already defined in HelloServer.obj
msvcprtd.lib(MSVCP60D.dll) : error LNK2005: "public: static int
__cdecl std::char_traits<char>::to_int_type(char const &)" (?
to_int_type@?$char_traits@D@std@@SAHABD@Z) already defined in
HelloServer.obj
msvcprtd.lib(MSVCP60D.dll) : error LNK2005: "public: class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > & __thiscall std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >::operator=(ch
ar const *)" (??4?$basic_string@DU?$char_traits@D@std@@V?
$allocator@D@2@@std@@QAEAAV01@PBD@Z) already defined in libcpd.lib
(locale0.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _strtol already defined in
LIBCD.lib(strtol.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: __snprintf already defined
in LIBCD.lib(snprintf.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: __vsnprintf already
defined in LIBCD.lib(vsnprint.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _strncmp already defined
in LIBCD.lib(strncmp.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _atoi already defined in
LIBCD.lib(atox.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _sprintf already defined
in LIBCD.lib(sprintf.obj)
LINK : warning LNK4098: defaultlib "MSVCRTD" conflicts with use of
other libs; use /NODEFAULTLIB:library
xmlrpc.lib(XmlRpcDispatch.obj) : error LNK2001: unresolved external
symbol ___WSAFDIsSet@8
xmlrpc.lib(XmlRpcDispatch.obj) : error LNK2001: unresolved external
symbol __imp__select@20
xmlrpc.lib(XmlRpcSocket.obj) : error LNK2001: unresolved external
symbol __imp__socket@12
xmlrpc.lib(XmlRpcSocket.obj) : error LNK2001: unresolved external
symbol __imp__WSAStartup@8
xmlrpc.lib(XmlRpcSocket.obj) : error LNK2001: unresolved external
symbol __imp__closesocket@4
xmlrpc.lib(XmlRpcSocket.obj) : error LNK2001: unresolved external
symbol __imp__ioctlsocket@12
xmlrpc.lib(XmlRpcSocket.obj) : error LNK2001: unresolved external
symbol __imp__setsockopt@20
xmlrpc.lib(XmlRpcSocket.obj) : error LNK2001: unresolved external
symbol __imp__bind@12
xmlrpc.lib(XmlRpcSocket.obj) : error LNK2001: unresolved external
symbol __imp__htons@4
xmlrpc.lib(XmlRpcSocket.obj) : error LNK2001: unresolved external
symbol __imp__htonl@4
xmlrpc.lib(XmlRpcSocket.obj) : error LNK2001: unresolved external
symbol __imp__listen@8
xmlrpc.lib(XmlRpcSocket.obj) : error LNK2001: unresolved external
symbol __imp__accept@12
xmlrpc.lib(XmlRpcSocket.obj) : error LNK2001: unresolved external
symbol __imp__connect@12
xmlrpc.lib(XmlRpcSocket.obj) : error LNK2001: unresolved external
symbol __imp__gethostbyname@4
xmlrpc.lib(XmlRpcSocket.obj) : error LNK2001: unresolved external
symbol __imp__recv@16
xmlrpc.lib(XmlRpcSocket.obj) : error LNK2001: unresolved external
symbol __imp__send@16
xmlrpc.lib(XmlRpcSocket.obj) : error LNK2001: unresolved external
symbol __imp__WSAGetLastError@0
Debug/server.exe : fatal error LNK1120: 17 unresolved externals
Error executing link.exe.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/xml-rpc/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/xml-rpc/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[email protected]
mailto:[email protected]
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/