undefined reference to non-virtual thunk
Michael Stahl
mstahl at redhat.com
Mon Jan 5 05:43:14 PST 2015
On 16.12.2014 08:22, Kostas Tamateas wrote:
> Hello everyone,
>
> I'm trying to build libreoffice-4.3.41 sources.
> My system is a Debian distribution 32-bit with gcc 4.9.1 and my configure is this:
>
> ../autogen.sh --enable-release-build --enable-mergelibs=yes --without-java --without-junit --without-doxygen --disable-gconf --disable-firebird-sdbc --disable-postgresql-sdbc --disable-collada --disable-dbus --disable-gtk --disable-randr --disable-gltf --disable-liblangtag --disable-gstreamer --disable-kdeab --disable-tdeab --disable-systray --disable-coinmp --disable-lpsolve --disable-sdremote --disable-cve-tests --disable-orcus --disable-graphite --disable-odk --disable-cups --with-system-libs --without-boost-date-time --without-boost-iostreams --disable-pdfimport --disable-opengl --disable-opencl --disable-gstreamer-0-10 --with-webdav=neon
>
> After long time I get this message:
>
> /libreoffice-4.3.4.1/workdir/CxxObject/svx/source/fmcomp/fmgridif.o:
> In function `FmXGridControl::createPeer(com::sun::star::uno::Reference<com::sun::star::awt::XToolkit> const&, com::sun::star::uno::Reference<com::sun::star::awt::XWindowPeer> const&)':
> fmgridif.cxx:(.text+0x87dc): undefined reference to `non-virtual thunk to WindowListenerMultiplexer::acquire()'
> fmgridif.cxx:(.text+0x8837): undefined reference to `non-virtual thunk to FocusListenerMultiplexer::acquire()'
> fmgridif.cxx:(.text+0x8892): undefined reference to `non-virtual thunk to KeyListenerMultiplexer::acquire()'
> fmgridif.cxx:(.text+0x88ed): undefined reference to `non-virtual thunk to MouseListenerMultiplexer::acquire()'
> fmgridif.cxx:(.text+0x8948): undefined reference to `non-virtual thunk to MouseMotionListenerMultiplexer::acquire()'
> fmgridif.cxx:(.text+0x89a3): undefined reference to `non-virtual thunk to PaintListenerMultiplexer::acquire()'
> collect2: error: ld returned 1 exit status
>
> Is a possible way to fix that problem ?
i think that this commit was intended to help here but i've never had
the problem myself so maybe it doesn't work - the commit is only in the
libreoffice-4-4 and master branches so you could try to "git
cherry-pick" it to libreoffice-4-3 and tell us if that helps.
commit bb182b47ca7362b05c03d583d3547643d9a99562
Author: Michael Stahl <mstahl at redhat.com>
AuthorDate: Thu Aug 7 21:18:56 2014 +0200
toolkit: export some ListenerMultiplexer types
These are used from svx and apparently some (buggy?) toolchains fail
with
fmgridif.cxx:: undefined reference to `non-virtual thunk
to WindowListenerMultiplexer::acquire()'
More information about the LibreOffice
mailing list