On Thu, 2013-02-07 at 18:43 -0500, Colin Walters wrote:
> On Thu, 2013-02-07 at 14:38 +0100, Kay Sievers wrote:
> 
> > I changed it now and people with the non-working --as-needed need to
> > check if that works for them ...
> 
> The latest git builds for me 

Ok, I spoke a bit too soon - while systemd itself builds, NetworkManager
fails with:

| 
/usr/lib/gcc/x86_64-gnomeostree-linux/4.7.2/../../../../lib/libsystemd-login.so:
 undefined reference to `sd_listen_fds'

The attached patch works for me, and matches what the Fedora 18 toolchain 
produces.  From
what I can tell the root of this issue is that my libtool (2.4.2 from 
OpenEmbedded) isn't
figuring out that libsystemd-shared.la depends on libsystemd-daemon.la, since 
it's not
ending up in dependency_libs.

Why exactly that is though is just not going to be fun to debug.  Since this is 
just being
explicit about the expected config, hopefully it's not a problem to add.


>From b8ebb165b6189d49caaced84911e7e25ed1c46f5 Mon Sep 17 00:00:00 2001
From: Colin Walters <walt...@verbum.org>
Date: Sun, 10 Feb 2013 11:57:52 -0500
Subject: [PATCH] build-sys: Ensure libsystemd-login links to libsystemd-daemon

It uses sd_listen_fds(), for example.

Signed-off-by: Colin Walters <walt...@verbum.org>
---
 Makefile.am |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 2b7d78c..e6a5a11 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3215,7 +3215,8 @@ libsystemd_login_la_LDFLAGS = \
 	-Wl,--version-script=$(top_srcdir)/src/login/libsystemd-login.sym
 
 libsystemd_login_la_LIBADD = \
-	libsystemd-shared.la
+	libsystemd-shared.la \
+	libsystemd-daemon.la
 
 libsystemd_login_internal_la_SOURCES = \
 	$(libsystemd_login_la_SOURCES)
-- 
1.7.1

_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to