keepalived version 1.1.7 (and probably others) requires
kernel sources (ipvsadm support) in /usr/src/linux and
not ANY directory, where current kernel source lies.
workaround is to create symbolic link, but it's
ANNOYING and hard to guess the problem
2013 now :) and I still see this problem.
most linux distros create a symlink /usr/src/linux to /usr/src/linux-x.y.z like:
but even keepalived 1.2.8 refuses to compile on my openSUSE 12.3 !
I have to run ./configure --with-kernel-dir /usr/src/linux-3.7.10-1.16/
otherwise "make" ends up with:
..
/usr/src/linux/include/linux/linkage.h:5:25: fatal error: asm/linkage.h: No such file or directory
btw: --with-kernel-dir <directory> NOT --with-kernel-dir=<directory> like ./configure --help tells me!
unbelievable! (looks like this project needs some serious help)
Regards
Last edit: StefanKaerst 2013-10-16