[systemd-devel] systemd headers missing and compiling failed
winewolf at qq.com
winewolf at qq.com
Tue May 13 03:44:37 PDT 2014
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 downloaded & unpacked systemd-212.tar.gz,
and copy the headers in systemd-212/src/systemd/
to archlinux:/usr/include/systemd/ and "make" again,
but i got more errors, such as: (implementation missing ?)
undefined reference to `sd_event_source_unref'
so i tried to compile the newest systemd myself,
but i suffered errors again!
[root at zarch systemd-212]# make
make --no-print-directory all-recursive
Making all in .
CCLD libgudev-1.0.la
/usr/bin/ld.gold: error: .libs/libgudev-1.0.ver:2:1: syntax error, unexpected LOCAL, expecting STRING or QUOTED_STRING or EXTERN
/usr/bin/ld.gold: fatal error: unable to parse version script file .libs/libgudev-1.0.ver
collect2: error: ld returned 1 exit status
Makefile:7671: recipe for target 'libgudev-1.0.la' failed
make[2]: *** [libgudev-1.0.la] Error 1
Makefile:14502: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
Makefile:7445: recipe for target 'all' failed
make: *** [all] Error 2
by the way, there is no guide for newbie in README or website,
so i just do it as "tradition" -- step1 "./configure" and step2 "make" (error occurred in step2.)
can anybody help ?
thanks!
Hurry Zeng @ China
winewolf at qq.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20140513/bc78aabf/attachment.html>
More information about the systemd-devel
mailing list