Fixed build issue with libwv2 support #14

Merged
SlavekB merged 1 commits from feat/wv2 into master 6 months ago
ormorph commented 6 months ago
Collaborator

This hotfix fixes the old problem with the kword build when the libwv2.la file is present. Now you don't need to delete the libwv2.la file before building.

This hotfix fixes the old problem with the kword build when the libwv2.la file is present. Now you don't need to delete the libwv2.la file before building.
ormorph added 1 commit 6 months ago
652372805e Fixed build issue with libwv2 support
Owner

It is not clear to me what the problem was to deal with, but according to my expectation it causes FTBFS – due to the missing link LIBWV2_LIBS:

libtool: link: g++  -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/8/crtbeginS.o  .libs/libmswordimport_la.all_cpp.o   -Wl,-rpath -Wl,/opt/trinity/lib -Wl,-rpath -Wl,/root/koffice-trinity-14.0.11/obj-x86_64-linux-gnu/lib/kofficeui/.libs -Wl,-rpath -Wl,/root/koffice-trinity-14.0.11/obj-x86_64-linux-gnu/lib/kofficecore/.libs -Wl,-rpath -Wl,/root/koffice-trinity-14.0.11/obj-x86_64-linux-gnu/lib/store/.libs -Wl,-rpath -Wl,/opt/trinity/lib -L/opt/trinity/lib -L/usr/share/qt3/lib /opt/trinity/lib/libtdecore.so /opt/trinity/lib/libtdeui.so /usr/lib/libtqt-mt.so -lpng -lz -lXext -lX11 -lSM -lICE /usr/lib/libtqt.so -lpthread /opt/trinity/lib/libkjs.so /opt/trinity/lib/libtdefx.so /opt/trinity/lib/libtdeio.so /opt/trinity/lib/libtdeparts.so ../../../lib/kofficeui/.libs/libkofficeui.so ../../../lib/kofficecore/.libs/libkofficecore.so ../../../lib/store/.libs/libkstore.so -lxml2 -L/usr/lib/gcc/x86_64-linux-gnu/8 -L/usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/8/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/8/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/8/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/crtn.o  -O2 -g -O2 -fstack-protector-strong -Wl,--no-undefined -Wl,--allow-shlib-undefined -Wl,-z -Wl,relro   -Wl,-soname -Wl,libmswordimport.so -o .libs/libmswordimport.so
/usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `Document::~Document()':
./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/document.cpp:77: undefined reference to `wvWare::SubDocumentHandler::~SubDocumentHandler()'
/usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `KWordPictureHandler::wmfData(wvWare::OLEImageReader&, wvWare::SharedPtr<wvWare::Word97::PICF const>)':
./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/graphicshandler.cpp:46: undefined reference to `wvWare::OLEImageReader::size() const'
/usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/graphicshandler.cpp:61: undefined reference to `wvWare::OLEImageReader::size() const'
/usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/graphicshandler.cpp:63: undefined reference to `wvWare::OLEImageReader::read(unsigned char*, unsigned long)'
/usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `Document::processAssociatedStrings()':
./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/document.cpp:150: undefined reference to `wvWare::AssociatedStrings::author() const'
/usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/document.cpp:150: undefined reference to `wvWare::UString::~UString()'
/usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/document.cpp:150: undefined reference to `wvWare::UString::Rep::null'
/usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/document.cpp:154: undefined reference to `wvWare::AssociatedStrings::author() const'
/usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/document.cpp:154: undefined reference to `wvWare::UString::~UString()'
/usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/document.cpp:160: undefined reference to `wvWare::AssociatedStrings::title() const'
/usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/document.cpp:160: undefined reference to `wvWare::UString::~UString()'
/usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/document.cpp:160: undefined reference to `wvWare::UString::Rep::null'
/usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/document.cpp:164: undefined reference to `wvWare::AssociatedStrings::title() const'
/usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/document.cpp:164: undefined reference to `wvWare::UString::~UString()'
/usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/document.cpp:140: undefined reference to `wvWare::AssociatedStrings::~AssociatedStrings()'
/usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `KWordTextHandler::paragraphStart(wvWare::SharedPtr<wvWare::ParagraphProperties const>)':
./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/texthandler.cpp:240: undefined reference to `wvWare::ParagraphProperties::pap() const'
/usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/texthandler.cpp:240: undefined reference to `wvWare::StyleSheet::styleByIndex(unsigned short) const'
/usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `KWordTextHandler::writeCounter(TQDomElement&, wvWare::ParagraphProperties const&, wvWare::Style const*)':
./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/texthandler.cpp:689: undefined reference to `wvWare::ParagraphProperties::listInfo() const'
/usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/texthandler.cpp:701: undefined reference to `wvWare::UString::UString(wvWare::UString const&)'
/usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/texthandler.cpp:701: undefined reference to `wvWare::UString::~UString()'
/usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/texthandler.cpp:731: undefined reference to `wvWare::ParagraphProperties::pap() const'
/usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/texthandler.cpp:737: undefined reference to `wvWare::Style::sti() const'
/usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/texthandler.cpp:742: undefined reference to `wvWare::Style::sti() const'
/usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/texthandler.cpp:755: undefined reference to `wvWare::UString::operator[](int)'
/usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `KWordTextHandler::writeCounter(TQDomElement&, wvWare::ParagraphProperties const&, wvWare::Style const*)':
/usr/include/wv2/ustring.h:133: undefined reference to `wvWare::UCharReference::ref() const'
/usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `KWordTextHandler::writeCounter(TQDomElement&, wvWare::ParagraphProperties const&, wvWare::Style const*)':
./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/texthandler.cpp:707: undefined reference to `wvWare::UString::operator[](int)'
/usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `KWordTextHandler::writeCounter(TQDomElement&, wvWare::ParagraphProperties const&, wvWare::Style const*)':
/usr/include/wv2/ustring.h:133: undefined reference to `wvWare::UCharReference::ref() const'
/usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `KWordTextHandler::writeCounter(TQDomElement&, wvWare::ParagraphProperties const&, wvWare::Style const*)':
./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/texthandler.cpp:723: undefined reference to `wvWare::Style::chp() const'
/usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/texthandler.cpp:737: undefined reference to `wvWare::Style::sti() const'
/usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/texthandler.cpp:740: undefined reference to `wvWare::Style::sti() const'
/usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `KWordTextHandler::writeLayout(TQDomElement&, wvWare::ParagraphProperties const&, wvWare::Style const*)':
./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/texthandler.cpp:576: undefined reference to `wvWare::ParagraphProperties::pap() const'
/usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `KWordTextHandler::paragraphEnd()':
./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/texthandler.cpp:256: undefined reference to `wvWare::Style::name() const'
/usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `KWordTextHandler::paragraphEnd()':
./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/conversion.h:45: undefined reference to `wvWare::UString::~UString()'
/usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `Document::processStyles()':
./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/document.cpp:179: undefined reference to `wvWare::StyleSheet::size() const'
/usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/document.cpp:186: undefined reference to `wvWare::Style::type() const'
/usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/document.cpp:183: undefined reference to `wvWare::StyleSheet::styleByIndex(unsigned short) const'
/usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/document.cpp:191: undefined reference to `wvWare::Style::name() const'
/usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `Document::processStyles()':
./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/conversion.h:45: undefined reference to `wvWare::UString::~UString()'
/usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `Document::processStyles()':
./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/document.cpp:198: undefined reference to `wvWare::Style::followingStyle() const'
/usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/document.cpp:198: undefined reference to `wvWare::StyleSheet::styleByID(unsigned short) const'
/usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/document.cpp:210: undefined reference to `wvWare::Style::chp() const'
/usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/document.cpp:212: undefined reference to `wvWare::Style::paragraphProperties() const'
/usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/document.cpp:201: undefined reference to `wvWare::Style::name() const'
/usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `Document::processStyles()':
./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/conversion.h:45: undefined reference to `wvWare::UString::~UString()'
/usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `Document::Document(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, TQDomDocument&, TQDomDocument&, TQDomElement&, KoFilterChain*)':
./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/document.cpp:50: undefined reference to `wvWare::ParserFactory::createParser(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/document.cpp:61: undefined reference to `wvWare::Parser::setSubDocumentHandler(wvWare::SubDocumentHandler*)'
/usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/document.cpp:62: undefined reference to `wvWare::Parser::setTextHandler(wvWare::TextHandler*)'
/usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/document.cpp:63: undefined reference to `wvWare::Parser::setTableHandler(wvWare::TableHandler*)'
/usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/document.cpp:65: undefined reference to `wvWare::Parser::setPictureHandler(wvWare::PictureHandler*)'
/usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/document.cpp:67: undefined reference to `wvWare::Parser::setInlineReplacementHandler(wvWare::InlineReplacementHandler*)'
/usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `KWordTextHandler::insertVariable(int, wvWare::SharedPtr<wvWare::Word97::CHP const>, TQString const&)':
./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/texthandler.cpp:141: undefined reference to `wvWare::Style::chp() const'
/usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `KWordTextHandler::runOfText(wvWare::UString const&, wvWare::SharedPtr<wvWare::Word97::CHP const>)':
./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/texthandler.cpp:312: undefined reference to `wvWare::Style::chp() const'
/usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `KWordPictureHandler::bitmapData(wvWare::OLEImageReader&, wvWare::SharedPtr<wvWare::Word97::PICF const>)':
./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/graphicshandler.cpp:40: undefined reference to `wvWare::OLEImageReader::size() const'
/usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `KWordPictureHandler::~KWordPictureHandler()':
./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/graphicshandler.h:39: undefined reference to `wvWare::PictureHandler::~PictureHandler()'
/usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `non-virtual thunk to KWordPictureHandler::~KWordPictureHandler()':
./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/graphicshandler.h:39: undefined reference to `wvWare::PictureHandler::~PictureHandler()'
/usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `KWordPictureHandler::~KWordPictureHandler()':
./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/graphicshandler.h:39: undefined reference to `wvWare::PictureHandler::~PictureHandler()'
/usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `non-virtual thunk to KWordPictureHandler::~KWordPictureHandler()':
./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/graphicshandler.h:39: undefined reference to `wvWare::PictureHandler::~PictureHandler()'
/usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `KWordTableHandler::~KWordTableHandler()':
./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/tablehandler.h:76: undefined reference to `wvWare::TableHandler::~TableHandler()'
/usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `non-virtual thunk to KWordTableHandler::~KWordTableHandler()':
./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/tablehandler.h:76: undefined reference to `wvWare::TableHandler::~TableHandler()'
/usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `KWordReplacementHandler::~KWordReplacementHandler()':
./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/texthandler.h:42: undefined reference to `wvWare::InlineReplacementHandler::~InlineReplacementHandler()'
/usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `KWordReplacementHandler::~KWordReplacementHandler()':
./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/texthandler.h:42: undefined reference to `wvWare::InlineReplacementHandler::~InlineReplacementHandler()'
/usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `wvWare::Functor<wvWare::Parser9x, wvWare::PictureData>::~Functor()':
/usr/include/wv2/functor.h:41: undefined reference to `wvWare::PictureData::~PictureData()'
/usr/bin/ld: /usr/include/wv2/functor.h:41: undefined reference to `wvWare::FunctorBase::~FunctorBase()'
/usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `wvWare::Functor<wvWare::Parser9x, wvWare::PictureData>::~Functor()':
/usr/include/wv2/functor.h:41: undefined reference to `wvWare::PictureData::~PictureData()'
/usr/bin/ld: /usr/include/wv2/functor.h:41: undefined reference to `wvWare::FunctorBase::~FunctorBase()'
/usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `wvWare::Functor<wvWare::Parser9x, wvWare::FootnoteData>::~Functor()':
/usr/include/wv2/functor.h:41: undefined reference to `wvWare::FunctorBase::~FunctorBase()'
/usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `wvWare::Functor<wvWare::Parser9x, wvWare::FootnoteData>::~Functor()':
/usr/include/wv2/functor.h:41: undefined reference to `wvWare::FunctorBase::~FunctorBase()'
/usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `wvWare::Functor<wvWare::Parser9x, wvWare::HeaderData>::~Functor()':
/usr/include/wv2/functor.h:41: undefined reference to `wvWare::FunctorBase::~FunctorBase()'
/usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `wvWare::Functor<wvWare::Parser9x, wvWare::HeaderData>::~Functor()':
/usr/include/wv2/functor.h:41: undefined reference to `wvWare::FunctorBase::~FunctorBase()'
/usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `wvWare::Functor<wvWare::Parser9x, wvWare::TableRowData>::~Functor()':
/usr/include/wv2/functor.h:41: undefined reference to `wvWare::TableRowData::~TableRowData()'
/usr/bin/ld: /usr/include/wv2/functor.h:41: undefined reference to `wvWare::FunctorBase::~FunctorBase()'
/usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `wvWare::Functor<wvWare::Parser9x, wvWare::TableRowData>::~Functor()':
/usr/include/wv2/functor.h:41: undefined reference to `wvWare::TableRowData::~TableRowData()'
/usr/bin/ld: /usr/include/wv2/functor.h:41: undefined reference to `wvWare::FunctorBase::~FunctorBase()'
/usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `non-virtual thunk to KWordTableHandler::~KWordTableHandler()':
libmswordimport_la.all_cpp.cpp:(.text._ZN17KWordTableHandlerD0Ev[_ZN17KWordTableHandlerD5Ev]+0x3e): undefined reference to `wvWare::TableHandler::~TableHandler()'
/usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `KWordTableHandler::~KWordTableHandler()':
./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/tablehandler.h:76: undefined reference to `wvWare::TableHandler::~TableHandler()'
/usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `KWordTextHandler::~KWordTextHandler()':
./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/texthandler.h:51: undefined reference to `wvWare::TextHandler::~TextHandler()'
/usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `non-virtual thunk to KWordTextHandler::~KWordTextHandler()':
/usr/include/wv2/sharedptr.h:71: undefined reference to `wvWare::TextHandler::~TextHandler()'
/usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `non-virtual thunk to KWordTextHandler::~KWordTextHandler()':
libmswordimport_la.all_cpp.cpp:(.text._ZN16KWordTextHandlerD0Ev[_ZN16KWordTextHandlerD5Ev]+0xb2): undefined reference to `wvWare::TextHandler::~TextHandler()'
/usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `KWordTextHandler::~KWordTextHandler()':
./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/texthandler.h:51: undefined reference to `wvWare::TextHandler::~TextHandler()'
/usr/bin/ld: .libs/libmswordimport_la.all_cpp.o:(.data.rel.ro._ZTI17KWordTableHandler[_ZTI17KWordTableHandler]+0x28): undefined reference to `typeinfo for wvWare::TableHandler'
/usr/bin/ld: .libs/libmswordimport_la.all_cpp.o:(.data.rel.ro._ZTI8Document[_ZTI8Document]+0x28): undefined reference to `typeinfo for wvWare::SubDocumentHandler'
/usr/bin/ld: .libs/libmswordimport_la.all_cpp.o:(.data.rel.ro._ZTI23KWordReplacementHandler[_ZTI23KWordReplacementHandler]+0x10): undefined reference to `typeinfo for wvWare::InlineReplacementHandler'
/usr/bin/ld: .libs/libmswordimport_la.all_cpp.o:(.data.rel.ro._ZTI16KWordTextHandler[_ZTI16KWordTextHandler]+0x28): undefined reference to `typeinfo for wvWare::TextHandler'
/usr/bin/ld: .libs/libmswordimport_la.all_cpp.o:(.data.rel.ro._ZTI19KWordPictureHandler[_ZTI19KWordPictureHandler]+0x28): undefined reference to `typeinfo for wvWare::PictureHandler'
/usr/bin/ld: .libs/libmswordimport_la.all_cpp.o:(.data.rel.ro._ZTIN6wvWare7FunctorINS_8Parser9xENS_12TableRowDataEEE[_ZTIN6wvWare7FunctorINS_8Parser9xENS_12TableRowDataEEE]+0x10): undefined reference to `typeinfo for wvWare::FunctorBase'
/usr/bin/ld: .libs/libmswordimport_la.all_cpp.o:(.data.rel.ro._ZTIN6wvWare7FunctorINS_8Parser9xENS_10HeaderDataEEE[_ZTIN6wvWare7FunctorINS_8Parser9xENS_10HeaderDataEEE]+0x10): undefined reference to `typeinfo for wvWare::FunctorBase'
/usr/bin/ld: .libs/libmswordimport_la.all_cpp.o:(.data.rel.ro._ZTIN6wvWare7FunctorINS_8Parser9xENS_12FootnoteDataEEE[_ZTIN6wvWare7FunctorINS_8Parser9xENS_12FootnoteDataEEE]+0x10): undefined reference to `typeinfo for wvWare::FunctorBase'
/usr/bin/ld: .libs/libmswordimport_la.all_cpp.o:(.data.rel.ro._ZTIN6wvWare7FunctorINS_8Parser9xENS_11PictureDataEEE[_ZTIN6wvWare7FunctorINS_8Parser9xENS_11PictureDataEEE]+0x10): undefined reference to `typeinfo for wvWare::FunctorBase'
/usr/bin/ld: .libs/libmswordimport_la.all_cpp.o:(.data.rel.ro._ZTV8Document[_ZTV8Document]+0x128): undefined reference to `wvWare::SubDocumentHandler::headersStart()'
/usr/bin/ld: .libs/libmswordimport_la.all_cpp.o:(.data.rel.ro._ZTV8Document[_ZTV8Document]+0x130): undefined reference to `wvWare::SubDocumentHandler::headersEnd()'
/usr/bin/ld: .libs/libmswordimport_la.all_cpp.o:(.data.rel.ro._ZTV23KWordReplacementHandler[_ZTV23KWordReplacementHandler]+0x20): undefined reference to `wvWare::InlineReplacementHandler::tab()'
/usr/bin/ld: .libs/libmswordimport_la.all_cpp.o:(.data.rel.ro._ZTV23KWordReplacementHandler[_ZTV23KWordReplacementHandler]+0x30): undefined reference to `wvWare::InlineReplacementHandler::columnBreak()'
/usr/bin/ld: .libs/libmswordimport_la.all_cpp.o:(.data.rel.ro._ZTV23KWordReplacementHandler[_ZTV23KWordReplacementHandler]+0x48): undefined reference to `wvWare::InlineReplacementHandler::nonBreakingSpace()'
/usr/bin/ld: .libs/libmswordimport_la.all_cpp.o:(.data.rel.ro._ZTV16KWordTextHandler[_ZTV16KWordTextHandler]+0x178): undefined reference to `wvWare::TextHandler::specialCharacter(wvWare::TextHandler::SpecialCharacter, wvWare::SharedPtr<wvWare::Word97::CHP const>)'
/usr/bin/ld: .libs/libmswordimport_la.all_cpp.o:(.data.rel.ro._ZTV16KWordTextHandler[_ZTV16KWordTextHandler]+0x188): undefined reference to `wvWare::TextHandler::footnoteAutoNumber(wvWare::SharedPtr<wvWare::Word97::CHP const>)'
/usr/bin/ld: .libs/libmswordimport_la.all_cpp.o:(.data.rel.ro._ZTV19KWordPictureHandler[_ZTV19KWordPictureHandler]+0xf8): undefined reference to `wvWare::PictureHandler::escherData(wvWare::OLEImageReader&, wvWare::SharedPtr<wvWare::Word97::PICF const>, int)'
/usr/bin/ld: .libs/libmswordimport_la.all_cpp.o:(.data.rel.ro._ZTV19KWordPictureHandler[_ZTV19KWordPictureHandler]+0x100): undefined reference to `wvWare::PictureHandler::escherData(std::vector<unsigned char, std::allocator<unsigned char> >, wvWare::SharedPtr<wvWare::Word97::PICF const>, int)'
/usr/bin/ld: .libs/libmswordimport_la.all_cpp.o:(.data.rel.ro._ZTV19KWordPictureHandler[_ZTV19KWordPictureHandler]+0x110): undefined reference to `wvWare::PictureHandler::externalImage(wvWare::UString const&, wvWare::SharedPtr<wvWare::Word97::PICF const>)'
collect2: error: ld returned 1 exit status
make[5]: *** [Makefile:715: libmswordimport.la] Error 1

It is not clear to me what the problem was to deal with, but according to my expectation it causes FTBFS – due to the missing link LIBWV2_LIBS: ``` libtool: link: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/8/crtbeginS.o .libs/libmswordimport_la.all_cpp.o -Wl,-rpath -Wl,/opt/trinity/lib -Wl,-rpath -Wl,/root/koffice-trinity-14.0.11/obj-x86_64-linux-gnu/lib/kofficeui/.libs -Wl,-rpath -Wl,/root/koffice-trinity-14.0.11/obj-x86_64-linux-gnu/lib/kofficecore/.libs -Wl,-rpath -Wl,/root/koffice-trinity-14.0.11/obj-x86_64-linux-gnu/lib/store/.libs -Wl,-rpath -Wl,/opt/trinity/lib -L/opt/trinity/lib -L/usr/share/qt3/lib /opt/trinity/lib/libtdecore.so /opt/trinity/lib/libtdeui.so /usr/lib/libtqt-mt.so -lpng -lz -lXext -lX11 -lSM -lICE /usr/lib/libtqt.so -lpthread /opt/trinity/lib/libkjs.so /opt/trinity/lib/libtdefx.so /opt/trinity/lib/libtdeio.so /opt/trinity/lib/libtdeparts.so ../../../lib/kofficeui/.libs/libkofficeui.so ../../../lib/kofficecore/.libs/libkofficecore.so ../../../lib/store/.libs/libkstore.so -lxml2 -L/usr/lib/gcc/x86_64-linux-gnu/8 -L/usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/8/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/8/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/8/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/crtn.o -O2 -g -O2 -fstack-protector-strong -Wl,--no-undefined -Wl,--allow-shlib-undefined -Wl,-z -Wl,relro -Wl,-soname -Wl,libmswordimport.so -o .libs/libmswordimport.so /usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `Document::~Document()': ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/document.cpp:77: undefined reference to `wvWare::SubDocumentHandler::~SubDocumentHandler()' /usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `KWordPictureHandler::wmfData(wvWare::OLEImageReader&, wvWare::SharedPtr<wvWare::Word97::PICF const>)': ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/graphicshandler.cpp:46: undefined reference to `wvWare::OLEImageReader::size() const' /usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/graphicshandler.cpp:61: undefined reference to `wvWare::OLEImageReader::size() const' /usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/graphicshandler.cpp:63: undefined reference to `wvWare::OLEImageReader::read(unsigned char*, unsigned long)' /usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `Document::processAssociatedStrings()': ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/document.cpp:150: undefined reference to `wvWare::AssociatedStrings::author() const' /usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/document.cpp:150: undefined reference to `wvWare::UString::~UString()' /usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/document.cpp:150: undefined reference to `wvWare::UString::Rep::null' /usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/document.cpp:154: undefined reference to `wvWare::AssociatedStrings::author() const' /usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/document.cpp:154: undefined reference to `wvWare::UString::~UString()' /usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/document.cpp:160: undefined reference to `wvWare::AssociatedStrings::title() const' /usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/document.cpp:160: undefined reference to `wvWare::UString::~UString()' /usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/document.cpp:160: undefined reference to `wvWare::UString::Rep::null' /usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/document.cpp:164: undefined reference to `wvWare::AssociatedStrings::title() const' /usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/document.cpp:164: undefined reference to `wvWare::UString::~UString()' /usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/document.cpp:140: undefined reference to `wvWare::AssociatedStrings::~AssociatedStrings()' /usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `KWordTextHandler::paragraphStart(wvWare::SharedPtr<wvWare::ParagraphProperties const>)': ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/texthandler.cpp:240: undefined reference to `wvWare::ParagraphProperties::pap() const' /usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/texthandler.cpp:240: undefined reference to `wvWare::StyleSheet::styleByIndex(unsigned short) const' /usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `KWordTextHandler::writeCounter(TQDomElement&, wvWare::ParagraphProperties const&, wvWare::Style const*)': ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/texthandler.cpp:689: undefined reference to `wvWare::ParagraphProperties::listInfo() const' /usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/texthandler.cpp:701: undefined reference to `wvWare::UString::UString(wvWare::UString const&)' /usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/texthandler.cpp:701: undefined reference to `wvWare::UString::~UString()' /usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/texthandler.cpp:731: undefined reference to `wvWare::ParagraphProperties::pap() const' /usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/texthandler.cpp:737: undefined reference to `wvWare::Style::sti() const' /usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/texthandler.cpp:742: undefined reference to `wvWare::Style::sti() const' /usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/texthandler.cpp:755: undefined reference to `wvWare::UString::operator[](int)' /usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `KWordTextHandler::writeCounter(TQDomElement&, wvWare::ParagraphProperties const&, wvWare::Style const*)': /usr/include/wv2/ustring.h:133: undefined reference to `wvWare::UCharReference::ref() const' /usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `KWordTextHandler::writeCounter(TQDomElement&, wvWare::ParagraphProperties const&, wvWare::Style const*)': ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/texthandler.cpp:707: undefined reference to `wvWare::UString::operator[](int)' /usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `KWordTextHandler::writeCounter(TQDomElement&, wvWare::ParagraphProperties const&, wvWare::Style const*)': /usr/include/wv2/ustring.h:133: undefined reference to `wvWare::UCharReference::ref() const' /usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `KWordTextHandler::writeCounter(TQDomElement&, wvWare::ParagraphProperties const&, wvWare::Style const*)': ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/texthandler.cpp:723: undefined reference to `wvWare::Style::chp() const' /usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/texthandler.cpp:737: undefined reference to `wvWare::Style::sti() const' /usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/texthandler.cpp:740: undefined reference to `wvWare::Style::sti() const' /usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `KWordTextHandler::writeLayout(TQDomElement&, wvWare::ParagraphProperties const&, wvWare::Style const*)': ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/texthandler.cpp:576: undefined reference to `wvWare::ParagraphProperties::pap() const' /usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `KWordTextHandler::paragraphEnd()': ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/texthandler.cpp:256: undefined reference to `wvWare::Style::name() const' /usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `KWordTextHandler::paragraphEnd()': ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/conversion.h:45: undefined reference to `wvWare::UString::~UString()' /usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `Document::processStyles()': ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/document.cpp:179: undefined reference to `wvWare::StyleSheet::size() const' /usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/document.cpp:186: undefined reference to `wvWare::Style::type() const' /usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/document.cpp:183: undefined reference to `wvWare::StyleSheet::styleByIndex(unsigned short) const' /usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/document.cpp:191: undefined reference to `wvWare::Style::name() const' /usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `Document::processStyles()': ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/conversion.h:45: undefined reference to `wvWare::UString::~UString()' /usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `Document::processStyles()': ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/document.cpp:198: undefined reference to `wvWare::Style::followingStyle() const' /usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/document.cpp:198: undefined reference to `wvWare::StyleSheet::styleByID(unsigned short) const' /usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/document.cpp:210: undefined reference to `wvWare::Style::chp() const' /usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/document.cpp:212: undefined reference to `wvWare::Style::paragraphProperties() const' /usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/document.cpp:201: undefined reference to `wvWare::Style::name() const' /usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `Document::processStyles()': ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/conversion.h:45: undefined reference to `wvWare::UString::~UString()' /usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `Document::Document(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, TQDomDocument&, TQDomDocument&, TQDomElement&, KoFilterChain*)': ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/document.cpp:50: undefined reference to `wvWare::ParserFactory::createParser(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' /usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/document.cpp:61: undefined reference to `wvWare::Parser::setSubDocumentHandler(wvWare::SubDocumentHandler*)' /usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/document.cpp:62: undefined reference to `wvWare::Parser::setTextHandler(wvWare::TextHandler*)' /usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/document.cpp:63: undefined reference to `wvWare::Parser::setTableHandler(wvWare::TableHandler*)' /usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/document.cpp:65: undefined reference to `wvWare::Parser::setPictureHandler(wvWare::PictureHandler*)' /usr/bin/ld: ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/document.cpp:67: undefined reference to `wvWare::Parser::setInlineReplacementHandler(wvWare::InlineReplacementHandler*)' /usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `KWordTextHandler::insertVariable(int, wvWare::SharedPtr<wvWare::Word97::CHP const>, TQString const&)': ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/texthandler.cpp:141: undefined reference to `wvWare::Style::chp() const' /usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `KWordTextHandler::runOfText(wvWare::UString const&, wvWare::SharedPtr<wvWare::Word97::CHP const>)': ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/texthandler.cpp:312: undefined reference to `wvWare::Style::chp() const' /usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `KWordPictureHandler::bitmapData(wvWare::OLEImageReader&, wvWare::SharedPtr<wvWare::Word97::PICF const>)': ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/graphicshandler.cpp:40: undefined reference to `wvWare::OLEImageReader::size() const' /usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `KWordPictureHandler::~KWordPictureHandler()': ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/graphicshandler.h:39: undefined reference to `wvWare::PictureHandler::~PictureHandler()' /usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `non-virtual thunk to KWordPictureHandler::~KWordPictureHandler()': ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/graphicshandler.h:39: undefined reference to `wvWare::PictureHandler::~PictureHandler()' /usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `KWordPictureHandler::~KWordPictureHandler()': ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/graphicshandler.h:39: undefined reference to `wvWare::PictureHandler::~PictureHandler()' /usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `non-virtual thunk to KWordPictureHandler::~KWordPictureHandler()': ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/graphicshandler.h:39: undefined reference to `wvWare::PictureHandler::~PictureHandler()' /usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `KWordTableHandler::~KWordTableHandler()': ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/tablehandler.h:76: undefined reference to `wvWare::TableHandler::~TableHandler()' /usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `non-virtual thunk to KWordTableHandler::~KWordTableHandler()': ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/tablehandler.h:76: undefined reference to `wvWare::TableHandler::~TableHandler()' /usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `KWordReplacementHandler::~KWordReplacementHandler()': ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/texthandler.h:42: undefined reference to `wvWare::InlineReplacementHandler::~InlineReplacementHandler()' /usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `KWordReplacementHandler::~KWordReplacementHandler()': ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/texthandler.h:42: undefined reference to `wvWare::InlineReplacementHandler::~InlineReplacementHandler()' /usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `wvWare::Functor<wvWare::Parser9x, wvWare::PictureData>::~Functor()': /usr/include/wv2/functor.h:41: undefined reference to `wvWare::PictureData::~PictureData()' /usr/bin/ld: /usr/include/wv2/functor.h:41: undefined reference to `wvWare::FunctorBase::~FunctorBase()' /usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `wvWare::Functor<wvWare::Parser9x, wvWare::PictureData>::~Functor()': /usr/include/wv2/functor.h:41: undefined reference to `wvWare::PictureData::~PictureData()' /usr/bin/ld: /usr/include/wv2/functor.h:41: undefined reference to `wvWare::FunctorBase::~FunctorBase()' /usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `wvWare::Functor<wvWare::Parser9x, wvWare::FootnoteData>::~Functor()': /usr/include/wv2/functor.h:41: undefined reference to `wvWare::FunctorBase::~FunctorBase()' /usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `wvWare::Functor<wvWare::Parser9x, wvWare::FootnoteData>::~Functor()': /usr/include/wv2/functor.h:41: undefined reference to `wvWare::FunctorBase::~FunctorBase()' /usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `wvWare::Functor<wvWare::Parser9x, wvWare::HeaderData>::~Functor()': /usr/include/wv2/functor.h:41: undefined reference to `wvWare::FunctorBase::~FunctorBase()' /usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `wvWare::Functor<wvWare::Parser9x, wvWare::HeaderData>::~Functor()': /usr/include/wv2/functor.h:41: undefined reference to `wvWare::FunctorBase::~FunctorBase()' /usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `wvWare::Functor<wvWare::Parser9x, wvWare::TableRowData>::~Functor()': /usr/include/wv2/functor.h:41: undefined reference to `wvWare::TableRowData::~TableRowData()' /usr/bin/ld: /usr/include/wv2/functor.h:41: undefined reference to `wvWare::FunctorBase::~FunctorBase()' /usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `wvWare::Functor<wvWare::Parser9x, wvWare::TableRowData>::~Functor()': /usr/include/wv2/functor.h:41: undefined reference to `wvWare::TableRowData::~TableRowData()' /usr/bin/ld: /usr/include/wv2/functor.h:41: undefined reference to `wvWare::FunctorBase::~FunctorBase()' /usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `non-virtual thunk to KWordTableHandler::~KWordTableHandler()': libmswordimport_la.all_cpp.cpp:(.text._ZN17KWordTableHandlerD0Ev[_ZN17KWordTableHandlerD5Ev]+0x3e): undefined reference to `wvWare::TableHandler::~TableHandler()' /usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `KWordTableHandler::~KWordTableHandler()': ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/tablehandler.h:76: undefined reference to `wvWare::TableHandler::~TableHandler()' /usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `KWordTextHandler::~KWordTextHandler()': ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/texthandler.h:51: undefined reference to `wvWare::TextHandler::~TextHandler()' /usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `non-virtual thunk to KWordTextHandler::~KWordTextHandler()': /usr/include/wv2/sharedptr.h:71: undefined reference to `wvWare::TextHandler::~TextHandler()' /usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `non-virtual thunk to KWordTextHandler::~KWordTextHandler()': libmswordimport_la.all_cpp.cpp:(.text._ZN16KWordTextHandlerD0Ev[_ZN16KWordTextHandlerD5Ev]+0xb2): undefined reference to `wvWare::TextHandler::~TextHandler()' /usr/bin/ld: .libs/libmswordimport_la.all_cpp.o: in function `KWordTextHandler::~KWordTextHandler()': ./obj-x86_64-linux-gnu/filters/kword/msword/././filters/kword/msword/texthandler.h:51: undefined reference to `wvWare::TextHandler::~TextHandler()' /usr/bin/ld: .libs/libmswordimport_la.all_cpp.o:(.data.rel.ro._ZTI17KWordTableHandler[_ZTI17KWordTableHandler]+0x28): undefined reference to `typeinfo for wvWare::TableHandler' /usr/bin/ld: .libs/libmswordimport_la.all_cpp.o:(.data.rel.ro._ZTI8Document[_ZTI8Document]+0x28): undefined reference to `typeinfo for wvWare::SubDocumentHandler' /usr/bin/ld: .libs/libmswordimport_la.all_cpp.o:(.data.rel.ro._ZTI23KWordReplacementHandler[_ZTI23KWordReplacementHandler]+0x10): undefined reference to `typeinfo for wvWare::InlineReplacementHandler' /usr/bin/ld: .libs/libmswordimport_la.all_cpp.o:(.data.rel.ro._ZTI16KWordTextHandler[_ZTI16KWordTextHandler]+0x28): undefined reference to `typeinfo for wvWare::TextHandler' /usr/bin/ld: .libs/libmswordimport_la.all_cpp.o:(.data.rel.ro._ZTI19KWordPictureHandler[_ZTI19KWordPictureHandler]+0x28): undefined reference to `typeinfo for wvWare::PictureHandler' /usr/bin/ld: .libs/libmswordimport_la.all_cpp.o:(.data.rel.ro._ZTIN6wvWare7FunctorINS_8Parser9xENS_12TableRowDataEEE[_ZTIN6wvWare7FunctorINS_8Parser9xENS_12TableRowDataEEE]+0x10): undefined reference to `typeinfo for wvWare::FunctorBase' /usr/bin/ld: .libs/libmswordimport_la.all_cpp.o:(.data.rel.ro._ZTIN6wvWare7FunctorINS_8Parser9xENS_10HeaderDataEEE[_ZTIN6wvWare7FunctorINS_8Parser9xENS_10HeaderDataEEE]+0x10): undefined reference to `typeinfo for wvWare::FunctorBase' /usr/bin/ld: .libs/libmswordimport_la.all_cpp.o:(.data.rel.ro._ZTIN6wvWare7FunctorINS_8Parser9xENS_12FootnoteDataEEE[_ZTIN6wvWare7FunctorINS_8Parser9xENS_12FootnoteDataEEE]+0x10): undefined reference to `typeinfo for wvWare::FunctorBase' /usr/bin/ld: .libs/libmswordimport_la.all_cpp.o:(.data.rel.ro._ZTIN6wvWare7FunctorINS_8Parser9xENS_11PictureDataEEE[_ZTIN6wvWare7FunctorINS_8Parser9xENS_11PictureDataEEE]+0x10): undefined reference to `typeinfo for wvWare::FunctorBase' /usr/bin/ld: .libs/libmswordimport_la.all_cpp.o:(.data.rel.ro._ZTV8Document[_ZTV8Document]+0x128): undefined reference to `wvWare::SubDocumentHandler::headersStart()' /usr/bin/ld: .libs/libmswordimport_la.all_cpp.o:(.data.rel.ro._ZTV8Document[_ZTV8Document]+0x130): undefined reference to `wvWare::SubDocumentHandler::headersEnd()' /usr/bin/ld: .libs/libmswordimport_la.all_cpp.o:(.data.rel.ro._ZTV23KWordReplacementHandler[_ZTV23KWordReplacementHandler]+0x20): undefined reference to `wvWare::InlineReplacementHandler::tab()' /usr/bin/ld: .libs/libmswordimport_la.all_cpp.o:(.data.rel.ro._ZTV23KWordReplacementHandler[_ZTV23KWordReplacementHandler]+0x30): undefined reference to `wvWare::InlineReplacementHandler::columnBreak()' /usr/bin/ld: .libs/libmswordimport_la.all_cpp.o:(.data.rel.ro._ZTV23KWordReplacementHandler[_ZTV23KWordReplacementHandler]+0x48): undefined reference to `wvWare::InlineReplacementHandler::nonBreakingSpace()' /usr/bin/ld: .libs/libmswordimport_la.all_cpp.o:(.data.rel.ro._ZTV16KWordTextHandler[_ZTV16KWordTextHandler]+0x178): undefined reference to `wvWare::TextHandler::specialCharacter(wvWare::TextHandler::SpecialCharacter, wvWare::SharedPtr<wvWare::Word97::CHP const>)' /usr/bin/ld: .libs/libmswordimport_la.all_cpp.o:(.data.rel.ro._ZTV16KWordTextHandler[_ZTV16KWordTextHandler]+0x188): undefined reference to `wvWare::TextHandler::footnoteAutoNumber(wvWare::SharedPtr<wvWare::Word97::CHP const>)' /usr/bin/ld: .libs/libmswordimport_la.all_cpp.o:(.data.rel.ro._ZTV19KWordPictureHandler[_ZTV19KWordPictureHandler]+0xf8): undefined reference to `wvWare::PictureHandler::escherData(wvWare::OLEImageReader&, wvWare::SharedPtr<wvWare::Word97::PICF const>, int)' /usr/bin/ld: .libs/libmswordimport_la.all_cpp.o:(.data.rel.ro._ZTV19KWordPictureHandler[_ZTV19KWordPictureHandler]+0x100): undefined reference to `wvWare::PictureHandler::escherData(std::vector<unsigned char, std::allocator<unsigned char> >, wvWare::SharedPtr<wvWare::Word97::PICF const>, int)' /usr/bin/ld: .libs/libmswordimport_la.all_cpp.o:(.data.rel.ro._ZTV19KWordPictureHandler[_ZTV19KWordPictureHandler]+0x110): undefined reference to `wvWare::PictureHandler::externalImage(wvWare::UString const&, wvWare::SharedPtr<wvWare::Word97::PICF const>)' collect2: error: ld returned 1 exit status make[5]: *** [Makefile:715: libmswordimport.la] Error 1 ```
Poster
Collaborator

It is not clear to me what the problem was to deal with, but according to my expectation it causes FTBFS – due to the missing link LIBWV2_LIBS:

Hmm, I'll put WIP in the title for now. I'll correct it a little more, maybe it will work out.

> It is not clear to me what the problem was to deal with, but according to my expectation it causes FTBFS – due to the missing link LIBWV2_LIBS: Hmm, I'll put WIP in the title for now. I'll correct it a little more, maybe it will work out.
ormorph changed title from Fixed build issue with libwv2 support to WIP: Fixed build issue with libwv2 support 6 months ago
ormorph force-pushed feat/wv2 from 652372805e to 1968391ae9 6 months ago
Poster
Collaborator

Added changes, now just a flag for the linker is used. I think now everything should work. I have it assembled in Gentoo.

Added changes, now just a flag for the linker is used. I think now everything should work. I have it assembled in Gentoo.
ormorph changed title from WIP: Fixed build issue with libwv2 support to Fixed build issue with libwv2 support 6 months ago
Owner

Added changes, now just a flag for the linker is used. I think now everything should work. I have it assembled in Gentoo.

Yes, this variant works. In any case, I still surprised what was the original problem because for a new solution, as well as the original code is the result of using -lwv2 in the linker options.

> Added changes, now just a flag for the linker is used. I think now everything should work. I have it assembled in Gentoo. Yes, this variant works. In any case, I still surprised what was the original problem because for a new solution, as well as the original code is the result of using `-lwv2` in the linker options.
Poster
Collaborator

I still surprised what was the original problem because for a new solution, as well as the original code is the result of using -lwv2 in the linker options.

Yes, the main problem here is to force libtool not to process the libwv2.la file, but to use the -lwv2 parameter directly. The LIBWV2_LIBS variable contains only one parameter, -lwv2. Information on libtool: link.

Therefore, it can be written in three ways:

  1. -Wl,-lwv2
  2. -Xlinker -lwv2
  3. -XCClinker -lwv2
> I still surprised what was the original problem because for a new solution, as well as the original code is the result of using -lwv2 in the linker options. Yes, the main problem here is to force libtool not to process the libwv2.la file, but to use the -lwv2 parameter directly. The LIBWV2_LIBS variable contains only one parameter, -lwv2. Information on libtool: [link](https://www.gnu.org/software/libtool/manual/libtool.html#Link-mode). Therefore, it can be written in three ways: 1. `-Wl,-lwv2` 2. `-Xlinker -lwv2` 3. `-XCClinker -lwv2`
Owner

I still surprised what was the original problem because for a new solution, as well as the original code is the result of using -lwv2 in the linker options.

Yes, the main problem here is to force libtool not to process the libwv2.la file, but to use the -lwv2 parameter directly. The LIBWV2_LIBS variable contains only one parameter, -lwv2. Information on libtool: link.

Therefore, it can be written in three ways:

  1. -Wl,-lwv2
  2. -Xlinker -lwv2
  3. -XCClinker -lwv2

Thank you for the explanation. In deb packages file .la is not part of the binary package and therefore we do not observe this problem.

> > I still surprised what was the original problem because for a new solution, as well as the original code is the result of using -lwv2 in the linker options. > > Yes, the main problem here is to force libtool not to process the libwv2.la file, but to use the -lwv2 parameter directly. The LIBWV2_LIBS variable contains only one parameter, -lwv2. Information on libtool: [link](https://www.gnu.org/software/libtool/manual/libtool.html#Link-mode). > > Therefore, it can be written in three ways: > 1. `-Wl,-lwv2` > 2. `-Xlinker -lwv2` > 3. `-XCClinker -lwv2` Thank you for the explanation. In deb packages file `.la` is not part of the binary package and therefore we do not observe this problem.
SlavekB approved these changes 6 months ago
SlavekB left a comment
Owner

Now it already looks good.

Now it already looks good.
SlavekB merged commit 1968391ae9 into master 6 months ago
SlavekB deleted branch feat/wv2 6 months ago
SlavekB added this to the R14.0.12 release milestone 6 months ago

Reviewers

SlavekB approved these changes 6 months ago
The pull request has been merged as 1968391ae9.
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This pull request currently doesn't have any dependencies.

Loading…
There is no content yet.