From: Cyril Hrubis <chrubis@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH v2 2/4] syscalls/pidfd_send_signal01
Date: Thu, 6 Jun 2019 15:10:16 +0200 [thread overview]
Message-ID: <20190606131015.GA12020@rei> (raw)
In-Reply-To: <20190604114702.28255-1-camann@suse.com>
Hi!
When I attempty to compile this code I get:
In file included from pidfd_send_signal.h:11:0,
from pidfd_send_signal01.c:17:
pidfd_send_signal.h: In function 'check_syscall_support':
pidfd_send_signal.h:16:14: error: '__NR_pidfd_send_signal' undeclared (first use in this function); did you mean '__NR_perf_event_open'?
tst_syscall(__NR_pidfd_send_signal);
^
../../../../include/lapi/syscalls.h:39:6: note: in definition of macro 'tst_syscall'
if (NR == __LTP__NR_INVALID_SYSCALL) { \
^~
pidfd_send_signal.h:16:14: note: each undeclared identifier is reported only once for each function it appears in
tst_syscall(__NR_pidfd_send_signal);
^
../../../../include/lapi/syscalls.h:39:6: note: in definition of macro 'tst_syscall'
if (NR == __LTP__NR_INVALID_SYSCALL) { \
^~
pidfd_send_signal.h: In function 'pidfd_send_signal':
pidfd_send_signal.h:23:21: error: '__NR_pidfd_send_signal' undeclared (first use in this function); did you mean 'pidfd_send_signal'?
return tst_syscall(__NR_pidfd_send_signal, pidfd, sig, info, flags);
^
../../../../include/lapi/syscalls.h:39:6: note: in definition of macro 'tst_syscall'
if (NR == __LTP__NR_INVALID_SYSCALL) { \
^~
make: *** [<builtin>: pidfd_send_signal01] Error 1
Have you forgotten to git add the *.in files with syscall numbers?
--
Cyril Hrubis
chrubis@suse.cz
next prev parent reply other threads:[~2019-06-06 13:10 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-04 11:47 [LTP] [PATCH v2 2/4] syscalls/pidfd_send_signal01 Christian Amann
2019-06-04 11:47 ` [LTP] [PATCH v2 3/4] syscalls/pidfd_send_signal02 Christian Amann
2019-06-12 13:54 ` Petr Vorel
2019-06-04 11:47 ` [LTP] [PATCH v2 4/4] syscalls/pidfd_send_signal03 Christian Amann
2019-06-12 14:13 ` Petr Vorel
2019-06-06 13:10 ` Cyril Hrubis [this message]
2019-06-11 11:12 ` [LTP] [PATCH v2 2/4] syscalls/pidfd_send_signal01 Christian Amann
2019-06-12 13:41 ` Petr Vorel
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=20190606131015.GA12020@rei \
--to=chrubis@suse.cz \
--cc=ltp@lists.linux.it \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox