problem with compiling and linking the same file into different libraries

Lubos Lunak l.lunak at
Sun Apr 8 09:48:08 PDT 2012

On Sunday 08 of April 2012, Markus Mohrhard wrote:
> There are currently 2 related problems. First the check for duplicated
> linked objects complains that cursormove.o is linked into two libs and
> then David pointed out that cursormove.cxx is only compiled once with
> my current approach. So one of the two makefiles uses an object file
> that uses the wrong header files.

 That is actually only one problem, the complaint is there because of this 
( And I suppose the 
solution is the same, e.g. do cursormove.cxx in qa/ that does #include 
<real_cursormove.cxx> .

 PS: I think you didn't want to include the solenv/gbuild/ change 
in the patch.

 Lubos Lunak
 l.lunak at

More information about the LibreOffice mailing list