You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openoffice.apache.org by Oliver-Rainer Wittmann <or...@googlemail.com> on 2012/09/18 16:23:53 UTC

[code] building trunk, rev. 1386983 break in setup_native

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.

<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>

Re: [code] building trunk, rev. 1386983 break in setup_native

Posted by ZuoJun Chen <zj...@gmail.com>.
Hi,

I tested the patch on Win7 with cygiwn and MSVC 2008. I have finished the
full build
.and below is my config parameter.

--with-cl-home --with-ant-home --with-psdk-home
--with-frame-home --with-midl-path --with-csc-path
--with-nsis-path --with-jdk-home --with-directx-home
--with-dmake --with-epm-url --disable-build-mozilla
--without-junit  --disable-odk

However I can confirm the issue when building the sw module with debug
information,

Using "make clean & make -sr debug=t " under sw module, it returns
me several link
error messages as below:

iodetect.o : error LNK2019: unresolved external symbol
"__declspec(dllimport) pu
                blic: __thiscall _STL::ios_base::Init::~Init(void)"
(__imp_??1Init@ios_base@_STL
                    @@QAE@XZ) referenced in function "void __cdecl
_STL::`dynamic atexit destructor
                         for '_IosInit''(void)" (??__F_IosInit@_STL@@YAXXZ)
swdet2.o : error LNK2001: unresolved external symbol "__declspec(dllimport)
publ                                                                   ic:
__thiscall _STL::ios_base::Init::~Init(void)" (__imp_??1Init@ios_base@_STL@@
                                                                  QAE@XZ)
swdetect.o : error LNK2001: unresolved external symbol
"__declspec(dllimport) pu
                blic: __thiscall _STL::ios_base::Init::~Init(void)"
(__imp_??1Init@ios_base@_STL
                    @@QAE@XZ)
d:/src/ooo/main/solver/350/wntmsci12.pro/workdir/LinkTarget/Library/swd
                                                              .dll : fatal
error LNK1120: 4 unresolved externals
make: *** [/cygdrive/d/src/ooo/main/solver/350/wntmsci12.pro/workdir/Li

nkTarget/Library/iswd.lib] Error 96

Regards -- ZuoJun

2012/9/19 Andrew Rist <an...@oracle.com>

>
> On 9/18/2012 8:54 AM, Pedro Giffuni wrote:
>
>> 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.
>>
> I take back my earlier comment - boost did build on the win buildbot:
> http://ci.apache.org/projects/**openoffice/buildlogs/win/log/**
> wntmsci12.pro.build.html<http://ci.apache.org/projects/openoffice/buildlogs/win/log/wntmsci12.pro.build.html>
>
> (apr and the atlthunk.lib issues are outstanding, though)
>
> A.
>
>
>
>>
>> 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>
>>>
>>>
>>>
>>>
>
>

Re: [code] building trunk, rev. 1386983 break in setup_native

Posted by Andrew Rist <an...@oracle.com>.
On 9/18/2012 8:54 AM, Pedro Giffuni wrote:
> 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.
I take back my earlier comment - boost did build on the win buildbot:
http://ci.apache.org/projects/openoffice/buildlogs/win/log/wntmsci12.pro.build.html

(apr and the atlthunk.lib issues are outstanding, though)

A.

>
>
> 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>
>>
>>
>>



Re: [code] building trunk, rev. 1386983 break in setup_native

Posted by Oliver-Rainer Wittmann <or...@googlemail.com>.
Hi,

On 18.09.2012 18:16, Oliver-Rainer Wittmann wrote:
> 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.
>>
>
> Yes, it is weird.
>
> I saw that it was tested under Windows 7
>
> I am currently performing a complete build without having configure option
> --enable-dbgutil. May be it is only the stlport_vc71_stldebug_static.lib which
> causes trouble.

My build with configure option --enable-dbgutil was successful.

Seem to be a proble of the static stlport debug lib.

Best regards, Oliver.

> BTW, I had seen a couple of warnings on the build of module stlport saying
> something like "duplicate symbol/declaration/? ignored". Thus, may be something
> in stlport is triggering with issue.
>
> Best regards, Oliver.

Re: [OT] Re: [code] building trunk, rev. 1386983 break in setup_native

Posted by Oliver-Rainer Wittmann <or...@googlemail.com>.
Hi Pedro,

On 18.09.2012 22:03, Pedro Giffuni wrote:
>
> ----- Original Message -----
>> Subject: [OT] Re: [code] building trunk, rev. 1386983 break in setup_native
>>
>> Hi Pedro,
>>
>> On 18.09.2012 21:34, Pedro Giffuni wrote:
>>>
>>>   Hi Oliver, *
>>>
>>>>   ________________________________
>>>   ...
>>>
>>>
>>>>   BTW, I had seen a couple of warnings on the build of module stlport
>> saying
>>>>   something like "duplicate symbol/declaration/? ignored".
>> Thus, may be something
>>>>   in stlport is triggering with issue.
>>>>
>>>
>>>   stlport is something that I have been debating myself if it should be
>> updated
>>>   or just turned off for good. I tend to lean over the later but it would
>> certainly
>>>   be nice to clean this boost issue nevertheless.
>>>
>>
>> Yes, it would be great to get rid of stlport.
>>
>
> Just curious. Do you still get an error if you build --without-stlport ?
>

That does not work on Windows 7 :(

The configure already break with the following message:
checking what the default STL should be... stlport
checking for STL providing headers... using system STL
configure: WARNING: using system STL. Warning, breaks your ABI compatability!
checking whether we are allowed and able to use --ccache-skip... only used on 
Mac currently, skipping
checking if hash_map will be in __gnu_cxx namespace... configure: error: Can't 
find hash_map. Try with --with-stlport

Best regards, Oliver.

Re: [OT] Re: [code] building trunk, rev. 1386983 break in setup_native

Posted by Pedro Giffuni <pf...@apache.org>.



----- Original Message -----


> Subject: [OT] Re: [code] building trunk, rev. 1386983 break in setup_native
> 
> Hi Pedro,
> 
> On 18.09.2012 21:34, Pedro Giffuni wrote:
>> 
>>  Hi Oliver, *
>> 
>>>  ________________________________
>>  ...
>> 
>> 
>>>  BTW, I had seen a couple of warnings on the build of module stlport 
> saying
>>>  something like "duplicate symbol/declaration/? ignored". 
> Thus, may be something
>>>  in stlport is triggering with issue.
>>> 
>> 
>>  stlport is something that I have been debating myself if it should be 
> updated
>>  or just turned off for good. I tend to lean over the later but it would 
> certainly
>>  be nice to clean this boost issue nevertheless.
>> 
> 
> Yes, it would be great to get rid of stlport.
>

Just curious. Do you still get an error if you build --without-stlport ?

Pedro.

[OT] Re: [code] building trunk, rev. 1386983 break in setup_native

Posted by Oliver-Rainer Wittmann <or...@googlemail.com>.
Hi Pedro,

On 18.09.2012 21:34, Pedro Giffuni wrote:
>
> Hi Oliver, *
>
>> ________________________________
> ...
>
>
>> BTW, I had seen a couple of warnings on the build of module stlport saying
>> something like "duplicate symbol/declaration/? ignored". Thus, may be something
>> in stlport is triggering with issue.
>>
>
> stlport is something that I have been debating myself if it should be updated
> or just turned off for good. I tend to lean over the later but it would certainly
> be nice to clean this boost issue nevertheless.
>

Yes, it would be great to get rid of stlport.

Best regards, Oliver.

Re: [code] building trunk, rev. 1386983 break in setup_native

Posted by Pedro Giffuni <pf...@apache.org>.
Hi Oliver, *

>________________________________
...


>BTW, I had seen a couple of warnings on the build of module stlport saying 
>something like "duplicate symbol/declaration/? ignored". Thus, may be something 
>in stlport is triggering with issue.
>

stlport is something that I have been debating myself if it should be updated
or just turned off for good. I tend to lean over the later but it would certainly
be nice to clean this boost issue nevertheless.

Pedro.


Re: [code] building trunk, rev. 1386983 break in setup_native

Posted by Oliver-Rainer Wittmann <or...@googlemail.com>.
Hi,

On 18.09.2012 17:54, Pedro Giffuni wrote:
> 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.
>
>

Yes, it is weird.

I saw that it was tested under Windows 7

I am currently performing a complete build without having configure option 
--enable-dbgutil. May be it is only the stlport_vc71_stldebug_static.lib which 
causes trouble.
BTW, I had seen a couple of warnings on the build of module stlport saying 
something like "duplicate symbol/declaration/? ignored". Thus, may be something 
in stlport is triggering with issue.

Best regards, Oliver.

Re: [code] building trunk, rev. 1386983 break in setup_native

Posted by Pedro Giffuni <pf...@apache.org>.
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>
>
>
>

Re: [code] building trunk, rev. 1386983 break in setup_native

Posted by Pedro Giffuni <pf...@apache.org>.
Hi Oliver;

To be honest, I have no idea why we are getting the linking error,
but yes if defining your own local scope_array function stops the
error , it's OK. This is debugging code so we can live with the
duplicity.

FWIW, I noticed the build on linux is broken due to a checksum
mismatch in the English dictionary :(.

Pedro.



>________________________________
> From: Oliver-Rainer Wittmann <or...@googlemail.com>
>To: ooo-dev@incubator.apache.org 
>Sent: Thursday, September 20, 2012 9:32 AM
>Subject: Re: [code] building trunk, rev. 1386983 break in setup_native
> 
>Hi,
>
>Hi,
>
>
>On 19.09.2012 20:00, Oliver-Rainer Wittmann wrote:
>>>>
>>>> On 19.09.2012 08:44, Oliver-Rainer Wittmann wrote:
>>>>>   Hi,
>>>>>
>>>>>   On 19.09.2012 04:50, Pedro Giffuni wrote:
>>>>>>   Hi again;
>>>>>>
>>>>>>   I tried something in revision 1387438: basically I preserved some
>>>>>>   configuration changes from the previous patchset.
>>>>>>
>>>>>
>>>>>   Thanks
>>>>>   I will try.
>>>>>
>>>>
>>>> The build with --enable-dbgutil still breaks in setup_native.
>>>>
>>>
>>> I did a small cleanup of the FreeBSD specific patch but sadly,
>>> I am afraid I ran out of my Windows-fu :(.
>>>
>>> I found this
>>> http://cubicspot.blogspot.com/2007/06/solving-pesky-lnk2005-errors.html
>>>
>>>
>>> I think it may be something really simple, but we need a Windows
>>> expert here.
>>>
>>> It would be really sad to have to revert the update so I hope someone
>>> steps in!
>>>
>>
>> I do not think that it is needed to revert the boost update.
>> The problem only occurs when building with --enable-dbgutil and it is quite easy
>> to get rid of the boost::scoped_array usage in the corresponding small code
>> snippet.
>>
>
>Does the attached patch make sense in order to get rid of the problem by 
>removing the usage of boost::scoped_array?
>
>Thx in advance for your feedback.
>
>Best regards, Oliver.
>
>
>

Re: [code] building trunk, rev. 1386983 break in setup_native

Posted by Oliver-Rainer Wittmann <or...@googlemail.com>.
Hi,

On 23.09.2012 19:58, Regina Henschel wrote:
> Hi Oliver,
>
> Oliver-Rainer Wittmann schrieb:
> [..]
>>
>> Does the attached patch make sense in order to get rid of the problem by
>> removing the usage of boost::scoped_array?
>>
>> Thx in advance for your feedback.
>
> I have applied the patch before building with --enable-dbgutil and it builds
> fine. I use MSVC 9.0 Express.
>
> It would be nice to apply it generally, or does it harm a normal pro-build?
>

I will apply to patch on trunk.
The patch also affects the pro-build (build without configure option 
--enable-dbgutil).

Best regards, Oliver.

Re: [code] building trunk, rev. 1386983 break in setup_native

Posted by Regina Henschel <rb...@t-online.de>.
Hi Oliver,

Oliver-Rainer Wittmann schrieb:
[..]
>
> Does the attached patch make sense in order to get rid of the problem by
> removing the usage of boost::scoped_array?
>
> Thx in advance for your feedback.

I have applied the patch before building with --enable-dbgutil and it 
builds fine. I use MSVC 9.0 Express.

It would be nice to apply it generally, or does it harm a normal pro-build?

Kind regards
Regina



Re: [code] building trunk, rev. 1386983 break in setup_native

Posted by Oliver-Rainer Wittmann <or...@googlemail.com>.
Hi,

Hi,


On 19.09.2012 20:00, Oliver-Rainer Wittmann wrote:
>>>
>>> On 19.09.2012 08:44, Oliver-Rainer Wittmann wrote:
>>>>   Hi,
>>>>
>>>>   On 19.09.2012 04:50, Pedro Giffuni wrote:
>>>>>   Hi again;
>>>>>
>>>>>   I tried something in revision 1387438: basically I preserved some
>>>>>   configuration changes from the previous patchset.
>>>>>
>>>>
>>>>   Thanks
>>>>   I will try.
>>>>
>>>
>>> The build with --enable-dbgutil still breaks in setup_native.
>>>
>>
>> I did a small cleanup of the FreeBSD specific patch but sadly,
>> I am afraid I ran out of my Windows-fu :(.
>>
>> I found this
>> http://cubicspot.blogspot.com/2007/06/solving-pesky-lnk2005-errors.html
>>
>>
>> I think it may be something really simple, but we need a Windows
>> expert here.
>>
>> It would be really sad to have to revert the update so I hope someone
>> steps in!
>>
>
> I do not think that it is needed to revert the boost update.
> The problem only occurs when building with --enable-dbgutil and it is quite easy
> to get rid of the boost::scoped_array usage in the corresponding small code
> snippet.
>

Does the attached patch make sense in order to get rid of the problem by 
removing the usage of boost::scoped_array?

Thx in advance for your feedback.

Best regards, Oliver.

Re: [code] building trunk, rev. 1386983 break in setup_native

Posted by Oliver-Rainer Wittmann <or...@googlemail.com>.
Hi,

On 19.09.2012 17:01, Pedro Giffuni wrote:
> Hi,
>
>>
>> On 19.09.2012 08:44, Oliver-Rainer Wittmann wrote:
>>>   Hi,
>>>
>>>   On 19.09.2012 04:50, Pedro Giffuni wrote:
>>>>   Hi again;
>>>>
>>>>   I tried something in revision 1387438: basically I preserved some
>>>>   configuration changes from the previous patchset.
>>>>
>>>
>>>   Thanks
>>>   I will try.
>>>
>>
>> The build with --enable-dbgutil still breaks in setup_native.
>>
>
> I did a small cleanup of the FreeBSD specific patch but sadly,
> I am afraid I ran out of my Windows-fu :(.
>
> I found this
> http://cubicspot.blogspot.com/2007/06/solving-pesky-lnk2005-errors.html
>
>
> I think it may be something really simple, but we need a Windows
> expert here.
>
> It would be really sad to have to revert the update so I hope someone
> steps in!
>

I do not think that it is needed to revert the boost update.
The problem only occurs when building with --enable-dbgutil and it is quite easy 
to get rid of the boost::scoped_array usage in the corresponding small code snippet.

Best regards, Oliver.

Re: [code] building trunk, rev. 1386983 break in setup_native

Posted by Pedro Giffuni <pf...@apache.org>.
Hi,

> 
> On 19.09.2012 08:44, Oliver-Rainer Wittmann wrote:
>>  Hi,
>> 
>>  On 19.09.2012 04:50, Pedro Giffuni wrote:
>>>  Hi again;
>>> 
>>>  I tried something in revision 1387438: basically I preserved some
>>>  configuration changes from the previous patchset.
>>> 
>> 
>>  Thanks
>>  I will try.
>> 
> 
> The build with --enable-dbgutil still breaks in setup_native.
> 

I did a small cleanup of the FreeBSD specific patch but sadly,
I am afraid I ran out of my Windows-fu :(.

I found this
http://cubicspot.blogspot.com/2007/06/solving-pesky-lnk2005-errors.html


I think it may be something really simple, but we need a Windows
expert here.

It would be really sad to have to revert the update so I hope someone
steps in!

Pedro.

Re: [code] building trunk, rev. 1386983 break in setup_native

Posted by Oliver-Rainer Wittmann <or...@googlemail.com>.
Hi,

On 19.09.2012 08:44, Oliver-Rainer Wittmann wrote:
> Hi,
>
> On 19.09.2012 04:50, Pedro Giffuni wrote:
>> Hi again;
>>
>> I tried something in revision 1387438: basically I preserved some
>> configuration changes from the previous patchset.
>>
>
> Thanks
> I will try.
>

The build with --enable-dbgutil still breaks in setup_native.

Best regards, Oliver.

>>
>> ----- Original Message -----
>>> From: Oliver-Rainer Wittmann <or...@googlemail.com>
>>> To: ooo-dev@incubator.apache.org
>>> Cc:
>>> Sent: Tuesday, September 18, 2012 12:40 PM
>>> Subject: Re: [code] building trunk, rev. 1386983 break in setup_native
>>>
>>> Hi,
>>>
>>> On 18.09.2012 19:34, Oliver-Rainer Wittmann wrote:
>>>>   Hi,
>>>>
>>>>   On 18.09.2012 19:00, Andrew Rist wrote:
>>>>>   The Windows buildbot is also seeing these problems.
>>>>>   Which VS are you using?
>>>>
>>>>   I am using VS 2008 Professional.
>>>>
>>>
>>> Sorry, wrong machine.
>>> I am building with VS C++ 2008 Express.
>>>
>>> Best regards, Oliver.
>>>>>
>>>>>   On 9/18/2012 7:23 AM, Oliver-Rainer Wittmann wrote:
>>>>>>   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.
>>>>>>
>>>>>>   <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>
>>>>>
>>>

Re: [code] building trunk, rev. 1386983 break in setup_native

Posted by Oliver-Rainer Wittmann <or...@googlemail.com>.
Hi,

On 19.09.2012 04:50, Pedro Giffuni wrote:
> Hi again;
>
> I tried something in revision 1387438: basically I preserved some
> configuration changes from the previous patchset.
>

Thanks
I will try.

Best regards, Oliver.
>
>
> ----- Original Message -----
>> From: Oliver-Rainer Wittmann <or...@googlemail.com>
>> To: ooo-dev@incubator.apache.org
>> Cc:
>> Sent: Tuesday, September 18, 2012 12:40 PM
>> Subject: Re: [code] building trunk, rev. 1386983 break in setup_native
>>
>> Hi,
>>
>> On 18.09.2012 19:34, Oliver-Rainer Wittmann wrote:
>>>   Hi,
>>>
>>>   On 18.09.2012 19:00, Andrew Rist wrote:
>>>>   The Windows buildbot is also seeing these problems.
>>>>   Which VS are you using?
>>>
>>>   I am using VS 2008 Professional.
>>>
>>
>> Sorry, wrong machine.
>> I am building with VS C++ 2008 Express.
>>
>> Best regards, Oliver.
>>>>
>>>>   On 9/18/2012 7:23 AM, Oliver-Rainer Wittmann wrote:
>>>>>   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.
>>>>>
>>>>>   <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>
>>>>
>>

Re: [code] building trunk, rev. 1386983 break in setup_native

Posted by Pedro Giffuni <pf...@apache.org>.
Hi again;

I tried something in revision 1387438: basically I preserved some
configuration changes from the previous patchset.

Hope that helps,

Pedro.


----- Original Message -----
> From: Oliver-Rainer Wittmann <or...@googlemail.com>
> To: ooo-dev@incubator.apache.org
> Cc: 
> Sent: Tuesday, September 18, 2012 12:40 PM
> Subject: Re: [code] building trunk, rev. 1386983 break in setup_native
> 
> Hi,
> 
> On 18.09.2012 19:34, Oliver-Rainer Wittmann wrote:
>>  Hi,
>> 
>>  On 18.09.2012 19:00, Andrew Rist wrote:
>>>  The Windows buildbot is also seeing these problems.
>>>  Which VS are you using?
>> 
>>  I am using VS 2008 Professional.
>> 
> 
> Sorry, wrong machine.
> I am building with VS C++ 2008 Express.
> 
> Best regards, Oliver.
>>> 
>>>  On 9/18/2012 7:23 AM, Oliver-Rainer Wittmann wrote:
>>>>  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.
>>>> 
>>>>  <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>
>>> 
> 

Re: [code] building trunk, rev. 1386983 break in setup_native

Posted by Oliver-Rainer Wittmann <or...@googlemail.com>.
Hi,

On 18.09.2012 19:34, Oliver-Rainer Wittmann wrote:
> Hi,
>
> On 18.09.2012 19:00, Andrew Rist wrote:
>> The Windows buildbot is also seeing these problems.
>> Which VS are you using?
>
> I am using VS 2008 Professional.
>

Sorry, wrong machine.
I am building with VS C++ 2008 Express.

Best regards, Oliver.
>>
>> On 9/18/2012 7:23 AM, Oliver-Rainer Wittmann wrote:
>>> 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.
>>>
>>> <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>
>>

Re: [code] building trunk, rev. 1386983 break in setup_native

Posted by Oliver-Rainer Wittmann <or...@googlemail.com>.
Hi,

On 18.09.2012 19:00, Andrew Rist wrote:
> The Windows buildbot is also seeing these problems.
> Which VS are you using?

I am using VS 2008 Professional.

Best regards, Oliver.
>
> On 9/18/2012 7:23 AM, Oliver-Rainer Wittmann wrote:
>> 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.
>>
>> <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>
>

Re: [code] building trunk, rev. 1386983 break in setup_native

Posted by Andrew Rist <an...@oracle.com>.
The Windows buildbot is also seeing these problems.
Which VS are you using?
A.


On 9/18/2012 7:23 AM, Oliver-Rainer Wittmann wrote:
> 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.
>
> <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>

-- 

Andrew Rist | Interoperability Architect
OracleCorporate Architecture Group
Redwood Shores, CA | 650.506.9847