Hi Oliver; > >Hi, > >I am building trunk, rev. 1386983 on Windows in my environment and I got a >build breaker in module setup_native. >The build breaks in >/main/setup_native/source/win32/customactions/shellextensions - below you find >my error output. > >It looks like that the combination of boost and static stlport causes the >trouble. >The build works fine, when I remove the usage of boost::scoped_array and the >corresponding include from >/main/setup_native/source/win32/customactions/copyeditiondata.cxx. >It also works fine, when I force the linker to link stlport_vc71_stldebug.lib >instead of stlport_vc71_stldebug_static.lib > >Can somebody help me to solve the problem? >Does somebody else experienced the same? > >Thanks in advance, Oliver. >
This is very weird: I updated boost and while I only run FreeBSD, the update was tested in Windows. Can anyone confirm the issue? I had other updates in the pipeline but I will wait until we are all on the same page. Pedro. ><my error output> >Making: shlxtmsi.dll >Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0 > >Copyright (C) Microsoft Corporation. All rights reserved. > > >Microsoft (R) Incremental Linker Version 9.00.21022.08 >Copyright (C) Microsoft Corporation. All rights reserved. > >-safeseh -nxcompat -dynamicbase -NODEFAULTLIB -DEBUG /SUBSYSTEM:CONSOLE /DLL >-out:../../../../wntmsci12/bin/shlxtmsi.dll >-map:../../../../wntmsci12/misc/shlxtmsi.map >-def:../../../../wntmsci12/misc/shlxtmsi.def >-implib:../../../../wntmsci12/lib/ishlxtmsi.lib >../../../../wntmsci12/slo/shlxtmsi_version.obj >../../../../wntmsci12/slo/shellextensions.obj >../../../../wntmsci12/slo/startmenuicon.obj >../../../../wntmsci12/slo/upgrade.obj ../../../../wntmsci12/slo/iconcache.obj >../../../../wntmsci12/slo/postuninstall.obj >../../../../wntmsci12/slo/migrateinstallpath.obj >../../../../wntmsci12/slo/completeinstallpath.obj >../../../../wntmsci12/slo/checkdirectory.obj >../../../../wntmsci12/slo/setadmininstall.obj >../../../../wntmsci12/slo/layerlinks.obj >../../../../wntmsci12/slo/dotnetcheck.obj >../../../../wntmsci12/slo/registerextensions.obj >../../../../wntmsci12/slo/copyeditiondata.obj >../../../../wntmsci12/slo/vistaspecial.obj ../../../../wntmsci12/slo/checkrunningoffice.obj ../../../../wntmsci12/slo/checkpatches.obj ../../../../wntmsci12/slo/copyextensiondata.obj ../../../../wntmsci12/slo/seterror.obj libcmtd.lib kernel32.lib user32.lib oldnames.lib advapi32.lib msi.lib shell32.lib stlport_vc71_stldebug_static.lib ../../../../wntmsci12/misc/shlxtmsi.res >stlport_vc71_stldebug_static.lib(locale_impl.obj) : error LNK2005: "public: >static int const _STL::locale::none" (?none@locale@_STL@@2HB) already defined >in copyeditiondata.obj >stlport_vc71_stldebug_static.lib(locale_impl.obj) : error LNK2005: "public: >static int const _STL::locale::collate" (?collate@locale@_STL@@2HB) already >defined in copyeditiondata.obj >stlport_vc71_stldebug_static.lib(locale_impl.obj) : error LNK2005: "public: >static int const _STL::locale::ctype" (?ctype@locale@_STL@@2HB) already >defined in copyeditiondata.obj >stlport_vc71_stldebug_static.lib(locale_impl.obj) : error LNK2005: "public: >static int const _STL::locale::monetary" (?monetary@locale@_STL@@2HB) already >defined in copyeditiondata.obj >stlport_vc71_stldebug_static.lib(locale_impl.obj) : error LNK2005: "public: >static int const _STL::locale::numeric" (?numeric@locale@_STL@@2HB) already >defined in copyeditiondata.obj >stlport_vc71_stldebug_static.lib(locale_impl.obj) : error LNK2005: "public: >static int const _STL::locale::time" (?time@locale@_STL@@2HB) already defined >in copyeditiondata.obj >stlport_vc71_stldebug_static.lib(locale_impl.obj) : error LNK2005: "public: >static int const _STL::locale::messages" (?messages@locale@_STL@@2HB) already >defined in copyeditiondata.obj >stlport_vc71_stldebug_static.lib(locale_impl.obj) : error LNK2005: "public: >static int const _STL::locale::all" (?all@locale@_STL@@2HB) already defined in >copyeditiondata.obj >stlport_vc71_stldebug_static.lib(ctype.obj) : error LNK2005: "public: static >unsigned int const _STL::ctype<char>::table_size" >(?table_size@?$ctype@D@_STL@@2IB) already defined in copyeditiondata.obj >stlport_vc71_stldebug_static.lib(ios.obj) : error LNK2005: "public: static int >const _STL::ios_base::left" (?left@ios_base@_STL@@2HB) already defined in >copyeditiondata.obj >stlport_vc71_stldebug_static.lib(ios.obj) : error LNK2005: "public: static int >const _STL::ios_base::right" (?right@ios_base@_STL@@2HB) already defined in >copyeditiondata.obj >stlport_vc71_stldebug_static.lib(ios.obj) : error LNK2005: "public: static int >const _STL::ios_base::internal" (?internal@ios_base@_STL@@2HB) already defined >in copyeditiondata.obj >stlport_vc71_stldebug_static.lib(ios.obj) : error LNK2005: "public: static int >const _STL::ios_base::dec" (?dec@ios_base@_STL@@2HB) already defined in >copyeditiondata.obj >stlport_vc71_stldebug_static.lib(ios.obj) : error LNK2005: "public: static int >const _STL::ios_base::hex" (?hex@ios_base@_STL@@2HB) already defined in >copyeditiondata.obj >stlport_vc71_stldebug_static.lib(ios.obj) : error LNK2005: "public: static int >const _STL::ios_base::oct" (?oct@ios_base@_STL@@2HB) already defined in >copyeditiondata.obj >stlport_vc71_stldebug_static.lib(ios.obj) : error LNK2005: "public: static int >const _STL::ios_base::fixed" (?fixed@ios_base@_STL@@2HB) already defined in >copyeditiondata.obj >stlport_vc71_stldebug_static.lib(ios.obj) : error LNK2005: "public: static int >const _STL::ios_base::scientific" (?scientific@ios_base@_STL@@2HB) already >defined in copyeditiondata.obj >stlport_vc71_stldebug_static.lib(ios.obj) : error LNK2005: "public: static int >const _STL::ios_base::boolalpha" (?boolalpha@ios_base@_STL@@2HB) already >defined in copyeditiondata.obj >stlport_vc71_stldebug_static.lib(ios.obj) : error LNK2005: "public: static int >const _STL::ios_base::showbase" (?showbase@ios_base@_STL@@2HB) already defined >in copyeditiondata.obj >stlport_vc71_stldebug_static.lib(ios.obj) : error LNK2005: "public: static int >const _STL::ios_base::showpoint" (?showpoint@ios_base@_STL@@2HB) already >defined in copyeditiondata.obj >stlport_vc71_stldebug_static.lib(ios.obj) : error LNK2005: "public: static int >const _STL::ios_base::showpos" (?showpos@ios_base@_STL@@2HB) already defined >in copyeditiondata.obj >stlport_vc71_stldebug_static.lib(ios.obj) : error LNK2005: "public: static int >const _STL::ios_base::skipws" (?skipws@ios_base@_STL@@2HB) already defined in >copyeditiondata.obj >stlport_vc71_stldebug_static.lib(ios.obj) : error LNK2005: "public: static int >const _STL::ios_base::unitbuf" (?unitbuf@ios_base@_STL@@2HB) already defined >in copyeditiondata.obj >stlport_vc71_stldebug_static.lib(ios.obj) : error LNK2005: "public: static int >const _STL::ios_base::uppercase" (?uppercase@ios_base@_STL@@2HB) already >defined in copyeditiondata.obj >stlport_vc71_stldebug_static.lib(ios.obj) : error LNK2005: "public: static int >const _STL::ios_base::adjustfield" (?adjustfield@ios_base@_STL@@2HB) already >defined in copyeditiondata.obj >stlport_vc71_stldebug_static.lib(ios.obj) : error LNK2005: "public: static int >const _STL::ios_base::basefield" (?basefield@ios_base@_STL@@2HB) already >defined in copyeditiondata.obj >stlport_vc71_stldebug_static.lib(ios.obj) : error LNK2005: "public: static int >const _STL::ios_base::floatfield" (?floatfield@ios_base@_STL@@2HB) already >defined in copyeditiondata.obj >stlport_vc71_stldebug_static.lib(ios.obj) : error LNK2005: "public: static int >const _STL::ios_base::goodbit" (?goodbit@ios_base@_STL@@2HB) already defined >in copyeditiondata.obj >stlport_vc71_stldebug_static.lib(ios.obj) : error LNK2005: "public: static int >const _STL::ios_base::badbit" (?badbit@ios_base@_STL@@2HB) already defined in >copyeditiondata.obj >stlport_vc71_stldebug_static.lib(ios.obj) : error LNK2005: "public: static int >const _STL::ios_base::eofbit" (?eofbit@ios_base@_STL@@2HB) already defined in >copyeditiondata.obj >stlport_vc71_stldebug_static.lib(ios.obj) : error LNK2005: "public: static int >const _STL::ios_base::failbit" (?failbit@ios_base@_STL@@2HB) already defined >in copyeditiondata.obj >stlport_vc71_stldebug_static.lib(ios.obj) : error LNK2005: "public: static int >const _STL::ios_base::app" (?app@ios_base@_STL@@2HB) already defined in >copyeditiondata.obj >stlport_vc71_stldebug_static.lib(ios.obj) : error LNK2005: "public: static int >const _STL::ios_base::ate" (?ate@ios_base@_STL@@2HB) already defined in >copyeditiondata.obj >stlport_vc71_stldebug_static.lib(ios.obj) : error LNK2005: "public: static int >const _STL::ios_base::binary" (?binary@ios_base@_STL@@2HB) already defined in >copyeditiondata.obj >stlport_vc71_stldebug_static.lib(ios.obj) : error LNK2005: "public: static int >const _STL::ios_base::in" (?in@ios_base@_STL@@2HB) already defined in >copyeditiondata.obj >stlport_vc71_stldebug_static.lib(ios.obj) : error LNK2005: "public: static int >const _STL::ios_base::out" (?out@ios_base@_STL@@2HB) already defined in >copyeditiondata.obj >stlport_vc71_stldebug_static.lib(ios.obj) : error LNK2005: "public: static int >const _STL::ios_base::trunc" (?trunc@ios_base@_STL@@2HB) already defined in >copyeditiondata.obj >stlport_vc71_stldebug_static.lib(ios.obj) : error LNK2005: "public: static int >const _STL::ios_base::beg" (?beg@ios_base@_STL@@2HB) already defined in >copyeditiondata.obj >stlport_vc71_stldebug_static.lib(ios.obj) : error LNK2005: "public: static int >const _STL::ios_base::cur" (?cur@ios_base@_STL@@2HB) already defined in >copyeditiondata.obj >stlport_vc71_stldebug_static.lib(ios.obj) : error LNK2005: "public: static int >const _STL::ios_base::end" (?end@ios_base@_STL@@2HB) already defined in >copyeditiondata.obj > Creating library ../../../../wntmsci12/lib/ishlxtmsi.lib and object >../../../../wntmsci12/lib/ishlxtmsi.exp >../../../../wntmsci12/bin/shlxtmsi.dll : fatal error LNK1169: one or more >multiply defined symbols found ></my error output> > > >
