[systemd-devel] systemd-git Build failed
Armin K.
krejzi at email.com
Sat Apr 5 05:04:51 PDT 2014
On 04/05/2014 02:00 PM, arnaud gaboury wrote:
> I am running Archlinux with a custom 3.18.1 Kernel. Full system is upgraded.
>
Are you from the future? I doubt that networkd supports kernels from the
future :|
> 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.
>
Jokes aside.
If the 3.18 was a typo and if that's 3.8 kernel, then you might have
some trouble:
http://lists.freedesktop.org/archives/systemd-devel/2014-March/018347.html
But that's related to userspace headers, linux-api-headers.
>
>
> [1]https://aur.archlinux.org/packages/systemd-git
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel
>
--
Note: My last name is not Krejzi.
More information about the systemd-devel
mailing list