[Libreoffice] building smoketest fails

Jean-Baptiste Faure jbf.faure at orange.fr
Tue Nov 1 14:34:02 PDT 2011


Hi,

Building smoketest fails to make libsmoketest.so (Ubuntu 10.04 x86_64).

Error messages are :

> Making:    libsmoketest.so
> ./unxlngx6.pro/slo/smoketest.o: In function `CppUnit::ConcretTestFixtureFactory<(anonymous namespace)::Test>::makeFixture()':
> smoketest.cxx:(.text+0x151): undefined reference to `test::OfficeConnection::OfficeConnection()'
> ./unxlngx6.pro/slo/smoketest.o: In function `(anonymous namespace)::Test::~Test()':
> smoketest.cxx:(.text+0x1c3): undefined reference to `test::OfficeConnection::~OfficeConnection()'
> ./unxlngx6.pro/slo/smoketest.o: In function `(anonymous namespace)::Test::~Test()':
> smoketest.cxx:(.text+0x203): undefined reference to `test::OfficeConnection::~OfficeConnection()'
> ./unxlngx6.pro/slo/smoketest.o: In function `(anonymous namespace)::Test::test()':
> smoketest.cxx:(.text+0xf1d): undefined reference to `test::getTestArgument(rtl::OUString const&, rtl::OUString*)'
> smoketest.cxx:(.text+0x1479): undefined reference to `test::OfficeConnection::getComponentContext() const'
> smoketest.cxx:(.text+0x14b4): undefined reference to `test::OfficeConnection::getComponentContext() const'
> smoketest.cxx:(.text+0x1590): undefined reference to `test::toAbsoluteFileUrl(rtl::OUString const&)'
> smoketest.cxx:(.text+0x1809): undefined reference to `test::OfficeConnection::getComponentContext() const'
> smoketest.cxx:(.text+0x1c7e): undefined reference to `test::OfficeConnection::isStillAlive() const'
> ./unxlngx6.pro/slo/smoketest.o: In function `(anonymous namespace)::Test::tearDown()':
> smoketest.cxx:(.text+0x195): undefined reference to `test::OfficeConnection::tearDown()'
> ./unxlngx6.pro/slo/smoketest.o: In function `(anonymous namespace)::Test::setUp()':
> smoketest.cxx:(.text+0x1a5): undefined reference to `test::OfficeConnection::setUp()'
> collect2: ld returned 1 exit status
> dmake:  Error code 1, while making './unxlngx6.pro/lib/libsmoketest.so'

It is a fresh build (make clean then make then make dev-install -o build
; same result if I do make check)

Any clue what goes wrong ?

Is there a mean to skip smoketest ?

Best regards.
JBF
-- 
Seuls des formats ouverts peuvent assurer la pérennité de vos documents.


More information about the LibreOffice mailing list