<html><head><meta http-equiv="content-type" content="text/html; charset=GB2312"><style>body { line-height: 1.5; }body { font-size: 10.5pt; font-family: ΢ÈíÑźÚ; color: rgb(0, 0, 0); line-height: 1.5; }</style></head><body>
<div><span></span>hi all,</div><div><br></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>then i downloaded & unpacked <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;">and copy the headers in </span><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;">systemd-212/src/systemd/</span></div><div><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;">to archlinux:</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><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;">so i tried to compile the newest systemd myself, </span></div><div><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;">but i suffered errors again!</span></div><div><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;">[root@zarch systemd-212]# make </span></div> make --no-print-directory all-recursive
<br> Making all in .
<br> CCLD libgudev-1.0.la
<br> /usr/bin/ld.gold: <b>error</b>: .libs/libgudev-1.0.ver:2:1: syntax error, unexpected LOCAL, expecting STRING or QUOTED_STRING or EXTERN
<br> /usr/bin/ld.gold: fatal <b>error</b>: unable to parse version script file .libs/libgudev-1.0.ver
<br> collect2: error: ld returned 1 exit status
<br> Makefile:7671: recipe for target 'libgudev-1.0.la' failed
<br> make[2]: *** [libgudev-1.0.la] Error 1
<br> Makefile:14502: recipe for target 'all-recursive' failed
<br> make[1]: *** [all-recursive] Error 1
<br> Makefile:7445: recipe for target 'all' failed
<br> make: *** [all] Error 2
<br>
<div><br></div><div><b>by the way</b>, there is no guide for newbie in README or website,</div><div>so i just do it as "<span style="font-size: 10.5pt; line-height: 1.5; background-color: window;">tradition</span><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;">" -- step1 "./configure" and step2 "make" (error occurred in step2.)</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;">can anybody help ?</span></div><div><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;"><br></span></div><div>thanks!</div><div>Hurry Zeng @ China</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"><div>winewolf@qq.com</div></div></span></div>
</body></html>