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

Lennart Poettering lennart at poettering.net
Wed May 30 13:27:05 PDT 2012


On Tue, 29.05.12 22:24, Lennart Poettering (lennart at poettering.net) wrote:

> 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.

This is fixed now in git.

Thanks for the pointer!

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list