From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Jan Engelhardt <jengelh@inai.de>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: [PATCH] build: add missing AM_CPPFLAGS to examples/
Date: Tue, 22 Feb 2022 08:34:57 +0100 [thread overview]
Message-ID: <YhSSIanp3mA+F8R9@salvia> (raw)
In-Reply-To: <20220222044643.25214-1-jengelh@inai.de>
On Tue, Feb 22, 2022 at 05:46:43AM +0100, Jan Engelhardt wrote:
> examples$ make V=1
> depbase=`echo nft-buffer.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
> gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT nft-buffer.o -MD -MP -MF $depbase.Tpo -c -o nft-buffer.o nft-buffer.c &&\
> mv -f $depbase.Tpo $depbase.Po
> nft-buffer.c:3:10: fatal error: nftables/libnftables.h: No such file or directory
Right. I also moved the compilation of these example out of the
standard build path.
https://patchwork.ozlabs.org/project/netfilter-devel/patch/20220222000049.303303-1-pablo@netfilter.org/
> Signed-off-by: Jan Engelhardt <jengelh@inai.de>
> ---
> nftables 1.0.2 would not build successfully by default.
>
> examples/Makefile.am | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/examples/Makefile.am b/examples/Makefile.am
> index c972170d..d7234ce4 100644
> --- a/examples/Makefile.am
> +++ b/examples/Makefile.am
> @@ -1,3 +1,4 @@
> +AM_CPPFLAGS = -I$(top_srcdir)/include
> noinst_PROGRAMS = nft-buffer \
> nft-json-file
>
> --
> 2.35.1
>
prev parent reply other threads:[~2022-02-22 7:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-22 4:46 [PATCH] build: add missing AM_CPPFLAGS to examples/ Jan Engelhardt
2022-02-22 7:34 ` Pablo Neira Ayuso [this message]
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=YhSSIanp3mA+F8R9@salvia \
--to=pablo@netfilter.org \
--cc=jengelh@inai.de \
--cc=netfilter-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).