[systemd-devel] git requires now linux api userspace headers >= 3.13 to build?

Samuli Suominen ssuominen at gentoo.org
Mon Mar 31 08:08:27 PDT 2014


User reported me today, http://bpaste.net/show/195803/

IFLA_VLAN_PROTOCOL is not defined before 3.12, but even with 3.12 there are different errors, so at least >= 3.13 is now required

<snip>
/var/tmp/portage/sys-apps/systemd-9999/work/systemd-9999/src/libsystemd/sd-rtnl/rtnl-types.c:66:10: error: 'IFLA_VLAN_PROTOCOL' undeclared here (not in a function)
/var/tmp/portage/sys-apps/systemd-9999/work/systemd-9999/src/libsystemd/sd-rtnl/rtnl-types.c:66:9: error: array index in initializer not of integer type
/var/tmp/portage/sys-apps/systemd-9999/work/systemd-9999/src/libsystemd/sd-rtnl/rtnl-types.c:66:9: error: (near initialization for 'rtnl_link_info_data_vlan_types')
/var/tmp/portage/sys-apps/systemd-9999/work/systemd-9999/src/libsystemd/sd-rtnl/rtnl-types.c:69:52: error: 'IFLA_BOND_MAX' undeclared here (not in a function)
/var/tmp/portage/sys-apps/systemd-9999/work/systemd-9999/src/libsystemd/sd-rtnl/rtnl-types.c:70:10: error: 'IFLA_BOND_MODE' undeclared here (not in a function)
/var/tmp/portage/sys-apps/systemd-9999/work/systemd-9999/src/libsystemd/sd-rtnl/rtnl-types.c:70:9: error: array index in initializer not of integer type
/var/tmp/portage/sys-apps/systemd-9999/work/systemd-9999/src/libsystemd/sd-rtnl/rtnl-types.c:70:9: error: (near initialization for 'rtnl_link_info_data_bond_types')
/var/tmp/portage/sys-apps/systemd-9999/work/systemd-9999/src/libsystemd/sd-rtnl/rtnl-types.c:70:9: error: field name not in record or union initializer
/var/tmp/portage/sys-apps/systemd-9999/work/systemd-9999/src/libsystemd/sd-rtnl/rtnl-types.c:70:9: error: (near initialization for 'rtnl_link_info_data_bond_types')
/var/tmp/portage/sys-apps/systemd-9999/work/systemd-9999/src/libsystemd/sd-rtnl/rtnl-types.c:71:10: error: 'IFLA_BOND_ACTIVE_SLAVE' undeclared here (not in a function)
/var/tmp/portage/sys-apps/systemd-9999/work/systemd-9999/src/libsystemd/sd-rtnl/rtnl-types.c:71:9: error: array index in initializer not of integer type
/var/tmp/portage/sys-apps/systemd-9999/work/systemd-9999/src/libsystemd/sd-rtnl/rtnl-types.c:71:9: error: (near initialization for 'rtnl_link_info_data_bond_types')
/var/tmp/portage/sys-apps/systemd-9999/work/systemd-9999/src/libsystemd/sd-rtnl/rtnl-types.c:71:9: error: field name not in record or union initializer
/var/tmp/portage/sys-apps/systemd-9999/work/systemd-9999/src/libsystemd/sd-rtnl/rtnl-types.c:71:9: error: (near initialization for 'rtnl_link_info_data_bond_types')
/var/tmp/portage/sys-apps/systemd-9999/work/systemd-9999/src/libsystemd/sd-rtnl/rtnl-types.c:69:21: warning: 'rtnl_link_info_data_bond_types' defined but not used [-Wunused-variable]
make[2]: *** [src/libsystemd/sd-rtnl/libsystemd_internal_la-rtnl-types.lo] Error 1
</snip>

I remember reading a while back here >= 3.7 being required and that being reworked to not require so new, but looks like something backfired there...

- Samuli



More information about the systemd-devel mailing list