* [Buildroot] [PATCH v2] netsniff-ng: check if linux-headers are v3.0 or higher
@ 2016-01-15 13:23 Joris Lijssens
2016-01-15 13:57 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Joris Lijssens @ 2016-01-15 13:23 UTC (permalink / raw)
To: buildroot
Fixes:
http://autobuild.buildroot.net/results/c87a440e29ae387f600cb6ecce3caa
Signed-off-by: Joris Lijssens <joris.lijssens@gmail.com>
---
package/netsniff-ng/Config.in | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/package/netsniff-ng/Config.in b/package/netsniff-ng/Config.in
index b39ec96..a2494a9 100644
--- a/package/netsniff-ng/Config.in
+++ b/package/netsniff-ng/Config.in
@@ -9,6 +9,7 @@ config BR2_PACKAGE_NETSNIFF_NG
# Build with uClibc fails due to missing ceill()
# Build with musl fails due to various header issues
depends on BR2_TOOLCHAIN_USES_GLIBC
+ depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_58854 # liburcu
depends on BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
@@ -17,9 +18,10 @@ config BR2_PACKAGE_NETSNIFF_NG
networking toolkit. If you will, the Swiss army knife for
network packets.
-comment "netsniff-ng needs an (e)glibc toolchain w/ threads"
+comment "netsniff-ng needs an (e)glibc toolchain w/ threads, headers >= 3.0"
depends on BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
- depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_USES_GLIBC
+ depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_USES_GLIBC \
+ || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_58854
comment "netsniff-ng needs a toolchain not affected by GCC bug 58854"
--
1.8.3.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH v2] netsniff-ng: check if linux-headers are v3.0 or higher
2016-01-15 13:23 [Buildroot] [PATCH v2] netsniff-ng: check if linux-headers are v3.0 or higher Joris Lijssens
@ 2016-01-15 13:57 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2016-01-15 13:57 UTC (permalink / raw)
To: buildroot
Joris,
On Fri, 15 Jan 2016 14:23:37 +0100, Joris Lijssens wrote:
> Fixes:
> http://autobuild.buildroot.net/results/c87a440e29ae387f600cb6ecce3caa
This URL gives a 404. The correct address is:
http://autobuild.buildroot.net/results/c87/c87a440e29ae387f600cb6ecce3caaa08557f4f0/
Also, it's good to give a few more details, like:
netsniff-ng uses the TP_STATUS_VLAN_VALID define, provided by the
kernel headers. This definition has been added in the kernel by commit
a3bcc23e890a6d49d6763d9eb073d711de2e0469 ("af-packet: Add flag to
distinguish VID 0 from no-vlan"), which was merged in v3.0.
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-01-15 13:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-15 13:23 [Buildroot] [PATCH v2] netsniff-ng: check if linux-headers are v3.0 or higher Joris Lijssens
2016-01-15 13:57 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox