[systemd-bugs] [Bug 80095] New: Cannot build with kernel headers <= 3.13

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jun 16 06:30:03 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=80095

          Priority: medium
            Bug ID: 80095
          Assignee: systemd-bugs at lists.freedesktop.org
           Summary: Cannot build with kernel headers <= 3.13
        QA Contact: systemd-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: jean.andre.santoni at gmail.com
          Hardware: All
            Status: NEW
           Version: unspecified
         Component: general
           Product: systemd

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 },

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20140616/bd755045/attachment-0001.html>


More information about the systemd-bugs mailing list