[systemd-devel] [PATCH] libsystemd-core needs libsystemd-id128-internal

Lennart Poettering lennart at poettering.net
Mon Sep 10 16:34:35 PDT 2012

On Mon, 03.09.12 15:44, Michael Olbrich (m.olbrich at pengutronix.de) wrote:

> Otherwise compiling may fail with e.g.:
> ./.libs/libsystemd-core.a(libsystemd_core_la-condition.o): In function `test_host':
> [...]/systemd-189/src/core/condition.c:205: undefined reference to `sd_id128_from_string'
> [...]/systemd-189/src/core/condition.c:207: undefined reference to `sd_id128_get_machine'
> collect2: ld returned 1 exit status
> It seems that in most cases the compiler removes the relevant functions
> when optimizing. In some cases this does not happen, e.g. here with a PPC
> toolchain.

Ah, a similar patch has now been merged already, as I didn't see yours
earlier. Sorry for that.


Lennart Poettering - Red Hat, Inc.

More information about the systemd-devel mailing list