[systemd-devel] systemd-git Build failed

arnaud gaboury arnaud.gaboury at gmail.com
Sat Apr 5 05:00:33 PDT 2014


I am running Archlinux with a custom 3.18.1 Kernel. Full system is upgraded.

Usually systemd-git build fine using the AUR package[1]. The last two
builds(first one was with  linux 3.17) with these errors:

*******************
 src/libsystemd/sd-rtnl/rtnl-types.c:72:52: error: 'IFLA_BOND_MAX'
undeclared here (not in a function)
 static const NLType rtnl_link_info_data_bond_types[IFLA_BOND_MAX + 1] = {
                                                    ^
src/libsystemd/sd-rtnl/rtnl-types.c:73:10: error: 'IFLA_BOND_MODE'
undeclared here (not in a function)
         [IFLA_BOND_MODE]                = { .type = NLA_U8 },
          ^
src/libsystemd/sd-rtnl/rtnl-types.c:73:9: error: array index in
initializer not of integer type
         [IFLA_BOND_MODE]                = { .type = NLA_U8 },
         ^
src/libsystemd/sd-rtnl/rtnl-types.c:73:9: error: (near initialization
for 'rtnl_link_info_data_bond_types')
src/libsystemd/sd-rtnl/rtnl-types.c:73:9: error: field name not in
record or union initializer
src/libsystemd/sd-rtnl/rtnl-types.c:73:9: error: (near initialization
for 'rtnl_link_info_data_bond_types')
src/libsystemd/sd-rtnl/rtnl-types.c:74:10: error:
'IFLA_BOND_ACTIVE_SLAVE' undeclared here (not in a function)
         [IFLA_BOND_ACTIVE_SLAVE]        = { .type = NLA_U32 },
          ^
src/libsystemd/sd-rtnl/rtnl-types.c:74:9: error: array index in
initializer not of integer type
         [IFLA_BOND_ACTIVE_SLAVE]        = { .type = NLA_U32 },
         ^
src/libsystemd/sd-rtnl/rtnl-types.c:74:9: error: (near initialization
for 'rtnl_link_info_data_bond_types')
src/libsystemd/sd-rtnl/rtnl-types.c:74:9: error: field name not in
record or union initializer
src/libsystemd/sd-rtnl/rtnl-types.c:74:9: error: (near initialization
for 'rtnl_link_info_data_bond_types')
src/libsystemd/sd-rtnl/rtnl-types.c:72:21: warning:
'rtnl_link_info_data_bond_types' defined but not used
[-Wunused-variable]
 static const NLType rtnl_link_info_data_bond_types[IFLA_BOND_MAX + 1] = {
                     ^
Makefile:11868: recipe for target
'src/libsystemd/sd-rtnl/libsystemd_internal_la-rtnl-types.lo' failed
****************************

./configure CFLAGS='-g -O0 -ftrapv' --enable-compat-libs
--enable-kdbus --sysconfdir=/etc --localstatedir=/var
--libdir=/usr/lib --enable-gtk-doc

Am I missing something ? Did I disabled anything when building my
kernel which could be the root of this issue ?

TY for help.



[1]https://aur.archlinux.org/packages/systemd-git


More information about the systemd-devel mailing list