Wind River Support Network


LIN5-18307 : Conflicting definitions of AF_MAX

Created: Mar 14, 2014    Updated: Dec 19, 2017
Resolved Date: Apr 24, 2014
Found In Version: 5.0.1
Fix Version:
Severity: Standard
Applicable for: Wind River Linux 5
Component/s: Userspace


There are conflicting definitions in the kernel and userspace header files for AF_MAX and PF_MAX.

It appears the kernel has a new AF_BUS taking the value of 40, with AF_MAX and PF_MAX being 41, see kernel header file "include/linux/socket.h".

However, in the sysroot we find AF_MAX and PF_MAX being defined as 40, which is the old and now incorrect value.

Looks like the issue is introduced with the following patch:

Other Downloads

Live chat