Date: prev next · Thread: first prev next last
2018 Archives by date, by thread · List index


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.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.