Error while make test

Rahul Gurung gurungrahul2 at gmail.com
Wed Aug 22 17:27:21 UTC 2018


Hey,

I was experimenting with cpp test by making a new test( transfered from
java tests) and activating it when I run make test it threw this error,
what can this error possibly mean, I know there can be many cases and this
question may be unanswerable, but please help if possible.


/home/gurungrahul2/libreoffice/workdir/CxxObject/test/source/mtfxmldump.o:
In function `MetafileXmlDump::dumpAndParse(GDIMetaFile const&,
rtl::OUString const&)':
mtfxmldump.cxx:(.text+0x5868): undefined reference to
`tools::XmlWriter::startDocument(int)'
/home/gurungrahul2/libreoffice/workdir/CxxObject/test/source/primitive2dxmldump.o:
In function
`Primitive2dXmlDump::dumpAndParse(drawinglayer::primitive2d::Primitive2DContainer
const&, rtl::OUString const&)':
primitive2dxmldump.cxx:(.text+0x1608): undefined reference to
`tools::XmlWriter::startDocument(int)'
/home/gurungrahul2/libreoffice/workdir/CxxObject/test/source/screenshot_test.o:
In function `ScreenshotTest::setUp()':
screenshot_test.cxx:(.text+0x6a2): undefined reference to
`test::Directories::getURLFromWorkdir(rtl::OUString const&) const'
/home/gurungrahul2/libreoffice/workdir/CxxObject/test/source/screenshot_test.o:
In function `ScreenshotTest::implSaveScreenshot(BitmapEx const&,
rtl::OString const&)':
screenshot_test.cxx:(.text+0xc68): undefined reference to
`test::Directories::getURLFromWorkdir(rtl::OUString const&) const'
/home/gurungrahul2/libreoffice/workdir/CxxObject/test/source/screenshot_test.o:
In function `ScreenshotTest::processDialogBatchFile(rtl::OUString const&)':
screenshot_test.cxx:(.text+0x2364): undefined reference to
`test::Directories::getURLFromSrc(rtl::OUString const&) const'
collect2: error: ld returned 1 exit status
/home/gurungrahul2/libreoffice/solenv/gbuild/LinkTarget.mk:636: recipe for
target
'/home/gurungrahul2/libreoffice/workdir/LinkTarget/Library/libtest.so'
failed
make[1]: ***
[/home/gurungrahul2/libreoffice/workdir/LinkTarget/Library/libtest.so]
Error 1
Makefile:120: recipe for target 'test' failed
make: *** [test] Error 2




Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20180822/8545d618/attachment.html>


More information about the LibreOffice mailing list