<html><head><meta http-equiv="content-type" content="text/html; charset=UTF-8"><style>body { line-height: 1.5; }blockquote { margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em; }div.foxdiv20140514195703671293 { }body { font-size: 10.5pt; font-family: 微软雅黑; color: rgb(0, 0, 0); line-height: 1.5; }</style></head><body>
<div><span></span>Hi Daniel,</div><div>Yes, i do this in makefile.</div>
<div><br></div><hr style="width: 210px; height: 1px;" color="#b5c4df" size="1" align="left">
<div><span><div style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt">Hurry Zeng from China. (<a href="mailto:winewolf@qq.com">winewolf@qq.com</a>)</div></span></div>
<blockquote style="margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em;"><div> </div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><div style="PADDING-RIGHT: 8px; PADDING-LEFT: 8px; FONT-SIZE: 12px;FONT-FAMILY:tahoma;COLOR:#000000; BACKGROUND: #efefef; PADDING-BOTTOM: 8px; PADDING-TOP: 8px"><div><b>From:</b> <a href="mailto:boogiewasthere@gmail.com">Daniel Buch</a></div><div><b>Date:</b> 2014-05-14 19:44</div><div><b>To:</b> <a href="mailto:winewolf@qq.com">Hurry Zeng</a></div><div><b>CC:</b> <a href="mailto:systemd-devel@lists.freedesktop.org">systemd-devel</a></div><div><b>Subject:</b> Re: [systemd-devel] error: undefined reference to `sd_event_source_unref' while the function exists in source</div></div></div><div><div class="FoxDiv20140514195703671293"><div dir="ltr">Have you compiled with: -lsystemd?</div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-05-14 11:48 GMT+02:00 Hurry Zeng <span dir="ltr"><<a href="mailto:winewolf@qq.com" target="_blank">winewolf@qq.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex;"><div>
<div><span></span>Hi All,</div><div><br></div><div><div>i tried to compile some source code on archlinux (v 2014.05.01), but i got an error: (header missing ?)</div><div> fatal error:<b> systemd/sd-event.h</b>: No such file or directory <br>
#include <systemd/sd-event.h> <br> ^ <br> compilation terminated. </div><div><br></div><div><span style="font-size:10.5pt;line-height:1.5;background-color:window">then i copied the headers from </span><span style="font-size:10.5pt;line-height:1.5;background-color:window">systemd-212.tar.gz</span></div>
<div><span style="font-size:10.5pt;line-height:1.5;background-color:window">to </span><span style="font-size:10.5pt;line-height:1.5;background-color:window">/usr/include/systemd/ and "make" again,</span></div><div>
<span style="font-size:10.5pt;line-height:1.5;background-color:window">but i got more errors, such as: (implementation missing ?)</span></div><div><span style="font-size:10.5pt;line-height:1.5;background-color:window"> undefined reference to `<b>sd_event_source_unref</b>'</span></div>
</div><div><span style="font-size:10.5pt;line-height:1.5;background-color:window"><br></span></div>
<div>i found the "<span style="font-size:10.5pt;line-height:1.5;background-color:window">undefined</span><span style="font-size:10.5pt;line-height:1.5;background-color:window"> </span><span style="font-size:10.5pt;line-height:1.5;background-color:window">" functions in systemd source code,</span></div>
<div><span style="font-size:10.5pt;line-height:1.5;background-color:window">but why the make program can't find them?</span></div><div><span style="font-size:10.5pt;line-height:1.5;background-color:window">what mistake i had made ?</span></div>
<div><span style="font-size:10.5pt;line-height:1.5;background-color:window"><br></span></div><div><span style="font-size:10.5pt;line-height:1.5;background-color:window">Is somebody online ? plz help !</span></div><div><br>
</div><div>thanks</div><div>Hurry</div><div><br></div><hr style="width:210px;min-height:1px" color="#b5c4df" size="1" align="left">
<div><span><div style="MARGIN:10px;FONT-FAMILY:verdana;FONT-SIZE:10pt">Hurry Zeng from China. (<a href="mailto:winewolf@qq.com" target="_blank">winewolf@qq.com</a>)</div></span></div>
</div><br>_______________________________________________<br>
systemd-devel mailing list<br>
<a href="mailto:systemd-devel@lists.freedesktop.org">systemd-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/systemd-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/systemd-devel</a><br>
<br></blockquote></div><br></div>
</div></div></blockquote>
</body></html>