On 14/05/12 14:36, nthieb...@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@StarBASIC@@SAABVString@@XZ) already defined in sb.o basic.lib(sblo.dll) : error LNK2005: "public: __thiscall BasicDLL::BasicDLL(void)" (??0BasicDLL@@QAE@XZ) already defined in basrdll.o basic.lib(sblo.dll) : error LNK2005: "public: static void __cdecl StarBASIC::operator delete(void *)" (??3StarBASIC@@SAXPAX@Z) already defined in sb.o basic.lib(sblo.dll) : error LNK2005: "public: short __thiscall SbxValue::GetInteger(void)const " (?GetInteger@SbxValue@@QBEFXZ) already defined in sbxvalue.o basic.lib(sblo.dll) : error LNK2005: "public: __thiscall SbxMethod::SbxMethod(class SbxMethod const&)" (??0SbxMethod@@QAE@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@StarBASIC@@QAEPAVSbModule@@ABVString@@0@Z) already defined in sb.o basic.lib(sblo.dll) : error LNK2005: "public: static void __cdecl StarBASIC::SetGlobalErrorHdl(class Link const&)" (?SetGlobalErrorHdl@StarBASIC@@SAXABVLink@@@Z) already defined in sb.o basic.lib(sblo.dll) : error LNK2005: "public: __thiscall StarBASIC::StarBASIC(class StarBASIC *,unsigned char)" (??0StarBASIC@@QAE@PAV0@E@Z) already defined in sb.o basic.lib(sblo.dll) : error LNK2005: "public: static void * __cdecl StarBASIC::operator new(unsigned int)" (??2StarBASIC@@SAPAXI@Z) already defined in sb.o basic.lib(sblo.dll) : error LNK2005: "public: virtual __thiscall SbxMethod::~SbxMethod(void)" (??1SbxMethod@@UAE@XZ) already defined in sbxobj.o basic.lib(sblo.dll) : error LNK2005: "protected: virtual __thiscall StarBASIC::~StarBASIC(void)" (??1StarBASIC@@MAE@XZ) already defined in sb.o basic.lib(sblo.dll) : error LNK2005: "public: virtual unsigned char __thiscall StarBASIC::IsA(void * (__cdecl*)(void))const " (?IsA@StarBASIC@@UBEEP6APAXXZ@Z) already defined in sb.o basic.lib(sblo.dll) : error LNK2005: "public: virtual void * (__cdecl*__thiscall StarBASIC::Type(void)const )(void)" (?Type@StarBASIC@@UBEP6APAXXZXZ) already defined in sb.o basic.lib(sblo.dll) : error LNK2005: "public: __thiscall BasicDLL::~BasicDLL(void)" (??1BasicDLL@@QAE@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 _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice