Hi Daniel, Yes, i do this in makefile.
Hurry Zeng from China. (winew...@qq.com) From: Daniel Buch Date: 2014-05-14 19:44 To: Hurry Zeng CC: systemd-devel Subject: Re: [systemd-devel] error: undefined reference to `sd_event_source_unref' while the function exists in source Have you compiled with: -lsystemd? 2014-05-14 11:48 GMT+02:00 Hurry Zeng <winew...@qq.com>: Hi All, i tried to compile some source code on archlinux (v 2014.05.01), but i got an error: (header missing ?) fatal error: systemd/sd-event.h: No such file or directory #include <systemd/sd-event.h> ^ compilation terminated. then i copied the headers from systemd-212.tar.gz to /usr/include/systemd/ and "make" again, but i got more errors, such as: (implementation missing ?) undefined reference to `sd_event_source_unref' i found the "undefined " functions in systemd source code, but why the make program can't find them? what mistake i had made ? Is somebody online ? plz help ! thanks Hurry Hurry Zeng from China. (winew...@qq.com) _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
_______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel