[Buildroot] [PATCH 1/1] package/iwd: fix build with gcc 4.8

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sun Apr 12 09:05:53 UTC 2020


On Sat, 11 Apr 2020 23:33:18 +0200
Fabrice Fontaine <fontaine.fabrice at gmail.com> wrote:

> +SOL_NETLINK is used since commit
> +87a198111af1ea67053895f7435fb99e3cdd2159 resulting in the following
> +build failure with gcc 4.8:
> +
> +src/frame-xchg.c: In function 'frame_watch_group_io_read':
> +src/frame-xchg.c:328:27: error: 'SOL_NETLINK' undeclared (first use in this function)
> +   if (cmsg->cmsg_level != SOL_NETLINK)

I don't understand a failure like this can be related to the compiler
version. Could you clarify?

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the buildroot mailing list