<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; }body { font-size: 10.5pt; font-family: 微软雅黑; color: rgb(0, 0, 0); line-height: 1.5; }</style></head><body>
<div><span></span>Hi, Colin,</div><div><br></div><div><div>> Firstly, please try to keep your mails on a given topic in the same</div><div>> thread! Make it easier for us all to consume mails on the list!</div></div><div><br></div><div>Sorry for your time.</div><div>My last topic is about error on compiling (make and make install) systemd,</div><div>and as i said in the last reply, systemd compiling works well now.</div><div>So i thought that "compiling failed" topic is in a "closed" status.</div><div><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;">That's why i sent mail on another topic (for error on compiling source code which depends on libsystemd) .</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;">Thanks for your advice, i will do it better next time.</span></div><div><br></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:gmane@colin.guthr.ie">Colin Guthrie</a></div><div><b>Date:</b> 2014-05-14 19:43</div><div><b>To:</b> <a href="mailto:winewolf@qq.com">Hurry Zeng</a>; <a href="mailto:systemd-devel@lists.freedesktop.org">systemd-devel</a></div><div><b>Subject:</b> Re: error: undefined reference to `sd_event_source_unref' while the function exists in source</div></div></div><div><div>Hello,</div>
<div> </div>
<div>Firstly, please try to keep your mails on a given topic in the same</div>
<div>thread! Make it easier for us all to consume mails on the list!</div>
<div> </div>
<div>'Twas brillig, and Hurry Zeng at 14/05/14 10:48 did gyre and gimble:</div>
<div>> Hi All,</div>
<div>> </div>
<div>> i tried to compile some source code on archlinux (v 2014.05.01), but i</div>
<div>> got an error: (header missing ?)</div>
<div>>     fatal error:* systemd/sd-event.h*: No such file or directory </div>
<div>>     #include <systemd/sd-event.h> </div>
<div>>     ^ </div>
<div>>     compilation terminated. </div>
<div>> </div>
<div>> then i copied the headers from systemd-212.tar.gz</div>
<div>> to /usr/include/systemd/  and "make" again,</div>
<div>> but i got more errors, such as: (implementation missing ?)</div>
<div>>     undefined reference to `*sd_event_source_unref*'</div>
<div>> </div>
<div>> i found the "undefined " functions in systemd source code,</div>
<div>> but why the make program can't find them?</div>
<div>> what mistake i had made ?</div>
<div>> </div>
<div>> Is somebody online ? plz help !</div>
<div> </div>
<div>As far as I'm aware the sd-event code is not yet exported as a library,</div>
<div>so you'll likely have to compile and link all the sd-event.c code into</div>
<div>your project too.</div>
<div> </div>
<div>It might help if you explain to the list what "some source code"</div>
<div>actually refers to!</div>
<div> </div>
<div>Col</div>
<div> </div>
<div> </div>
<div>-- </div>
<div> </div>
<div>Colin Guthrie</div>
<div>gmane(at)colin.guthr.ie</div>
<div>http://colin.guthr.ie/</div>
<div> </div>
<div>Day Job:</div>
<div>  Tribalogic Limited http://www.tribalogic.net/</div>
<div>Open Source:</div>
<div>  Mageia Contributor http://www.mageia.org/</div>
<div>  PulseAudio Hacker http://www.pulseaudio.org/</div>
<div>  Trac Hacker http://trac.edgewall.org/</div>
</div></blockquote>
</body></html>