From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Cc: Wade Berrier <wberrier@gmail.com>, buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/1] package/ngrep: fix build with libnet
Date: Mon, 5 Feb 2024 18:48:39 +0100 [thread overview]
Message-ID: <20240205184839.3f230f02@windsurf> (raw)
In-Reply-To: <20240109211801.565524-1-fontaine.fabrice@gmail.com>
On Tue, 9 Jan 2024 22:18:01 +0100
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> Use pkg-config to find libnet and avoid the following build failure
> raised since commit 100ba8351c088fd764effdcaba848cfd92de79dd if
> libnet-config is found on the host:
>
> /home/autobuild/autobuild/instance-4/output-1/host/bin/mips64el-buildroot-linux-gnu-gcc -s -o ngrep ngrep.o tcpkill.o -lpcap -lnet -lpcre -L/usr/lib -lnet
> mips64el-buildroot-linux-gnu-gcc: ERROR: unsafe header/library path used in cross-compilation: '-L/usr/lib'
>
> While at it, format Upstream tag of other patches
>
> Fixes:
> - http://autobuild.buildroot.org/results/05c916162b9c1027cf53f1699a1f5653151098ed
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> .checkpackageignore | 3 --
> ...nfigure-in-when-testing-for-use_pcre.patch | 3 +-
> ...heck-for-libnet_init-in-configure-in.patch | 3 +-
> package/ngrep/0003-fix-disable-tcpkill.patch | 2 +-
> ...ure.in-use-pkg-config-to-find-libnet.patch | 38 +++++++++++++++++++
> package/ngrep/ngrep.mk | 2 +-
> 6 files changed, 42 insertions(+), 9 deletions(-)
> create mode 100644 package/ngrep/0004-configure.in-use-pkg-config-to-find-libnet.patch
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2024-02-05 17:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-09 21:18 [Buildroot] [PATCH 1/1] package/ngrep: fix build with libnet Fabrice Fontaine
2024-02-05 17:48 ` Thomas Petazzoni via buildroot [this message]
2024-02-29 15:29 ` Peter Korsgaard
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=20240205184839.3f230f02@windsurf \
--to=buildroot@buildroot.org \
--cc=fontaine.fabrice@gmail.com \
--cc=thomas.petazzoni@bootlin.com \
--cc=wberrier@gmail.com \
/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