• dpvs keepalived编译出错


    keepalived_netlink.c: In function ‘parse_af_spec’:
    keepalived_netlink.c:1634:35: error: ‘IPV4_DEVCONF_ARP_IGNORE’ undeclared (first use in this function); did you mean ‘HAVE_DECL_IPV4_DEVCONF_ARP_IGNORE’?
        ifp->arp_ignore = inet_devconf[IPV4_DEVCONF_ARP_IGNORE - 1];
                                       ^~~~~~~~~~~~~~~~~~~~~~~
                                       HAVE_DECL_IPV4_DEVCONF_ARP_IGNORE
    keepalived_netlink.c:1634:35: note: each undeclared identifier is reported only once for each function it appears in
    keepalived_netlink.c:1635:35: error: ‘IPV4_DEVCONF_ARPFILTER’ undeclared (first use in this function); did you mean ‘IPV4_DEVCONF_ARP_IGNORE’?
        ifp->arp_filter = inet_devconf[IPV4_DEVCONF_ARPFILTER - 1];
                                       ^~~~~~~~~~~~~~~~~~~~~~
                                       IPV4_DEVCONF_ARP_IGNORE
    keepalived_netlink.c:1637:35: error: ‘IPV4_DEVCONF_RP_FILTER’ undeclared (first use in this function); did you mean ‘IPV4_DEVCONF_ARPFILTER’?
         ifp->rp_filter = inet_devconf[IPV4_DEVCONF_RP_FILTER - 1];
                                       ^~~~~~~~~~~~~~~~~~~~~~
                                       IPV4_DEVCONF_ARPFILTER
    keepalived_netlink.c:1639:44: error: ‘IPV4_DEVCONF_PROMOTE_SECONDARIES’ undeclared (first use in this function); did you mean ‘IPV4_DEVCONF_ARP_IGNORE’?
        ifp->promote_secondaries = inet_devconf[IPV4_DEVCONF_PROMOTE_SECONDARIES - 1];
                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                IPV4_DEVCONF_ARP_IGNORE

    https://github.com/pqarmitage/keepalived/commit/f7bb0c22127fd4ef3ccf67da150e11c39daba7c5

  • 相关阅读:
    Dubbo2.0
    Dubbo--RPC框架
    ActiveMQ消息队列
    quartz开源任务调度框架
    webService
    crud最常用
    springBoot第三天
    springmvc--依赖
    springBoot第二天
    pom.xml和settings.xml的下载优先级
  • 原文地址:https://www.cnblogs.com/dream397/p/13573325.html
Copyright © 2020-2023  润新知