Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


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



Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.