[systemd-devel] systemd-216 (and git) fails to compile with Linux 3.7 headers (error: 'IFF_MULTI_QUEUE' undeclared)

Samuli Suominen ssuominen at gentoo.org
Sun Aug 31 09:41:09 PDT 2014


Looks like src/shared/missing.h is missing IFF_MULTI_QUEUE

The relavent part of the build log, configured with --enable-networkd:
 
/bin/sh ./libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/tmp/portage/sys-apps/systemd-216/work/systemd-216  -include ./config.h -DPKGSYSCONFDIR=\"/etc/systemd\" -DSYSTEM_CONFIG_UNIT_PATH=\"/etc/systemd/system\" -DSYSTEM_DATA_UNIT_PATH=\"/lib/systemd/system\" -DSYSTEM_SYSVINIT_PATH=\"\" -DSYSTEM_SYSVRCND_PATH=\"\" -DUSER_CONFIG_UNIT_PATH=\"/etc/systemd/user\" -DUSER_DATA_UNIT_PATH=\"/usr/lib/systemd/user\" -DCERTIFICATE_ROOT=\"/etc/ssl\" -DCATALOG_DATABASE=\"/var/lib/systemd/catalog/database\" -DSYSTEMD_CGROUP_AGENT_PATH=\"/lib/systemd/systemd-cgroups-agent\" -DSYSTEMD_BINARY_PATH=\"/lib/systemd/systemd\" -DSYSTEMD_SHUTDOWN_BINARY_PATH=\"/lib/systemd/systemd-shutdown\" -DSYSTEMD_SLEEP_BINARY_PATH=\"/lib/systemd/systemd-sleep\" -DSYSTEMCTL_BINARY_PATH=\"/bin/systemctl\" -DSYSTEMD_TTY_ASK_PASSWORD_AGENT_BINARY_PATH=\"/bin/systemd-tty-ask-password-agent\" -DSYSTEMD_STDIO_BRIDGE_BINARY_PATH=\"/usr/bin/systemd-stdio-bridge\" -DROOTPREFIX=\"\" -DRANDOM_SEED_DIR=\"/var/lib/systemd/\" -DRANDOM_SEED=\"/var/lib/systemd/random-seed\" -DSYSTEMD_CRYPTSETUP_PATH=\"/lib/systemd/systemd-cryptsetup\" -DSYSTEM_GENERATOR_PATH=\"/lib/systemd/system-generators\" -DUSER_GENERATOR_PATH=\"/usr/lib/systemd/user-generators\" -DSYSTEM_SHUTDOWN_PATH=\"/lib/systemd/system-shutdown\" -DSYSTEM_SLEEP_PATH=\"/lib/systemd/system-sleep\" -DSYSTEMD_KBD_MODEL_MAP=\"/usr/share/systemd/kbd-model-map\" -DX_SERVER=\"/usr/bin/X\" -DUDEVLIBEXECDIR=\"/lib/udev\" -DPOLKIT_AGENT_BINARY_PATH=\"/usr/bin/pkttyagent\" -DQUOTACHECK=\"/usr/sbin/quotacheck\" -DKEXEC=\"/usr/sbin/kexec\" -DLIBDIR=\"/usr/lib64\" -DROOTLIBDIR=\"/lib64\" -DTEST_DIR=\"/tmp/portage/sys-apps/systemd-216/work/systemd-216/test\" -I /tmp/portage/sys-apps/systemd-216/work/systemd-216/src -I ./src/shared -I /tmp/portage/sys-apps/systemd-216/work/systemd-216/src/shared -I /tmp/portage/sys-apps/systemd-216/work/systemd-216/src/network -I /tmp/portage/sys-apps/systemd-216/work/systemd-216/src/login -I /tmp/portage/sys-apps/systemd-216/work/systemd-216/src/journal -I /tmp/portage/sys-apps/systemd-216/work/systemd-216/src/timedate -I /tmp/portage/sys-apps/systemd-216/work/systemd-216/src/timesync -I /tmp/portage/sys-apps/systemd-216/work/systemd-216/src/resolve -I ./src/resolve -I /tmp/portage/sys-apps/systemd-216/work/systemd-216/src/systemd -I ./src/core -I /tmp/portage/sys-apps/systemd-216/work/systemd-216/src/core -I /tmp/portage/sys-apps/systemd-216/work/systemd-216/src/libudev -I /tmp/portage/sys-apps/systemd-216/work/systemd-216/src/udev -I /tmp/portage/sys-apps/systemd-216/work/systemd-216/src/udev/net -I ./src/udev -I /tmp/portage/sys-apps/systemd-216/work/systemd-216/src/libsystemd/sd-bus -I /tmp/portage/sys-apps/systemd-216/work/systemd-216/src/libsystemd/sd-event -I /tmp/portage/sys-apps/systemd-216/work/systemd-216/src/libsystemd/sd-rtnl -I /tmp/portage/sys-apps/systemd-216/work/systemd-216/src/libsystemd/sd-network -I /tmp/portage/sys-apps/systemd-216/work/systemd-216/src/libsystemd-network -I /tmp/portage/sys-apps/systemd-216/work/systemd-216/src/libsystemd-terminal   -pipe -Wall -Wextra -Wno-inline -Wundef -Wformat=2 -Wformat-security -Wformat-nonliteral -Wlogical-op -Wsign-compare -Wmissing-include-dirs -Wold-style-definition -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wsuggest-attribute=noreturn -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wstrict-aliasing=2 -Wwrite-strings -Wno-long-long -Wno-overlength-strings -Wno-unused-parameter -Wno-missing-field-initializers -Wno-unused-result -Wno-typedef-redefinition -Werror=overflow -Wnested-externs -ffast-math -fno-common -fdiagnostics-show-option -fno-strict-aliasing -fvisibility=hidden -ffunction-sections -fdata-sections -fstack-protector -fPIE --param=ssp-buffer-size=4 -ffat-lto-objects   -O2 -pipe -march=native -frecord-gcc-switches -Wall -MT src/network/libsystemd_networkd_core_la-networkd-dhcp4.lo -MD -MP -MF src/network/.deps/libsystemd_networkd_core_la-networkd-dhcp4.Tpo -c -o src/network/libsystemd_networkd_core_la-networkd-dhcp4.lo `test -f 'src/network/networkd-dhcp4.c' || echo '/tmp/portage/sys-apps/systemd-216/work/systemd-216/'`src/network/networkd-dhcp4.c
/tmp/portage/sys-apps/systemd-216/work/systemd-216/src/network/networkd-netdev-tuntap.c: In function 'netdev_fill_tuntap_message':
/tmp/portage/sys-apps/systemd-216/work/systemd-216/src/network/networkd-netdev-tuntap.c:52:35: error: 'IFF_MULTI_QUEUE' undeclared (first use in this function)
                 ifr->ifr_flags |= IFF_MULTI_QUEUE;
                                   ^
/tmp/portage/sys-apps/systemd-216/work/systemd-216/src/network/networkd-netdev-tuntap.c:52:35: note: each undeclared identifier is reported only once for each function it appears in
/tmp/portage/sys-apps/systemd-216/work/systemd-216/src/network/networkd-netdev-tuntap.c: At top level:
cc1: warning: unrecognized command line option "-Wno-typedef-redefinition" [enabled by default]
Makefile:14182: recipe for target 'src/network/libsystemd_networkd_core_la-networkd-netdev-tuntap.lo' failed
make[2]: *** [src/network/libsystemd_networkd_core_la-networkd-netdev-tuntap.lo] Error 1
make[2]: *** Waiting for unfinished jobs....




More information about the systemd-devel mailing list