This seems to be related to missed C headers files:
02:26:37 netifaces.c: In function 'gateways': 02:26:37 netifaces.c:1704:22: error: 'RTNL_FAMILY_MAX' undeclared (first use in this function)
That's probably rtnetlink.h:
http://lxr.free-electrons.com/source/include/uapi/linux/rtnetlink.h#L15
This seems to be related to missed C headers files:
02:26:37 netifaces.c: In function 'gateways': c:1704: 22: error: 'RTNL_FAMILY_MAX' undeclared (first use in this function)
02:26:37 netifaces.
That's probably rtnetlink.h:
http:// lxr.free- electrons. com/source/ include/ uapi/linux/ rtnetlink. h#L15