id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 2919,Bcp.exe won't compile,seppi2112@…,Douglas Gregor,"Compiling the boost_1_38_0 package in VC9 with Python 2.6. Everything works fine until the compiler gets to the BCP project and I get 10 linking errors. I'm completely new to Boost so the problem is probably on my end, but I have no idea how to resolve this. Any ideas? Error message follows: ------ Build started: Project: bcp, Configuration: Debug Win32 ------ Linking... libboost_regex-vc90-mt-1_38.lib(w32_regex_traits.obj) : error LNK2005: ""void __cdecl boost::re_detail::free_module(void *)"" (?free_module@re_detail@boost@@YAXPAX@Z) already defined in libboost_regex-vc90-mt-gd-1_38.lib(w32_regex_traits.obj) libboost_regex-vc90-mt-1_38.lib(w32_regex_traits.obj) : error LNK2005: ""private: void __thiscall boost::re_detail::w32_regex_traits_char_layer::init(void)"" (?init@?$w32_regex_traits_char_layer@D@re_detail@boost@@AAEXXZ) already defined in libboost_regex-vc90-mt-gd-1_38.lib(w32_regex_traits.obj) libboost_regex-vc90-mt-1_38.lib(regex_traits_defaults.obj) : error LNK2005: ""char const * * boost::re_detail::def_coll_names"" (?def_coll_names@re_detail@boost@@3PAPBDA) already defined in libboost_regex-vc90-mt-gd-1_38.lib(regex_traits_defaults.obj) libboost_regex-vc90-mt-1_38.lib(regex_traits_defaults.obj) : error LNK2005: ""char const * * boost::re_detail::def_multi_coll"" (?def_multi_coll@re_detail@boost@@3PAPBDA) already defined in libboost_regex-vc90-mt-gd-1_38.lib(regex_traits_defaults.obj) libboost_regex-vc90-mt-1_38.lib(regex.obj) : error LNK2005: ""public: __thiscall boost::regex_error::regex_error(class std::basic_string,class std::allocator > const &,enum boost::regex_constants::error_type,int)"" (??0regex_error@boost@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@W4error_type@regex_constants@1@H@Z) already defined in libboost_regex-vc90-mt-gd-1_38.lib(regex.obj) libboost_regex-vc90-mt-1_38.lib(regex.obj) : error LNK2005: ""public: __thiscall boost::regex_error::regex_error(enum boost::regex_constants::error_type)"" (??0regex_error@boost@@QAE@W4error_type@regex_constants@1@@Z) already defined in libboost_regex-vc90-mt-gd-1_38.lib(regex.obj) libboost_regex-vc90-mt-1_38.lib(regex.obj) : error LNK2005: ""public: virtual __thiscall boost::regex_error::~regex_error(void)"" (??1regex_error@boost@@UAE@XZ) already defined in libboost_regex-vc90-mt-gd-1_38.lib(regex.obj) libboost_regex-vc90-mt-1_38.lib(regex.obj) : error LNK2005: ""public: void __thiscall boost::regex_error::raise(void)const "" (?raise@regex_error@boost@@QBEXXZ) already defined in libboost_regex-vc90-mt-gd-1_38.lib(regex.obj) libboost_regex-vc90-mt-1_38.lib(regex.obj) : error LNK2005: ""struct boost::re_detail::mem_block_cache boost::re_detail::block_cache"" (?block_cache@re_detail@boost@@3Umem_block_cache@12@A) already defined in libboost_regex-vc90-mt-gd-1_38.lib(regex.obj) LINK : warning LNK4098: defaultlib 'MSVCRTD' conflicts with use of other libs; use /NODEFAULTLIB:library C:\boost_1_38_0\bin\Debug\bcp.exe : fatal error LNK1169: one or more multiply defined symbols found Build log was saved at ""file://c:\boost_1_38_0\tools\bcp\bcp.dir\Debug\BuildLog.htm"" bcp - 10 error(s), 1 warning(s)",Bugs,closed,Boost 1.39.0,CMake,Boost 1.39.0,Problem,fixed,regex,