Skip to contentSkip to conversation

iproute2: needs kernel headers 3.4+

PATCH New Baruch Siach 2 participants 2 messages Jun 3, 2017 – Jun 4, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 iproute2: needs kernel headers 3.4+

iproute2 needs the __kernel_long_t and __kernel_ulong_t types that were introduced in kernel v3.4.

Fixes:
http://autobuild.buildroot.net/results/823/823f0dbe17999c07134fac5a0620e3ad15362204/
http://autobuild.buildroot.net/results/a79/a797a6e3d193fa70abd59411df21657a1c0a45d4/

---
 package/ifupdown/Config.in | 6 +++---
 package/iproute2/Config.in | 6 +++---
 package/openswan/Config.in | 6 +++---
 3 files changed, 9 insertions(+), 9 deletions(-)
package/ifupdown/Config.in +3 -3
index ccacd0fc9cec..97d02b4c37fc 100644
@@ -1,7 +1,7 @@
 config BR2_PACKAGE_IFUPDOWN
 	bool "ifupdown"
 	depends on BR2_USE_MMU # fork()
-	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 # iproute2
+	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 # iproute2
 	depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
 	# runtime for ip binary
 	select BR2_PACKAGE_IPROUTE2 if !BR2_PACKAGE_BUSYBOX
@@ -12,7 +12,7 @@ config BR2_PACKAGE_IFUPDOWN
 
 	  https://tracker.debian.org/pkg/ifupdown
 
-comment "ifupdown needs a toolchain w/ headers >= 3.0"
+comment "ifupdown needs a toolchain w/ headers >= 3.4"
 	depends on BR2_USE_MMU
-	depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
+	depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
 	depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
package/iproute2/Config.in +3 -3
index fd373a812342..ab9e515eca76 100644
@@ -1,13 +1,13 @@
 config BR2_PACKAGE_IPROUTE2
 	bool "iproute2"
 	depends on BR2_USE_MMU # fork()
-	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 # bpf, namespaces
+	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 # __kernel_{u,}long_t
 	help
 	  Kernel routing and traffic control utilities. Provides things
 	  like ip and tc.
 
 	  http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2
 
-comment "iproute2 needs a toolchain w/ headers >= 3.0"
+comment "iproute2 needs a toolchain w/ headers >= 3.4"
 	depends on BR2_USE_MMU
-	depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
+	depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
package/openswan/Config.in +3 -3
index 5db665c6f70c..340686cc50e6 100644
@@ -1,7 +1,7 @@
 config BR2_PACKAGE_OPENSWAN
 	bool "openswan"
 	depends on BR2_USE_MMU # iproute2
-	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 # iproute2
+	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 # iproute2
 	depends on !BR2_TOOLCHAIN_USES_MUSL # GLOB_BRACE
 	select BR2_PACKAGE_GMP
 	select BR2_PACKAGE_IPROUTE2
@@ -10,7 +10,7 @@ config BR2_PACKAGE_OPENSWAN
 
 	  http://www.openswan.org
 
-comment "openswan needs a uClibc or glibc toolchain w/ headers >= 3.0"
+comment "openswan needs a uClibc or glibc toolchain w/ headers >= 3.4"
 	depends on BR2_USE_MMU
-	depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 || \
+	depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 || \
 		BR2_TOOLCHAIN_USES_MUSL
Signature · 1 line
2.11.0
#1 lore raw

PATCH 1/1 iproute2: needs kernel headers 3.4+

Hello,

Quoted 7 lines · Baruch Siach

iproute2 needs the __kernel_long_t and __kernel_ulong_t types that were introduced in kernel v3.4.

Fixes:
http://autobuild.buildroot.net/results/823/823f0dbe17999c07134fac5a0620e3ad15362204/
http://autobuild.buildroot.net/results/a79/a797a6e3d193fa70abd59411df21657a1c0a45d4/

Quoted 6 lines
---
 package/ifupdown/Config.in | 6 +++---
 package/iproute2/Config.in | 6 +++---
 package/openswan/Config.in | 6 +++---
 3 files changed, 9 insertions(+), 9 deletions(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com