[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Build failure: 'seccomp-filter'
From: |
Philipp Stephani |
Subject: |
Re: Build failure: 'seccomp-filter' |
Date: |
Sun, 11 Apr 2021 12:12:49 +0200 |
Am So., 11. Apr. 2021 um 09:51 Uhr schrieb Colin Baxter <m43cap@yandex.com>:
>
> >>>>> Eli Zaretskii <eliz@gnu.org> writes:
>
> >> From: Colin Baxter <m43cap@yandex.com> Cc: Date: Sun, 11 Apr 2021
> >> 07:45:19 +0100
> >>
> >> I get a build with the latest pull of emacs:
> >>
> >> Makefile:415: recipe for target 'seccomp-filter' failed make[1]:
> >> *** [seccomp-filter] Error 1 make[1]: Leaving directory
> >> '/home/redknight/git/emacs/lib-src' Makefile:396: recipe for
> >> target 'lib-src' failed make: *** [lib-src] Error 2
>
> > Are there no error or warning messages before the "Makefile:415"
> > one? If there are, please show all the messages.
>
> Yes, sorry, I missed the earlier errors. Here is the full list beginning
> after the attempt to compile seccomp-filter:
>
> ---------- Begin error list ------------
>
> CCLD seccomp-filter
> seccomp-filter.c: In function ‘main’:
> seccomp-filter.c:142:23: error: ‘SCMP_ACT_KILL_PROCESS’ undeclared (first use
> in this function)
> ctx = seccomp_init (SCMP_ACT_KILL_PROCESS);
> ^~~~~~~~~~~~~~~~~~~~~
This is an interesting failure. Looks like seccomp.h exists on your
system, but doesn't contain the right definitions?
What does your config.log say about seccomp.h (not linux/seccomp.h)
and seccomp_init?
- Build failure: 'seccomp-filter', Colin Baxter, 2021/04/11
- Re: Build failure: 'seccomp-filter', Eli Zaretskii, 2021/04/11
- Re: Build failure: 'seccomp-filter', Colin Baxter, 2021/04/11
- Re: Build failure: 'seccomp-filter',
Philipp Stephani <=
- Re: Build failure: 'seccomp-filter', Colin Baxter, 2021/04/11
- Re: Build failure: 'seccomp-filter', Philipp, 2021/04/11
- Re: Build failure: 'seccomp-filter', Philipp Stephani, 2021/04/11
- Re: Build failure: 'seccomp-filter', Philipp Stephani, 2021/04/11
- Re: Build failure: 'seccomp-filter', Colin Baxter, 2021/04/11
- Re: Build failure: 'seccomp-filter', Andreas Schwab, 2021/04/11
- Re: Build failure: 'seccomp-filter', Colin Baxter, 2021/04/11
- Re: Build failure: 'seccomp-filter', Philipp Stephani, 2021/04/11
- Re: Build failure: 'seccomp-filter', Andreas Schwab, 2021/04/11
- Re: Build failure: 'seccomp-filter', Philipp Stephani, 2021/04/12