Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2919: Bcp.exe won't compile
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-06-14 14:55:26
#2919: Bcp.exe won't compile
----------------------------------+-----------------------------------------
Reporter: seppi2112_at_[hidden] | Owner: johnmaddock
Type: Bugs | Status: new
Milestone: Boost 1.39.0 | Component: regex
Version: Boost 1.39.0 | Severity: Problem
Resolution: | Keywords: regex
----------------------------------+-----------------------------------------
Comment(by chupeev_av_at_[hidden]):
Yes, John. I'm quite shure that I got these errors building dynamic
library. I'm stuck with this several days but doesn't yet found a
workaround. These are messages generated by linker when I invoke
nmake /nologo /s /f vc9.mak
from command line:
link kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib
advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /dll
/incremental:yes /pdb:"vc90/boost_regex-vc90-mt-gd-1_38.pdb" /debug
/out:"vc90/boost_regex-vc90-mt-gd-1_38.dll" /implib:"vc90/boost_regex-vc90
-mt-gd-1_38.lib" /LIBPATH:"\lib" vc90/boost_regex-vc90-mt-
gd-1_38/c_regex_traits.obj vc90/boost_regex-vc90-mt-
gd-1_38/cpp_regex_traits.obj vc90/boost_regex-vc90-mt-gd-1_38/cregex.obj
vc90/boost_regex-vc90-mt-gd-1_38/fileiter.obj vc90/boost_regex-vc90-mt-
gd-1_38/icu.obj vc90/boost_regex-vc90-mt-gd-1_38/instances.obj vc90
/boost_regex-vc90-mt-gd-1_38/posix_api.obj vc90/boost_regex-vc90-mt-
gd-1_38/regex.obj vc90/boost_regex-vc90-mt-gd-1_38/regex_debug.obj vc90
/boost_regex-vc90-mt-gd-1_38/regex_raw_buffer.obj vc90/boost_regex-vc90
-mt-gd-1_38/regex_traits_defaults.obj vc90/boost_regex-vc90-mt-
gd-1_38/static_mutex.obj vc90/boost_regex-vc90-mt-gd-1_38/usinstances.obj
vc90/boost_regex-vc90-mt-gd-1_38/w32_regex_traits.obj vc90/boost_regex-
vc90-mt-gd-1_38/wc_regex_traits.obj vc90/boost_regex-vc90-mt-
gd-1_38/wide_posix_api.obj vc90/boost_regex-vc90-mt-gd-1_38/winstances.obj
msvcprtd.lib(MSVCP90D.dll) : error LNK2005: "public: __cdecl
std::basic_string<unsigned short,struct std::char_traits<unsigned
short>,class std::allocator<unsigned short> >::~basic_string<unsigned
short,struct std::char_traits<unsigned short>,class
std::allocator<unsigned short> >(void)"
(??1?$basic_string_at_GU?$char_traits_at_G@std@@V?$allocator_at_G@2@@std@@QEAA_at_XZ)
already defined in w32_regex_traits.obj
msvcprtd.lib(MSVCP90D.dll) : error LNK2005: "public: __cdecl
std::basic_string<unsigned short,struct std::char_traits<unsigned
short>,class std::allocator<unsigned short> >::basic_string<unsigned
short,struct std::char_traits<unsigned short>,class
std::allocator<unsigned short> >(class std::basic_string<unsigned
short,struct std::char_traits<unsigned short>,class
std::allocator<unsigned short> > const &)"
(??0?$basic_string_at_GU?$char_traits_at_G@std@@V?$allocator_at_G@2@@std@@QEAA_at_AEBV01@@Z)
already defined in w32_regex_traits.obj
msvcprtd.lib(MSVCP90D.dll) : error LNK2005: "public: __cdecl
std::basic_string<unsigned short,struct std::char_traits<unsigned
short>,class std::allocator<unsigned short> >::basic_string<unsigned
short,struct std::char_traits<unsigned short>,class
std::allocator<unsigned short> >(struct std::basic_string<unsigned
short,struct std::char_traits<unsigned short>,class
std::allocator<unsigned short> >::_Has_debug_it)"
(??0?$basic_string_at_GU?$char_traits_at_G@std@@V?$allocator_at_G@2@@std@@QEAA_at_U_Has_debug_it_at_01@@Z)
already defined in w32_regex_traits.obj
msvcprtd.lib(MSVCP90D.dll) : error LNK2005: "public: unsigned __int64
__cdecl std::basic_string<unsigned short,struct std::char_traits<unsigned
short>,class std::allocator<unsigned short> >::size(void)const "
(?size@?$basic_string_at_GU?$char_traits_at_G@std@@V?$allocator_at_G@2@@std@@QEBA_KXZ)
already defined in w32_regex_traits.obj
msvcprtd.lib(MSVCP90D.dll) : error LNK2005: "public: class
std::basic_string<unsigned short,struct std::char_traits<unsigned
short>,class std::allocator<unsigned short> > & __cdecl
std::basic_string<unsigned short,struct std::char_traits<unsigned
short>,class std::allocator<unsigned short> >::append(unsigned
__int64,unsigned short)"
(?append@?$basic_string_at_GU?$char_traits_at_G@std@@V?$allocator_at_G@2@@std@@QEAAAEAV12@_KG_at_Z)
already defined in w32_regex_traits.obj
msvcprtd.lib(MSVCP90D.dll) : error LNK2005: "protected: unsigned short *
__cdecl std::basic_string<unsigned short,struct std::char_traits<unsigned
short>,class std::allocator<unsigned short> >::_Myptr(void)"
(?_Myptr@?$basic_string_at_GU?$char_traits_at_G@std@@V?$allocator_at_G@2@@std@@IEAAPEAGXZ)
already defined in w32_regex_traits.obj
msvcprtd.lib(MSVCP90D.dll) : error LNK2005: "public: class
std::basic_string<unsigned short,struct std::char_traits<unsigned
short>,class std::allocator<unsigned short> > & __cdecl
std::basic_string<unsigned short,struct std::char_traits<unsigned
short>,class std::allocator<unsigned short> >::erase(unsigned
__int64,unsigned __int64)"
(?erase@?$basic_string_at_GU?$char_traits_at_G@std@@V?$allocator_at_G@2@@std@@QEAAAEAV12@_K0_at_Z)
already defined in w32_regex_traits.obj
msvcprtd.lib(MSVCP90D.dll) : error LNK2005: "public: __cdecl
std::basic_string<unsigned short,struct std::char_traits<unsigned
short>,class std::allocator<unsigned short> >::basic_string<unsigned
short,struct std::char_traits<unsigned short>,class
std::allocator<unsigned short> >(unsigned short const *,unsigned short
const *)"
(??0?$basic_string_at_GU?$char_traits_at_G@std@@V?$allocator_at_G@2@@std@@QEAA_at_PEBG0@Z)
already defined in w32_regex_traits.obj
msvcprtd.lib(MSVCP90D.dll) : error LNK2005: "public: __cdecl
std::_String_val<unsigned short,class std::allocator<unsigned short>
>::~_String_val<unsigned short,class std::allocator<unsigned short>
>(void)" (??1?$_String_val_at_GV?$allocator_at_G@std@@@std@@QEAA_at_XZ) already
defined in w32_regex_traits.obj
msvcprtd.lib(MSVCP90D.dll) : error LNK2005: "protected: void __cdecl
std::basic_string<unsigned short,struct std::char_traits<unsigned
short>,class std::allocator<unsigned short> >::_Tidy(bool,unsigned
__int64)"
(?_Tidy@?$basic_string_at_GU?$char_traits_at_G@std@@V?$allocator_at_G@2@@std@@IEAAX_N_K_at_Z)
already defined in w32_regex_traits.obj
msvcprtd.lib(MSVCP90D.dll) : error LNK2005: "protected: __cdecl
std::_String_val<unsigned short,class std::allocator<unsigned short>
>::_String_val<unsigned short,class std::allocator<unsigned short> >(class
std::allocator<unsigned short>)"
(??0?$_String_val_at_GV?$allocator_at_G@std@@@std@@IEAA_at_V?$allocator_at_G@1@@Z)
already defined in w32_regex_traits.obj
msvcprtd.lib(MSVCP90D.dll) : error LNK2005: "public: __cdecl
std::allocator<unsigned short>::allocator<unsigned short>(void)"
(??0?$allocator_at_G@std@@QEAA_at_XZ) already defined in w32_regex_traits.obj
Creating library vc90/boost_regex-vc90-mt-gd-1_38.lib and object vc90
/boost_regex-vc90-mt-gd-1_38.exp
vc90/boost_regex-vc90-mt-gd-1_38.dll : fatal error LNK1169: one or more
multiply defined symbols found
These errors prevents creating DLL with 64-bit version of MSVC9.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/2919#comment:9> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:00 UTC