<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Cannot build with kernel headers <= 3.13"
href="https://bugs.freedesktop.org/show_bug.cgi?id=80095">80095</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>Cannot build with kernel headers <= 3.13
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Reporter</th>
<td>jean.andre.santoni@gmail.com
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Component</th>
<td>general
</td>
</tr>
<tr>
<th>Product</th>
<td>systemd
</td>
</tr></table>
<p>
<div>
<pre>I'm trying to build using 3.4 kernel headers, and get these errors:
/home/kivutar/Lakka/build.Lakka-Cubieboard2.arm-devel/systemd-214/src/libsystemd/sd-rtnl/rtnl-types.c:51:10:
error: 'IFLA_MACVLAN_FLAGS' undeclared here (not in a funct[221/1905]
[IFLA_MACVLAN_FLAGS] = { .type = NLA_U16 },
^
/home/kivutar/Lakka/build.Lakka-Cubieboard2.arm-devel/systemd-214/src/libsystemd/sd-rtnl/rtnl-types.c:51:9:
error: array index in initializer not of integer type
[IFLA_MACVLAN_FLAGS] = { .type = NLA_U16 },
^
/home/kivutar/Lakka/build.Lakka-Cubieboard2.arm-devel/systemd-214/src/libsystemd/sd-rtnl/rtnl-types.c:51:9:
error: (near initialization for 'rtnl_link_info_data_macvlan_types')
/home/kivutar/Lakka/build.Lakka-Cubieboard2.arm-devel/systemd-214/src/libsystemd/sd-rtnl/rtnl-types.c:51:9:
warning: excess elements in array initializer
/home/kivutar/Lakka/build.Lakka-Cubieboard2.arm-devel/systemd-214/src/libsystemd/sd-rtnl/rtnl-types.c:51:9:
warning: (near initialization for 'rtnl_link_info_data_macvlan_types')
/home/kivutar/Lakka/build.Lakka-Cubieboard2.arm-devel/systemd-214/src/libsystemd/sd-rtnl/rtnl-types.c:54:54:
error: 'IFLA_BRIDGE_MAX' undeclared here (not in a function)
static const NLType rtnl_link_info_data_bridge_types[IFLA_BRIDGE_MAX + 1] = {
^
/home/kivutar/Lakka/build.Lakka-Cubieboard2.arm-devel/systemd-214/src/libsystemd/sd-rtnl/rtnl-types.c:55:10:
error: 'IFLA_BRIDGE_FLAGS' undeclared here (not in a function)
[IFLA_BRIDGE_FLAGS] = { .type = NLA_U16 },
^
/home/kivutar/Lakka/build.Lakka-Cubieboard2.arm-devel/systemd-214/src/libsystemd/sd-rtnl/rtnl-types.c:55:9:
error: array index in initializer not of integer type
[IFLA_BRIDGE_FLAGS] = { .type = NLA_U16 },
^
/home/kivutar/Lakka/build.Lakka-Cubieboard2.arm-devel/systemd-214/src/libsystemd/sd-rtnl/rtnl-types.c:55:9:
error: (near initialization for 'rtnl_link_info_data_bridge_types')
/home/kivutar/Lakka/build.Lakka-Cubieboard2.arm-devel/systemd-214/src/libsystemd/sd-rtnl/rtnl-types.c:55:9:
error: field name not in record or union initializer
/home/kivutar/Lakka/build.Lakka-Cubieboard2.arm-devel/systemd-214/src/libsystemd/sd-rtnl/rtnl-types.c:55:9:
error: (near initialization for 'rtnl_link_info_data_bridge_types')
/home/kivutar/Lakka/build.Lakka-Cubieboard2.arm-devel/systemd-214/src/libsystemd/sd-rtnl/rtnl-types.c:56:10:
error: 'IFLA_BRIDGE_MODE' undeclared here (not in a function)
[IFLA_BRIDGE_MODE] = { .type = NLA_U16 },
^
/home/kivutar/Lakka/build.Lakka-Cubieboard2.arm-devel/systemd-214/src/libsystemd/sd-rtnl/rtnl-types.c:56:9:
error: array index in initializer not of integer type
[IFLA_BRIDGE_MODE] = { .type = NLA_U16 },
^
/home/kivutar/Lakka/build.Lakka-Cubieboard2.arm-devel/systemd-214/src/libsystemd/sd-rtnl/rtnl-types.c:56:9:
error: (near initialization for 'rtnl_link_info_data_bridge_types')
/home/kivutar/Lakka/build.Lakka-Cubieboard2.arm-devel/systemd-214/src/libsystemd/sd-rtnl/rtnl-types.c:56:9:
error: field name not in record or union initializer
/home/kivutar/Lakka/build.Lakka-Cubieboard2.arm-devel/systemd-214/src/libsystemd/sd-rtnl/rtnl-types.c:56:9:
error: (near initialization for 'rtnl_link_info_data_bridge_types')
/home/kivutar/Lakka/build.Lakka-Cubieboard2.arm-devel/systemd-214/src/libsystemd/sd-rtnl/rtnl-types.c:70:10:
error: 'IFLA_VLAN_PROTOCOL' undeclared here (not in a function)
[IFLA_VLAN_PROTOCOL] = { .type = NLA_U16 },
^
/home/kivutar/Lakka/build.Lakka-Cubieboard2.arm-devel/systemd-214/src/libsystemd/sd-rtnl/rtnl-types.c:70:9:
error: array index in initializer not of integer type
[IFLA_VLAN_PROTOCOL] = { .type = NLA_U16 },
^
/home/kivutar/Lakka/build.Lakka-Cubieboard2.arm-devel/systemd-214/src/libsystemd/sd-rtnl/rtnl-types.c:70:9:
error: (near initialization for 'rtnl_link_info_data_vlan_types')
/home/kivutar/Lakka/build.Lakka-Cubieboard2.arm-devel/systemd-214/src/libsystemd/sd-rtnl/rtnl-types.c:105:53:
error: 'IFLA_IPTUN_MAX' undeclared here (not in a function)
static const NLType rtnl_link_info_data_iptun_types[IFLA_IPTUN_MAX + 1] = {
^
/home/kivutar/Lakka/build.Lakka-Cubieboard2.arm-devel/systemd-214/src/libsystemd/sd-rtnl/rtnl-types.c:106:10:
error: 'IFLA_IPTUN_LINK' undeclared here (not in a function)
[IFLA_IPTUN_LINK] = { .type = NLA_U32 },
^
/home/kivutar/Lakka/build.Lakka-Cubieboard2.arm-devel/systemd-214/src/libsystemd/sd-rtnl/rtnl-types.c:106:9:
error: array index in initializer not of integer type
[IFLA_IPTUN_LINK] = { .type = NLA_U32 },
^
/home/kivutar/Lakka/build.Lakka-Cubieboard2.arm-devel/systemd-214/src/libsystemd/sd-rtnl/rtnl-types.c:106:9:
error: (near initialization for 'rtnl_link_info_data_iptun_types')
/home/kivutar/Lakka/build.Lakka-Cubieboard2.arm-devel/systemd-214/src/libsystemd/sd-rtnl/rtnl-types.c:106:9:
error: field name not in record or union initializer
/home/kivutar/Lakka/build.Lakka-Cubieboard2.arm-devel/systemd-214/src/libsystemd/sd-rtnl/rtnl-types.c:106:9:
error: (near initialization for 'rtnl_link_info_data_iptun_types')
/home/kivutar/Lakka/build.Lakka-Cubieboard2.arm-devel/systemd-214/src/libsystemd/sd-rtnl/rtnl-types.c:107:10:
error: 'IFLA_IPTUN_LOCAL' undeclared here (not in a function)
[IFLA_IPTUN_LOCAL] = { .type = NLA_IN_ADDR },</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>