all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sidharth Kshatriya <sid.kshatriya@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: seccomp-filter.c compilation error when trying to compile emacs master
Date: Sun, 23 Jan 2022 21:01:49 +0530	[thread overview]
Message-ID: <CAHZjNtafsRDH9rFDE7AVcmRb9-Am=sqrn3kDN2CGyf80fgtOiQ@mail.gmail.com> (raw)
In-Reply-To: <CAHZjNtZMmAG2PeVJQKHaNoYPDGZRXUdHPnO0pEWDKk__g1jNwA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1640 bytes --]

P.S. I configure emacs for compilation like this:
./configure --disable-build-details --with-modules --with-cairo
--with-native-compilation --prefix=/home/abcxyz/emacs-build-master
--with-mailutils --with-xinput2 --with-pgtk --with-file-notification=inotify

On Sun, Jan 23, 2022 at 9:00 PM Sidharth Kshatriya <sid.kshatriya@gmail.com>
wrote:

> I get the following compilation error when trying to compile emacs from
> the master branch at the currently latest version
> 80098a2830cafe0a09f18c5186bf670a91828fef
>
> I am using Ubuntu 20.04 on an x86_64 system. I'm using gcc 10.3.0
>
>
> *Here is the error in detail:*
> seccomp-filter.c: In function ‘main’:
> seccomp-filter.c:243:25: error: ‘__SNR_faccessat2’ undeclared (first use
> in this function)
>   243 |   RULE (SCMP_ACT_ALLOW, SCMP_SYS (faccessat2));
>       |                         ^~~~~~~~
> seccomp-filter.c:121:60: note: in definition of macro ‘RULE’
>   121 |       int status = seccomp_rule_add_array (ctx, (action),
> (syscall), \
>       |                                                            ^~~~~~~
> seccomp-filter.c:243:25: note: each undeclared identifier is reported only
> once for each function it appears in
>   243 |   RULE (SCMP_ACT_ALLOW, SCMP_SYS (faccessat2));
>       |                         ^~~~~~~~
> seccomp-filter.c:121:60: note: in definition of macro ‘RULE’
>   121 |       int status = seccomp_rule_add_array (ctx, (action),
> (syscall), \
>       |                                                            ^~~~~~~
> make[1]: *** [Makefile:459: seccomp-filter] Error 1
> ...
> ...
>

[-- Attachment #2: Type: text/html, Size: 2133 bytes --]

  reply	other threads:[~2022-01-23 15:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-23 15:30 seccomp-filter.c compilation error when trying to compile emacs master Sidharth Kshatriya
2022-01-23 15:31 ` Sidharth Kshatriya [this message]
2022-01-23 16:04   ` Sidharth Kshatriya
2022-01-24 15:58     ` Andrea Corallo
2022-01-25 20:35       ` Philipp Stephani
2022-01-25 21:03         ` Andrea Corallo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAHZjNtafsRDH9rFDE7AVcmRb9-Am=sqrn3kDN2CGyf80fgtOiQ@mail.gmail.com' \
    --to=sid.kshatriya@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.