Linker error when compiling libreoffice core.

Michael Stahl mst at libreoffice.org
Wed Sep 8 08:55:45 UTC 2021


On 08.09.21 10:26, Caolán McNamara wrote:
> On Tue, 2021-09-07 at 16:41 +0200, Mysaa Java wrote:
>> /sources/libreoffice/ext/core/workdir/CxxObject/writerfilter/source/rtf
>> tok/rtfdocumentimpl.o: in function
>> `writerfilter::rtftok::RTFDocumentImpl::handleEmbeddedObject()':
>> rtfdocumentimpl.cxx:(.text+0x86bc): undefined reference to `non-virtual
>> thunk to cppu::ImplInheritanceHelper<utl::OInputStreamWrapper,
>> com::sun::star::io::XSeekable>::acquire()'
>> collect2: error: ld returned 1 exit status
>> make: ***
>> [/sources/libreoffice/ext/core/writerfilter/Library_writerfilter.mk:10:
>> /sources/libreoffice/ext/core/instdir/program/libwriterfilterlo.so]
>> Error 1
>> ```
> 
> I haven't had this exact error before, but we have seen similar in the
> past. What's probably relevant is the version of your compiler
> (gcc --version). The last time we saw this the workaround deployed was
> https://cgit.freedesktop.org/libreoffice/core/commit/?id=c820cb429fc3d3eec9bf6596f0a34995cbd93982
> 
> Trying similar for OSeekableInputStreamWrapper might help.

probably it's a bug in the compiler, you could try to upgrade the 
compiler or try if it works if you remove --enable-mergelibs.



More information about the LibreOffice mailing list