[prev in list] [next in list] [prev in thread] [next in thread] 

List:       systemd-devel
Subject:    [systemd-devel] git requires now linux api userspace headers >= 3.13 to build?
From:       teg () jklm ! no (Tom Gundersen)
Date:       2014-03-31 15:18:38
Message-ID: CAG-2HqXs+f9QNe7vS80ofipC8B4mTemaO_tM6tnFkz75DVvoFg () mail ! gmail ! com
[Download RAW message or body]

On Mon, Mar 31, 2014 at 5:08 PM, Samuli Suominen <ssuominen at gentoo.org> wrote:
> 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...

Ah, my bad. I did the rework, but forgot to put in the #ifdef's. Will do.

Cheers,

Tom


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic