Otherwise, build fail: /usr/bin/ld: ./.libs/libsystemd-daemon-internal.a(sd-daemon.o): undefined reference to symbol 'mq_getattr@@GLIBC_2.3.4' /usr/bin/ld: note: 'mq_getattr@@GLIBC_2.3.4' is defined in DSO /lib/librt.so.1 so try adding it to the linker command line /lib/librt.so.1: could not read symbols: Invalid operation collect2: error: ld returned 1 exit status make[2]: *** [test-bus-marshal] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
Signed-off-by: Yin Kangkai <kangkai....@intel.com> --- Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index f7fe96c..f0193e9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2008,7 +2008,8 @@ test_bus_marshal_LDADD = \ libsystemd-capability.la \ $(GLIB_LIBS) \ $(DBUS_LIBS) \ - $(CAP_LIBS) + $(CAP_LIBS) \ + $(RT_LIBS) test_bus_marshal_CFLAGS = \ $(AM_CFLAGS) \ -- 1.8.2.1 _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel