[Libreoffice] building smoketest fails

Bjoern Michaelsen bjoern.michaelsen at canonical.com
Tue Nov 1 16:35:38 PDT 2011


On Tue, Nov 01, 2011 at 10:34:02PM +0100, Jean-Baptiste Faure wrote:
> > 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'
> Any clue what goes wrong ?

I see that here too and it recently worked. A guess into the blue is that:

fb6a64d8fc6a93b52a10fad5516918fed9482f22

broke it, as it seems to always use the internal headers, even when building
with system cppunit. Try to revert that commit and build again. If that doesnt help add
--without-system-cppunit for now.

Best,

Bjoern


More information about the LibreOffice mailing list