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

Noel Power nopower at suse.com
Mon May 14 07:20:47 PDT 2012


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
> basic.lib(sblo.dll) : error LNK2005: "public: static void __cdecl StarBASIC::operator delete(void *)" (??3StarBASIC@@SAXPAX at Z) already defined in sb.o
> basic.lib(sblo.dll) : error LNK2005: "public: short __thiscall SbxValue::GetInteger(void)const " (?GetInteger at SbxValue@@QBEFXZ) already defined in sbxvalue.o
> basic.lib(sblo.dll) : error LNK2005: "public: __thiscall SbxMethod::SbxMethod(class SbxMethod const&)" (??0SbxMethod@@QAE at ABV0@@Z) already defined in sbxobj.o
> basic.lib(sblo.dll) : error LNK2005: "public: class SbModule * __thiscall StarBASIC::MakeModule(class String const&,class String const&)" (?MakeModule at StarBASIC@@QAEPAVSbModule@@ABVString@@0 at Z) already defined in sb.o
> basic.lib(sblo.dll) : error LNK2005: "public: static void __cdecl StarBASIC::SetGlobalErrorHdl(class Link const&)" (?SetGlobalErrorHdl at StarBASIC@@SAXABVLink@@@Z) already defined in sb.o
> basic.lib(sblo.dll) : error LNK2005: "public: __thiscall StarBASIC::StarBASIC(class StarBASIC *,unsigned char)" (??0StarBASIC@@QAE at PAV0@E at Z) already defined in sb.o
> basic.lib(sblo.dll) : error LNK2005: "public: static void * __cdecl StarBASIC::operator new(unsigned int)" (??2StarBASIC@@SAPAXI at Z) already defined in sb.o
> basic.lib(sblo.dll) : error LNK2005: "public: virtual __thiscall SbxMethod::~SbxMethod(void)" (??1SbxMethod@@UAE at XZ) already defined in sbxobj.o
> basic.lib(sblo.dll) : error LNK2005: "protected: virtual __thiscall StarBASIC::~StarBASIC(void)" (??1StarBASIC@@MAE at XZ) already defined in sb.o
> basic.lib(sblo.dll) : error LNK2005: "public: virtual unsigned char __thiscall StarBASIC::IsA(void * (__cdecl*)(void))const " (?IsA at StarBASIC@@UBEEP6APAXXZ at Z) already defined in sb.o
> basic.lib(sblo.dll) : error LNK2005: "public: virtual void * (__cdecl*__thiscall StarBASIC::Type(void)const )(void)" (?Type at StarBASIC@@UBEP6APAXXZXZ) already defined in sb.o
> basic.lib(sblo.dll) : error LNK2005: "public: __thiscall BasicDLL::~BasicDLL(void)" (??1BasicDLL@@QAE at XZ) already defined in basrdll.o
>     Creating library C:/lo/core/workdir/wntmsci12.pro/LinkTarget/CppunitTest/itest_basic_enable.lib and object C:/lo/core/workdir/wntmsci12.pro/LinkTarget/CppunitTest/itest_basic_enable.exp
> C:/lo/core/workdir/wntmsci12.pro/LinkTarget/CppunitTest/test_basic_enable.dll : fatal error LNK1169: one or more multiply defined symbols found

anyone any idea ? I must be dumb/blind but I don't see my error ;-), 
hopefully my attempted change ( Module_basic.mk ) to disable 
CppunitTest_basic_enable.mk  to reduce the tinderbox noise has worked. 
Maybe I miss some detail with the multiproc build log. It seems that any 
of the StarBASIC methods that I call in test_append.cxx are getting 
marked as multiply defined.

Noel



More information about the LibreOffice mailing list