GNOME Bugzilla – Bug 676269
gnome-session fails to build due to undefined reference
Last modified: 2012-05-18 21:10:44 UTC
gnome_session-gsm-systemd.o: In function `gsm_systemd_is_login_session': /home/spider/Projects/gnome/gnome-session/gnome-session/gsm-systemd.c:364: undefined reference to `sd_session_get_service' collect2: ld returned 1 exit status sd_session_get_service should be defined in <systemd/sd-login.h> This function was included in upstream systemd-38 and forwards ( http://cgit.freedesktop.org/systemd/systemd/commit/src/systemd/sd-login.h?id=eff406331adb23e27e4bd29a3b69322fc359ca3d ) The version of systemd should be checked, or the existance of the function that is needed should be checked. -- Bug occurs on branch master, commit : ce9e5da40aacfd6dc70dcdb3fc367cff746ded78
Created attachment 214277 [details] [review] configure: Check for new enough version of systemd-login 37 as shipped in Fedora 16 isn't.
needs 38, not 43 (see comment 0)
Created attachment 214392 [details] [review] configure: Check for new enough version of systemd-login Now with version 38
Review of attachment 214392 [details] [review]: Looks good to me
Attachment 214392 [details] pushed as 12ffa57 - configure: Check for new enough version of systemd-login