incubator-ooo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ZuoJun Chen <zjchen...@gmail.com>
Subject Re: [code] building trunk, rev. 1386983 break in setup_native
Date Tue, 18 Sep 2012 17:37:43 GMT
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 <andrew.rist@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>
>>>
>>>
>>>
>>>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message