[systemd-devel] systemd-183 build error with --disable-logind

Lennart Poettering lennart at poettering.net
Tue May 29 13:24:19 PDT 2012


On Sun, 27.05.12 20:15, Stephan Raue (mailinglists at openelec.tv) wrote:

> Hi,
> 
> building systemd-183 with "--disable-logind" i get the follow error:

> journald.c:(.text+0x2088): undefined reference to `sd_pid_get_session'
> journald.c:(.text+0x20e8): undefined reference to `sd_pid_get_unit'
> journald.c:(.text+0x2144): undefined reference to `sd_pid_get_owner_uid'

Ah, yikes, journald uses libsystemd-login to determine some additional
meta data of logging clients. This should probably be ifdeffed out when
logind isnt around. The fix should be fairly easy, i will have a look.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list