[systemd-devel] git requires now linux api userspace headers >= 3.13 to build?

Wulf C. Krueger philantrop at exherbo.org
Fri May 30 03:05:59 PDT 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 31.03.2014 17:18, Tom Gundersen wrote:
>> 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.

The following errors seem to imply >= 3.10 is now required (which
wouldn't match with the README) - or that this older issue hasn't been
fixed completely (because the 3.8 headers were being used):

Makefile:11905: recipe for target
'src/libsystemd/sd-rtnl/libsystemd_internal_la-rtnl-types.lo' failed

/var/tmp/paludis/build/sys-apps-systemd-213-r1/work/systemd-213/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 },

          ^

/var/tmp/paludis/build/sys-apps-systemd-213-r1/work/systemd-213/src/libsystemd/sd-rtnl/rtnl-types.c:70:9:
error: array index in initializer not of integer type

         [IFLA_VLAN_PROTOCOL]    = { .type = NLA_U16 },

         ^

/var/tmp/paludis/build/sys-apps-systemd-213-r1/work/systemd-213/src/libsystemd/sd-rtnl/rtnl-types.c:70:9:
error: (near initialization for 'rtnl_link_info_data_vlan_types')

/var/tmp/paludis/build/sys-apps-systemd-213-r1/work/systemd-213/src/libsystemd/sd-rtnl/rtnl-types.c:231:9:
error: array index in initializer exceeds array bounds

         [IFLA_CARRIER]          = { .type = NLA_U8 },

         ^

/var/tmp/paludis/build/sys-apps-systemd-213-r1/work/systemd-213/src/libsystemd/sd-rtnl/rtnl-types.c:231:9:
error: (near initialization for 'rtnl_link_types')

/var/tmp/paludis/build/sys-apps-systemd-213-r1/work/systemd-213/src/libsystemd/sd-rtnl/rtnl-types.c:231:9:
warning: excess elements in array initializer [enabled by default]

/var/tmp/paludis/build/sys-apps-systemd-213-r1/work/systemd-213/src/libsystemd/sd-rtnl/rtnl-types.c:231:9:
warning: (near initialization for 'rtnl_link_types') [enabled by default]

make[2]: ***
[src/libsystemd/sd-rtnl/libsystemd_internal_la-rtnl-types.lo] Error 1

- -- 
Best regards, Wulf

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlOIWAcACgkQnuVXRcSi+5orSQCfbiPrFGwzpPwXW38U7BzHwp/r
rDkAoKEE2X47VPKfK2W1KD9hM58RvBed
=W2ca
-----END PGP SIGNATURE-----


More information about the systemd-devel mailing list