alpha-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../lib -I/usr/include -I/usr/include/libnl3 -I./../include -I./../../lib -I/usr/include -Wall -Wunused -Wstrict-prototypes -D_GNU_SOURCE -c -o vrrp_ip_rule_route_parser.o vrrp_ip_rule_route_parser.c alpha-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../lib -I/usr/include -I/usr/include/libnl3 -I./../include -I./../../lib -I/usr/include -Wall -Wunused -Wstrict-prototypes -D_GNU_SOURCE -c -o vrrp_iptables.o vrrp_iptables.c alpha-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../lib -I/usr/include -I/usr/include/libnl3 -I./../include -I./../../lib -I/usr/include -Wall -Wunused -Wstrict-prototypes -D_GNU_SOURCE -c -o vrrp_iptables_calls.o vrrp_iptables_calls.c vrrp_iproute.c:42:33: fatal error: linux/mpls_iptunnel.h: No such file or directory #include <linux/mpls_iptunnel.h> ^ compilation terminated. Makefile:392: recipe for target 'vrrp_iproute.o' failed make[2]: *** [vrrp_iproute.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/var/tmp/portage/sys-cluster/keepalived-1.2.24/work/keepalived-1.2.24/keepalived/vrrp' Makefile:561: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/sys-cluster/keepalived-1.2.24/work/keepalived-1.2.24/keepalived' Makefile:359: recipe for target 'all-recursive' failed And indeed, current stable linux-headers (4.3) does not have mpls_iptunnel.h.
Looks like 4.4 is enough, which in the meantime has been stabilized on all relevant archs. Please fix the dep, though.