StefanKaerst - 2013-10-16

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:

ls -ld /usr/src/linux
lrwxrwxrwx 1 root root 17 Jun 23 08:16 /usr/src/linux -> linux-3.7.10-1.16

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