[Buildroot] [PATCH 2/2] package/libqmi: needs headers >= 4.14

Aleksander Morgado aleksander at aleksander.es
Mon Mar 29 21:40:59 UTC 2021

Hey Fabrice,

On Mon, Mar 29, 2021 at 11:23 PM Fabrice Fontaine
<fontaine.fabrice at gmail.com> wrote:
> libqmi unconditionnally uses ARPHRD_RAWIP since version 1.28.0 and
> https://github.com/freedesktop/libqmi/commit/4085a2d6b771a40fb637433ed6a05b9d5d4d94b9
> https://github.com/freedesktop/libqmi/commit/19f4b39ee85500e7e868b8a100fba19c04fb3c30
> However, ARPHRD_RAWIP is only available since kernel 4.14 and
> https://github.com/torvalds/linux/commit/cdf4969c42a6c1a376dd03a9e846cf638d3cd4b1
> Fixes:
>  - http://autobuild.buildroot.org/results/c8853b7161bd85d46c1282c6c097e7ef4042ae68

This is totally not intentional; the ARPHRD_RAWIP symbol is used in
the rmnet backend, and the rmnet backend itself should only be used if
the kernel has rmnet support, which we look for at configure time with
the following check:


We should probably improve that check to also include a lookup for the
What do you think?


More information about the buildroot mailing list