[CentOS] Can't build Keepalived 1.2.1 on CentOS-4

Santi Saez santisaez at woop.es
Wed May 18 12:28:19 UTC 2011


Hello,

I get this error when trying to build Keepalived 1.2.1 on a CentOS-4 box:

# gcc -g -O2 (..) -D_WITH_LVS_ -D_WITH_VRRP_ -c smtp.c
In file included from ../include/vrrp.h:31,
                   from ../include/smtp.h:34,
                   from smtp.c:27:
*../include/vrrp_ipaddress.h:32:27: linux/if_addr.h: No such file or directory*
In file included from ../include/vrrp.h:31,
                   from ../include/smtp.h:34,
                   from smtp.c:27:

In a CentOS-5 box 'linux/if_addr.h' file is owned by "kernel-headers" package and I can build Keepalived 1.2.1 without problems, but in CentOS-4 there is no such file, how can I solve this? thanks!

Regards,

--
Santi Saez
http://powerstack.org/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20110518/282a7a60/attachment.html>


More information about the CentOS mailing list