[Buildroot] [PATCH 1/1] package/pppd: fix build with kernel < 4.7
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Mon May 6 19:28:53 UTC 2024
On Sun, 5 May 2024 17:53:49 +0200
Fabrice Fontaine <fontaine.fabrice at gmail.com> wrote:
> Fix the following build failure with kernel < 4.7 raised since bump to
> version 2.5.0 in commit 0c15169f5ae57d88a77df34cc896044a37c9597b and
> https://github.com/ppp-project/ppp/commit/81ad945630120cc1c27c8bb00503be42b76ff202:
>
> sys-linux.c: In function 'get_ppp_stats_rtnetlink':
> sys-linux.c:1783:29: error: field 'ifsm' has incomplete type
> 1783 | struct if_stats_msg ifsm;
> | ^~~~
>
> Fixes:
> - http://autobuild.buildroot.org/results/82392df447f650f241f23e59e65131fb4a930010
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
> ---
> ...pile-with-older-Linux-kernel-headers.patch | 66 +++++++++++++++++++
> 1 file changed, 66 insertions(+)
> create mode 100644 package/pppd/0005-pppd-sys-linux-Fix-compile-with-older-Linux-kernel-headers.patch
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
More information about the buildroot
mailing list