On 05/13/2014 04:44 AM, [email protected] wrote: > 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. >
I get this when I try to compile some single binaries to patch and replace. Is this what you're doing? My workaround is to just run make for a few seconds, ctrl-c, and then make <binary> =) I'm sure there's a real fix, but this has worked for me so far. > 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@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 > > -------------------------------------------------------------------------------- > [email protected]
signature.asc
Description: OpenPGP digital signature
_______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
