From: Steven Rostedt <rostedt@goodmis.org>
To: Daniel Wagner <dwagner@suse.de>
Cc: linux-trace-devel@vger.kernel.org
Subject: Re: [PATCH v2 2/2] trace-cmd: Add initial support for meson
Date: Fri, 23 Dec 2022 11:24:25 -0500 [thread overview]
Message-ID: <20221223112425.55aab646@gandalf.local.home> (raw)
In-Reply-To: <20221223111820.07213749@gandalf.local.home>
On Fri, 23 Dec 2022 11:18:20 -0500
Steven Rostedt <rostedt@goodmis.org> wrote:
> As a work around. But now I get this:
>
> ../tracecmd/trace-profile.c:13:10: fatal error: libaudit.h: No such file or directory
> 13 | #include <libaudit.h>
> | ^~~~~~~~~~~~
>
>
> We're missing the -DNO_AUDIT added when not there, as that file has:
I guess something like this is needed?
diff --git a/meson.build b/meson.build
index 31f8a101190e..d2cfe15b4a60 100644
--- a/meson.build
+++ b/meson.build
@@ -78,6 +79,12 @@ audit_dep = dependency('audit', required: false)
if not audit_dep.found()
conf10.set('NO_AUDIT', true, description: 'Is audit missing?')
conf.set('WARN_NO_AUDIT', true, description: 'Issue no audit warning?')
+ add_project_arguments(
+ [
+ '-DNO_AUDIT'
+ ],
+ language : 'c',
+ )
endif
config_h = configure_file(
-- Steve
next prev parent reply other threads:[~2022-12-23 16:24 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-23 10:15 [PATCH v2 0/2] Add initial support for meson Daniel Wagner
2022-12-23 10:15 ` [PATCH v2 1/2] libtracecmd: " Daniel Wagner
2022-12-23 19:25 ` Steven Rostedt
2022-12-24 10:32 ` Daniel Wagner
2022-12-23 10:15 ` [PATCH v2 2/2] trace-cmd: " Daniel Wagner
2022-12-23 16:18 ` Steven Rostedt
2022-12-23 16:24 ` Steven Rostedt [this message]
2022-12-24 10:34 ` Daniel Wagner
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=20221223112425.55aab646@gandalf.local.home \
--to=rostedt@goodmis.org \
--cc=dwagner@suse.de \
--cc=linux-trace-devel@vger.kernel.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).