On 14/05/12 16:20, Noel Power wrote:
> 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
> 
> 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.


_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to