Closed opsarno closed 1 week ago
Suggest to add version range
I think what you are asking for is rather difficult. nftables wasn't introduced into the kernel until 3.13 (see https://en.wikipedia.org/wiki/Nftables). However CentOS 7 uses kernel 3.10, and so nftables shouldn't be supported, but it appears that RedHat have backported nftables into their kernel 3.10. If we were to specify minimum versions we would say the minimum kernel for nftables support is 3.13, and yet the CentOS 3.10 kernel supports nftables (whether the backport has sufficient functionality to work with keepalived is another matter).
Our aim is to support all major distros and their versions that have not reached EOL. However this does not mean that we aim to support partially backported features, for example in the past features partially backported into the RHEL kernel have caused keepalived to fail to build, and specific tests have had to be included to cope with that in configure.ac.
The build problem you are experiencing was fixed by commit 73813f3 and the first version that was included in was v2.2.5. The problem is caused by the two alternatives for struct tcp and struct udp, and ensuring that the right one is used.
System Version
Install build packages
make err keepalived-2.2.8
make err keepalived-2.2.4
Until successfully compiled using keepalived-2.1.5 version.