Boost logo

Boost Users :

From: John B. Williston (yg-boost-users_at_[hidden])
Date: 2002-09-17 12:39:52


On Tue, 17 Sep 2002 12:40:53 -0400, Douglas Gregor <gregod_at_[hidden]>
wrote:

>Could you copy 'n' paste some of the link errors you are getting? It seems
>like you did the right thing (at least, I don't know of a better way), but
>perhaps knowing what symbols are being redefined would help isolate the
>problem.

I sure can. The following is the compile output:

--------------------Configuration: TestFs - Win32
Debug--------------------
Compiling...
Main.cpp
Linking...
LINK : warning LNK4075: ignoring /INCREMENTAL due to /FORCE
specification
msvcprtd.lib(MSVCP60D.dll) : warning LNK4006: "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_str
ing_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@@QAE_at_XZ) already
defined in Main.obj; second definition ignored
msvcprtd.lib(MSVCP60D.dll) : warning LNK4006: "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:
:allocator<char> const &)" (??0?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@@QAE_at_PBDABV?$allocator_at_D@1@@Z) already defined in Main.obj; second definition ignored
msvcprtd.lib(MSVCP60D.dll) : warning LNK4006: "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_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@
@QBEPBDXZ) already defined in Main.obj; second definition ignored
msvcprtd.lib(MSVCP60D.dll) : warning LNK4006: "public: unsigned int
__thiscall std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >::size(void)const "
(?size@?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@@Q
BEIXZ) already defined in Main.obj; second definition ignored
msvcprtd.lib(MSVCP60D.dll) : warning LNK4006: "public: virtual
__thiscall std::runtime_error::~runtime_error(void)"
(??1runtime_error_at_std@@UAE_at_XZ) already defined in libcpd.lib(ios.obj);
second definition ignored
msvcprtd.lib(MSVCP60D.dll) : warning LNK4006: "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
<char,struct std::char_traits<char>,class std::allocator<char> > const
&)"
(??0?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@@QAE_at_ABV01@@Z)
already defined in libcpd.lib(ios.obj); second definition ignored
msvcprtd.lib(MSVCP60D.dll) : warning LNK4006: "public: __thiscall
std::runtime_error::runtime_error(class std::runtime_error const &)"
(??0runtime_error_at_std@@QAE_at_ABV01@@Z) already defined in
libcpd.lib(ios.obj); second definition ignored
msvcprtd.lib(MSVCP60D.dll) : warning LNK4006: "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<ch
ar> const &)"
(??0?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@@QAE_at_ABV?$allocator_at_D@1@@Z)
already defined in Main.obj; second definition ignored
msvcprtd.lib(MSVCP60D.dll) : warning LNK4006: "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=(
class std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &)"
(??4?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@@QAEAAV01_at_ABV01@@Z)
already defined in Main.obj; second definition ignored
msvcprtd.lib(MSVCP60D.dll) : warning LNK4006: "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+=
(char)"
(??Y?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@@QAEAAV01_at_D@Z)
already defined in libcpd.lib(locale.obj); second definition ignored
msvcprtd.lib(MSVCP60D.dll) : warning LNK4006: "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=(
char const *)"
(??4?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@@QAEAAV01_at_PBD@Z)
already defined in libcpd.lib(locale0.obj); second definition ignored
msvcprtd.lib(MSVCP60D.dll) : warning LNK4006: "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
*,unsigned i
nt,class std::allocator<char> const &)"
(??0?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@@QAE_at_PBDIABV?$allocator_at_D@1@@Z)
already defined in libcpd.lib(xlocale.obj); second definition ignored
msvcprtd.lib(MSVCP60D.dll) : warning LNK4006: "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+=
(class std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &)"
(??Y?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@@QAEAAV01_at_ABV01@@Z)
already defined in libcpd.lib(locale.obj); second definition ignor
ed
msvcprtd.lib(MSVCP60D.dll) : warning LNK4006: "public: char *
__thiscall std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >::begin(void)"
(?begin@?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@@QAEPADXZ)
a
lready defined in libcpd.lib(iostream.obj); second definition ignored
msvcprtd.lib(MSVCP60D.dll) : warning LNK4006: "public: char *
__thiscall std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >::end(void)"
(?end@?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@@QAEPADXZ)
alrea
dy defined in libcpd.lib(iostream.obj); second definition ignored
msvcprtd.lib(MSVCP60D.dll) : warning LNK4006: "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> >::erase(unsi
gned int,unsigned int)"
(?erase@?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@@QAEAAV12_at_II@Z)
already defined in Main.obj; second definition ignored
msvcprtd.lib(MSVCP60D.dll) : warning LNK4006: "public: __thiscall
std::runtime_error::runtime_error(class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const &)"
(??0runtime_error_at_std@@QAE_at_ABV?$basic_string_at_DU?$ch
ar_traits_at_D@std@@V?$allocator_at_D@2@@1@@Z) already defined in
libcpd.lib(ios.obj); second definition ignored
LINK : warning LNK4098: defaultlib "MSVCRTD" conflicts with use of
other libs; use /NODEFAULTLIB:library
Debug/TestFs.exe : warning LNK4088: image being generated due to
/FORCE option; image may not run

TestFs.exe - 0 error(s), 20 warning(s)


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net