Tinderbox failure, W2008R2 at 16-minimal_build, MASTER, last success: 2012-05-14 10:24:00

Michael Stahl mstahl at redhat.com
Mon May 14 07:43:56 PDT 2012


On 14/05/12 16:20, Noel Power wrote:
> On 14/05/12 14:36, nthiebaud at gmail.com wrote:
>> C:/lo/core/workdir/wntmsci12.pro/CxxObject/editeng/qa/items/borderline_test.o
>>     Creating library C:/lo/core/workdir/wntmsci12.pro/LinkTarget/CppunitTest/itest_editeng_borderline.lib and object C:/lo/core/workdir/wntmsci12.pro/LinkTarget/CppunitTest/itest_editeng_borderline.exp
>> [ build LNK ] Library/ifwe.lib
>> basic.lib(sblo.dll) : error LNK2005: "public: static class String const&  __cdecl StarBASIC::GetErrorText(void)" (?GetErrorText at StarBASIC@@SAABVString@@XZ) already defined in sb.o
>> basic.lib(sblo.dll) : error LNK2005: "public: __thiscall BasicDLL::BasicDLL(void)" (??0BasicDLL@@QAE at XZ) already defined in basrdll.o
> 
> anyone any idea ? I must be dumb/blind but I don't see my error ;-), 

apparently this is caused by both linking against sb and using
gb_CppunitTest_use_library_objects to pull in all the sb library's
objects, so these end up being defined twice.

> hopefully my attempted change ( Module_basic.mk ) to disable 
> CppunitTest_basic_enable.mk  to reduce the tinderbox noise has worked. 

so the test still builds on Linux if i remove the
gb_CppunitTest_use_library_objects, so i've pushed that to master.




More information about the LibreOffice mailing list