On Tue, 17.07.12 08:30, Zbigniew Jędrzejewski-Szmek ([email protected]) wrote:
> CC src/core/libsystemd_core_la-syscall-list.lo
> src/core/syscall-list.c:31:29: fatal error: syscall-to-name.h: No such
> file or directory
Applied both. Thanks!
> ---
> Makefile.am | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/Makefile.am b/Makefile.am
> index b16c01a..d8c7185 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -1008,6 +1008,10 @@ CLEANFILES += \
> src/core/syscall-from-name.h \
> src/core/syscall-to-name.h
>
> +BUILT_SOURCES += \
> + src/core/syscall-from-name.h \
> + src/core/syscall-to-name.h
> +
> src/core/syscall-list.txt: Makefile
> $(AM_V_GEN)cpp -dM -include sys/syscall.h < /dev/null | $(AWK)
> '/^#define[ \t]+__NR_[^ ]+[ \t]+[0-9]/ { sub(/__NR_/, "", $$2); print $$2; }'
> > $@ || rm $@
>
Lennart
--
Lennart Poettering - Red Hat, Inc.
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel