error: ‘IFA_F_NODAD’ undeclared (first use in this function)

安装keepalived11.2.9 出现这个错误。

vrrp_ipaddress.c: In function ‘netlink_ipaddress’:
vrrp_ipaddress.c:79: error: ‘IFA_F_NODAD’ undeclared (first use in this function)
vrrp_ipaddress.c:79: error: (Each undeclared identifier is reported only once
vrrp_ipaddress.c:79: error: for each function it appears in.)
make[2]: *** [vrrp_ipaddress.o] Error 1

换1.2.8就没有这个问题了。

如果不用1.2.9的新特性的话就考虑一下用1.2.8。

error: ‘IFA_F_NODAD’ undeclared (first use in this function)

 

发表评论

电子邮件地址不会被公开。 必填项已用 * 标注

您可以使用这些 HTML 标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>