>>> keepalived 2.0.10 Extracting gzip -d -c /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/dl/keepalived/keepalived-2.0.10.tar.gz | /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/tar --strip-components=1 -C /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/build/keepalived-2.0.10 -xf - >>> keepalived 2.0.10 Patching Applying 0001-Rename-TIMER_MAX-to-TIMER_MAXIMUM.patch using patch: patching file lib/parser.c patching file lib/parser.h >>> keepalived 2.0.10 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/build/keepalived-2.0.10 -name $file); do cp support/gnuconfig/$file $i; done; done >>> keepalived 2.0.10 Patching libtool >>> keepalived 2.0.10 Configuring (cd /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/build/keepalived-2.0.10/ && rm -rf config.cache && PATH="/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin:/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/sbin:/accts/mlweber1/bin:/accts/mlweber1/libexec/git-core:/accts/mlweber1/usr/bin:/accts/mlweber1/usr/local/bin:/usr/bin:/bin" AR="/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/nios2-linux-gnu-ar" AS="/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/nios2-linux-gnu-as" LD="/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/nios2-linux-gnu-ld" NM="/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/nios2-linux-gnu-nm" CC="/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/nios2-linux-gnu-gcc" GCC="/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/nios2-linux-gnu-gcc" CPP="/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/nios2-linux-gnu-cpp" CXX="/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/nios2-linux-gnu-g++" FC="/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/nios2-linux-gnu-gfortran" F77="/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/nios2-linux-gnu-gfortran" RANLIB="/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/nios2-linux-gnu-ranlib" READELF="/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/nios2-linux-gnu-readelf" STRIP="/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/nios2-linux-gnu-strip" OBJCOPY="/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/nios2-linux-gnu-objcopy" OBJDUMP="/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/nios2-linux-gnu-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/include" CFLAGS_FOR_BUILD="-O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/include" LDFLAGS_FOR_BUILD="-L/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/lib -Wl,-rpath,/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/nios2-linux-gnu-as" DEFAULT_LINKER="/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/nios2-linux-gnu-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os " LDFLAGS="" FCFLAGS=" -Os " FFLAGS=" -Os " PKG_CONFIG="/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/pkg-config" STAGING_DIR="/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot" INTLTOOL_PERL=/usr/bin/perl ac_cv_lbl_unaligned_fail=yes ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_memcmp_working=yes ac_cv_have_decl_malloc=yes gl_cv_func_malloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_calloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes lt_cv_sys_lib_search_path_spec="" ac_cv_c_bigendian=no CONFIG_SITE=/dev/null ./configure --target=nios2-buildroot-linux-gnu --host=nios2-buildroot-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix="" --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --disable-static --enable-shared --disable-hardening --disable-json --enable-dbus --enable-libnl --disable-libipset --disable-libiptc ) configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --disable-nls, --disable-static, --enable-shared checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for nios2-buildroot-linux-gnu-strip... /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/nios2-linux-gnu-strip checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking pkg-config is at least version 0.9.0... yes checking for nios2-buildroot-linux-gnu-gcc... /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/nios2-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... yes checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/nios2-linux-gnu-gcc accepts -g... yes checking for /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/nios2-linux-gnu-gcc option to accept ISO C89... none needed checking whether /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/nios2-linux-gnu-gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/nios2-linux-gnu-gcc... none checking whether make sets $(MAKE)... (cached) yes checking for nios2-buildroot-linux-gnu-ranlib... /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/nios2-linux-gnu-ranlib checking for grep that handles long lines and -e... /usr/bin/grep checking whether ln -s works... yes checking for a sed that does not truncate output... /usr/bin/sed checking for nios2-buildroot-linux-gnu-strip... (cached) /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/nios2-linux-gnu-strip checking for nios2-buildroot-linux-gnu-ldd... no checking for ldd... ldd configure: WARNING: using cross tools not prefixed with host triplet checking for nios2-buildroot-linux-gnu-ar... /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/nios2-linux-gnu-ar checking the archiver (/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/nios2-linux-gnu-ar) interface... ar ./configure: line 5597: ]: command not found checking for -Wimplicit-fallthrough... yes checking for -O2 support... yes checking for clock_gettime() requires -lrt... no checking how to run the C preprocessor... /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/nios2-linux-gnu-cpp checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/prctl.h usability... yes checking sys/prctl.h presence... yes checking for sys/prctl.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking asm/types.h usability... yes checking asm/types.h presence... yes checking for asm/types.h... yes checking linux/ethtool.h usability... yes checking linux/ethtool.h presence... yes checking for linux/ethtool.h... yes checking linux/icmpv6.h usability... yes checking linux/icmpv6.h presence... yes checking for linux/icmpv6.h... yes checking linux/if_ether.h usability... yes checking linux/if_ether.h presence... yes checking for linux/if_ether.h... yes checking linux/if_packet.h usability... yes checking linux/if_packet.h presence... yes checking for linux/if_packet.h... yes checking linux/ip.h usability... yes checking linux/ip.h presence... yes checking for linux/ip.h... yes checking linux/sockios.h usability... yes checking linux/sockios.h presence... yes checking for linux/sockios.h... yes checking linux/types.h usability... yes checking linux/types.h presence... yes checking for linux/types.h... yes checking for linux/fib_rules.h... yes checking for linux/if_addr.h... yes checking for linux/if_link.h... yes checking for linux/if_arp.h... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for inline... inline checking for int64_t... yes checking for pid_t... yes checking for size_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for uint8_t... yes checking for an ANSI C-conforming const... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... cross configure: WARNING: result yes guessed because of cross compilation checking for working vfork... (cached) yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... (cached) yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... (cached) yes checking for dup2... yes checking for getcwd... yes checking for gettimeofday... yes checking for memmove... yes checking for memset... yes checking for select... yes checking for setenv... yes checking for socket... yes checking for strcasecmp... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strpbrk... yes checking for strstr... yes checking for strtol... yes checking for strtoul... yes checking for uname... yes checking for pipe2... yes checking for signalfd... yes checking for inotify_init1... yes checking for vsyslog... yes checking for epoll_create1... yes checking whether ETHERTYPE_IPV6 is declared... yes checking openssl/ssl.h usability... yes checking openssl/ssl.h presence... yes checking for openssl/ssl.h... yes checking openssl/err.h usability... yes checking openssl/err.h presence... yes checking for openssl/err.h... yes checking openssl/md5.h usability... yes checking openssl/md5.h presence... yes checking for openssl/md5.h... yes checking for MD5_Init in -lcrypto... yes checking for SSL_CTX_new in -lssl... yes checking SSL_set_tlsext_host_name() - may be a definition... yes checking for SSL_CTX_set_verify_depth... yes checking for SSL_set0_rbio... no checking for OPENSSL_init_crypto... no checking for TLS_method... no checking whether IPV4_DEVCONF_ARP_IGNORE is declared... yes checking whether IPV4_DEVCONF_ACCEPT_LOCAL is declared... yes checking whether IPV4_DEVCONF_RP_FILTER is declared... yes checking whether IPV4_DEVCONF_ARPFILTER is declared... yes checking for linux/rtnetlink.h... yes checking for nl_socket_alloc in -lnl-3... yes checking for genl_connect in -lnl-genl-3... yes checking netlink/netlink.h usability... yes checking netlink/netlink.h presence... yes checking for netlink/netlink.h... yes checking netlink/genl/ctrl.h usability... yes checking netlink/genl/ctrl.h presence... yes checking for netlink/genl/ctrl.h... yes checking netlink/genl/genl.h usability... yes checking netlink/genl/genl.h presence... yes checking for netlink/genl/genl.h... yes checking for magic_open in -lmagic... no checking whether RTA_ENCAP is declared... yes checking whether RTA_EXPIRES is declared... yes checking whether RTA_NEWDST is declared... yes checking whether RTA_PREF is declared... yes checking whether FRA_SUPPRESS_PREFIXLEN is declared... yes checking whether FRA_SUPPRESS_IFGROUP is declared... yes checking whether FRA_TUN_ID is declared... yes checking whether RTAX_CC_ALGO is declared... yes checking whether RTAX_QUICKACK is declared... yes checking whether RTEXT_FILTER_SKIP_STATS is declared... yes checking whether FRA_L3MDEV is declared... yes checking whether FRA_UID_RANGE is declared... yes checking whether RTAX_FASTOPEN_NO_COOKIE is declared... yes checking whether RTA_VIA is declared... yes checking whether FRA_OIFNAME is declared... yes checking whether FRA_PROTOCOL is declared... no checking whether FRA_IP_PROTO is declared... no checking whether FRA_SPORT_RANGE is declared... no checking whether FRA_DPORT_RANGE is declared... no checking whether RTA_TTL_PROPAGATE is declared... yes checking whether IFA_FLAGS is declared... yes checking whether IP_MULTICAST_ALL is declared... yes checking whether LWTUNNEL_ENCAP_MPLS is declared... yes checking whether LWTUNNEL_ENCAP_ILA is declared... yes checking for linux/if.h and net/if.h namespace collision... no checking for linux/if_ether.h then netinet/if_ether.h namespace collision... no checking for libiptc/libiptc.h linux/if.h and net/if.h namespace collision... yes checking linux/ip_vs.h usability... yes checking linux/ip_vs.h presence... yes checking for linux/ip_vs.h... yes checking whether IP_VS_SVC_F_ONEPACKET is declared... yes checking whether IPVS_DEST_ATTR_ADDR_FAMILY is declared... yes checking whether IPVS_DAEMON_ATTR_SYNC_MAXLEN is declared... yes checking whether IPVS_DAEMON_ATTR_MCAST_GROUP is declared... yes checking whether IPVS_DAEMON_ATTR_MCAST_GROUP6 is declared... yes checking whether IPVS_DAEMON_ATTR_MCAST_PORT is declared... yes checking whether IPVS_DAEMON_ATTR_MCAST_TTL is declared... yes checking whether IPVS_SVC_ATTR_STATS64 is declared... yes checking whether IPVS_DEST_ATTR_STATS64 is declared... yes checking whether IFLA_MACVLAN_MODE is declared... yes checking whether MACVLAN_MODE_PRIVATE is declared... yes checking whether SOCK_NONBLOCK is declared... yes checking whether SOCK_CLOEXEC is declared... yes checking whether IPVS_SVC_ATTR_PE_NAME is declared... yes checking whether O_PATH is declared... yes checking whether GLOB_BRACE is declared... yes checking whether FRA_SRC is declared... yes checking whether IFLA_INET6_ADDR_GEN_MODE is declared... yes checking whether IFLA_VRF_MAX is declared... yes checking for g_bus_own_name in -lgio-2.0... yes configure: WARNING: Cannot determine if need to call g_type_init(). Assuming yes for safety. checking whether SO_MARK is declared... yes checking whether CLONE_NEWNET is declared... yes checking for setns... yes checking whether SCHED_RR is declared... yes checking whether RLIMIT_RTTIME is declared... yes checking whether SCHED_RESET_ON_FORK is declared... yes checking for sphinx-build... No ./configure: line 11589: test: =: unary operator expected checking for rpm... Yes checking for rpmbuild... Yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating keepalived/Makefile config.status: creating lib/Makefile config.status: creating keepalived/core/Makefile config.status: creating keepalived.spec config.status: creating genhash/Makefile config.status: creating keepalived/check/Makefile config.status: creating keepalived/vrrp/Makefile config.status: creating keepalived/bfd/Makefile config.status: creating doc/Makefile config.status: creating bin_install/Makefile config.status: creating keepalived/dbus/Makefile config.status: creating keepalived/etc/Makefile config.status: creating keepalived/etc/init/Makefile config.status: creating keepalived/etc/init.d/Makefile config.status: creating doc/man/man8/Makefile config.status: creating lib/config.h config.status: executing depfiles commands configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --disable-nls, --disable-static, --enable-shared Keepalived configuration ------------------------ Keepalived version : 2.0.10 Compiler : /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/nios2-linux-gnu-gcc Preprocessor flags : -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/../nios2-buildroot-linux-gnu/sysroot/usr/include/libnl3 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/../nios2-buildroot-linux-gnu/sysroot/usr/include/glib-2.0 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/../nios2-buildroot-linux-gnu/sysroot/usr/lib/glib-2.0/include -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/../nios2-buildroot-linux-gnu/sysroot/usr/include Compiler flags : -Wall -Wunused -Wstrict-prototypes -Wextra -Winit-self -g -D_GNU_SOURCE -Wimplicit-fallthrough=3 -O2 -pthread Linker flags : Extra Lib : -lcrypto -lssl -L/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/../nios2-buildroot-linux-gnu/sysroot/usr/lib -lnl-genl-3 -lnl-3 -lgio-2.0 -lgobject-2.0 -lglib-2.0 Use IPVS Framework : Yes IPVS use libnl : Yes IPVS syncd attributes : Yes IPVS 64 bit stats : Yes HTTP_GET regex support : No fwmark socket support : Yes Use VRRP Framework : Yes Use VRRP VMAC : Yes Use VRRP authentication : Yes With ip rules/routes : Yes Use BFD Framework : No SNMP vrrp support : No SNMP checker support : No SNMP RFCv2 support : No SNMP RFCv3 support : No DBUS support : Yes DBUS create instance : No SHA1 support : No Use Json output : No libnl version : 3 Use IPv4 devconf : Yes Use libiptc : No Use libipset : No init type : systemd Strict config checks : No Build genhash : Yes Build documentation : No >>> keepalived 2.0.10 Building PATH="/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin:/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/sbin:/accts/mlweber1/bin:/accts/mlweber1/libexec/git-core:/accts/mlweber1/usr/bin:/accts/mlweber1/usr/local/bin:/usr/bin:/bin" /usr/bin/make -j8 -C /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/build/keepalived-2.0.10/ make[1]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/build/keepalived-2.0.10' Making all in lib make[2]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/build/keepalived-2.0.10/lib' /usr/bin/make all-am make[3]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/build/keepalived-2.0.10/lib' CC memory.o CC utils.o CC notify.o CC timer.o CC scheduler.o CC vector.o CC list.o CC html.o timer.c: In function 'timer_add_long': timer.c:57:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (a.tv_usec >= TIMER_HZ) { ^~ timer.c: In function 'monotonic_gettimeofday': timer.c:139:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (cur_time.tv_nsec > NSEC_PER_SEC) { ^ CC parser.o CC signals.o CC logger.o CC assert.o utils.c: In function 'fopen_safe': utils.c:792:6: warning: unused variable 'flags' [-Wunused-variable] int flags = O_NOFOLLOW | O_CREAT | O_CLOEXEC; ^~~~~ CC list_head.o CC rbtree.o CC process.o CC rttables.o AR liblib.a make[3]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/build/keepalived-2.0.10/lib' make[2]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/build/keepalived-2.0.10/lib' Making all in keepalived make[2]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/build/keepalived-2.0.10/keepalived' Making all in core make[3]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/build/keepalived-2.0.10/keepalived/core' CC pidfile.o CC main.o CC layer4.o CC global_parser.o CC daemon.o CC smtp.o CC global_data.o CC keepalived_netlink.o CC namespaces.o global_data.c: In function 'dump_global_data': global_data.c:503:43: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'rlim_t {aka long long unsigned int}' [-Wformat=] conf_write(fp, " VRRP realtime limit = %lu", data->vrrp_rlimit_rt); ~~^ ~~~~~~~~~~~~~~~~~~~~ %llu global_data.c:513:46: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'rlim_t {aka long long unsigned int}' [-Wformat=] conf_write(fp, " Checker realtime limit = %lu", data->checker_rlimit_rt); ~~^ ~~~~~~~~~~~~~~~~~~~~~~~ %llu global_data.c:570:35: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t {aka unsigned int}' [-Wformat=] sprintf(buf, " rx_bufs_size = %lu", global_data->vrrp_rx_bufs_size); ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %u AR libcore.a make[3]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/build/keepalived-2.0.10/keepalived/core' Making all in vrrp make[3]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/build/keepalived-2.0.10/keepalived/vrrp' CC vrrp_daemon.o CC vrrp_parser.o CC vrrp_data.o CC vrrp_print.o CC vrrp_scheduler.o CC vrrp.o CC vrrp_sync.o CC vrrp_notify.o In file included from ./../include/vrrp.h:32:0, from ./../include/vrrp_arp.h:31, from vrrp.c:45: /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/if.h:82:2: error: redeclaration of enumerator 'IFF_UP' IFF_UP = 1<<0, /* sysfs */ ^ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/net/if.h:44:5: note: previous definition of 'IFF_UP' was here IFF_UP = 0x1, /* Interface is up. */ ^~~~~~ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/if.h:83:2: error: redeclaration of enumerator 'IFF_BROADCAST' IFF_BROADCAST = 1<<1, /* __volatile__ */ ^ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/net/if.h:46:5: note: previous definition of 'IFF_BROADCAST' was here IFF_BROADCAST = 0x2, /* Broadcast address valid. */ ^~~~~~~~~~~~~ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/if.h:84:2: error: redeclaration of enumerator 'IFF_DEBUG' IFF_DEBUG = 1<<2, /* sysfs */ ^ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/net/if.h:48:5: note: previous definition of 'IFF_DEBUG' was here IFF_DEBUG = 0x4, /* Turn on debugging. */ ^~~~~~~~~ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/if.h:85:2: error: redeclaration of enumerator 'IFF_LOOPBACK' IFF_LOOPBACK = 1<<3, /* __volatile__ */ ^ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/net/if.h:50:5: note: previous definition of 'IFF_LOOPBACK' was here IFF_LOOPBACK = 0x8, /* Is a loopback net. */ ^~~~~~~~~~~~ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/if.h:86:2: error: redeclaration of enumerator 'IFF_POINTOPOINT' IFF_POINTOPOINT = 1<<4, /* __volatile__ */ ^ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/net/if.h:52:5: note: previous definition of 'IFF_POINTOPOINT' was here IFF_POINTOPOINT = 0x10, /* Interface is point-to-point link. */ ^~~~~~~~~~~~~~~ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/if.h:87:2: error: redeclaration of enumerator 'IFF_NOTRAILERS' IFF_NOTRAILERS = 1<<5, /* sysfs */ ^ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/net/if.h:54:5: note: previous definition of 'IFF_NOTRAILERS' was here IFF_NOTRAILERS = 0x20, /* Avoid use of trailers. */ ^~~~~~~~~~~~~~ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/if.h:88:2: error: redeclaration of enumerator 'IFF_RUNNING' IFF_RUNNING = 1<<6, /* __volatile__ */ ^ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/net/if.h:56:5: note: previous definition of 'IFF_RUNNING' was here IFF_RUNNING = 0x40, /* Resources allocated. */ ^~~~~~~~~~~ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/if.h:89:2: error: redeclaration of enumerator 'IFF_NOARP' IFF_NOARP = 1<<7, /* sysfs */ ^ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/net/if.h:58:5: note: previous definition of 'IFF_NOARP' was here IFF_NOARP = 0x80, /* No address resolution protocol. */ ^~~~~~~~~ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/if.h:90:2: error: redeclaration of enumerator 'IFF_PROMISC' IFF_PROMISC = 1<<8, /* sysfs */ ^ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/net/if.h:60:5: note: previous definition of 'IFF_PROMISC' was here IFF_PROMISC = 0x100, /* Receive all packets. */ ^~~~~~~~~~~ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/if.h:91:2: error: redeclaration of enumerator 'IFF_ALLMULTI' IFF_ALLMULTI = 1<<9, /* sysfs */ ^ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/net/if.h:64:5: note: previous definition of 'IFF_ALLMULTI' was here IFF_ALLMULTI = 0x200, /* Receive all multicast packets. */ ^~~~~~~~~~~~ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/if.h:92:2: error: redeclaration of enumerator 'IFF_MASTER' IFF_MASTER = 1<<10, /* __volatile__ */ ^ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/net/if.h:67:5: note: previous definition of 'IFF_MASTER' was here IFF_MASTER = 0x400, /* Master of a load balancer. */ ^~~~~~~~~~ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/if.h:93:2: error: redeclaration of enumerator 'IFF_SLAVE' IFF_SLAVE = 1<<11, /* __volatile__ */ ^ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/net/if.h:69:5: note: previous definition of 'IFF_SLAVE' was here IFF_SLAVE = 0x800, /* Slave of a load balancer. */ ^~~~~~~~~ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/if.h:94:2: error: redeclaration of enumerator 'IFF_MULTICAST' IFF_MULTICAST = 1<<12, /* sysfs */ ^ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/net/if.h:72:5: note: previous definition of 'IFF_MULTICAST' was here IFF_MULTICAST = 0x1000, /* Supports multicast. */ ^~~~~~~~~~~~~ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/if.h:95:2: error: redeclaration of enumerator 'IFF_PORTSEL' IFF_PORTSEL = 1<<13, /* sysfs */ ^ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/net/if.h:75:5: note: previous definition of 'IFF_PORTSEL' was here IFF_PORTSEL = 0x2000, /* Can set media type. */ ^~~~~~~~~~~ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/if.h:96:2: error: redeclaration of enumerator 'IFF_AUTOMEDIA' IFF_AUTOMEDIA = 1<<14, /* sysfs */ ^ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/net/if.h:77:5: note: previous definition of 'IFF_AUTOMEDIA' was here IFF_AUTOMEDIA = 0x4000, /* Auto media select active. */ ^~~~~~~~~~~~~ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/if.h:97:2: error: redeclaration of enumerator 'IFF_DYNAMIC' IFF_DYNAMIC = 1<<15, /* sysfs */ ^ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/net/if.h:79:5: note: previous definition of 'IFF_DYNAMIC' was here IFF_DYNAMIC = 0x8000 /* Dialup device with changing addresses. */ ^~~~~~~~~~~ In file included from /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/netdevice.h:29:0, from ./../include/vrrp_if.h:39, from ./../include/vrrp.h:45, from ./../include/vrrp_arp.h:31, from vrrp.c:45: /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/if.h:192:8: error: redefinition of 'struct ifmap' struct ifmap { ^~~~~ In file included from ./../include/vrrp.h:32:0, from ./../include/vrrp_arp.h:31, from vrrp.c:45: /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/net/if.h:111:8: note: originally defined here struct ifmap ^~~~~ In file included from /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/netdevice.h:29:0, from ./../include/vrrp_if.h:39, from ./../include/vrrp.h:45, from ./../include/vrrp_arp.h:31, from vrrp.c:45: /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/if.h:229:8: error: redefinition of 'struct ifreq' struct ifreq { ^~~~~ In file included from ./../include/vrrp.h:32:0, from ./../include/vrrp_arp.h:31, from vrrp.c:45: /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/net/if.h:126:8: note: originally defined here struct ifreq ^~~~~ In file included from /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/netdevice.h:29:0, from ./../include/vrrp_if.h:39, from ./../include/vrrp.h:45, from ./../include/vrrp_arp.h:31, from vrrp.c:45: /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/if.h:281:8: error: redefinition of 'struct ifconf' struct ifconf { ^~~~~~ In file included from ./../include/vrrp.h:32:0, from ./../include/vrrp_arp.h:31, from vrrp.c:45: /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/net/if.h:176:8: note: originally defined here struct ifconf ^~~~~~ CC vrrp_arp.o CC vrrp_if.o In file included from ./../include/vrrp.h:32:0, from ./../include/vrrp_scheduler.h:35, from vrrp_arp.c:36: /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/if.h:82:2: error: redeclaration of enumerator 'IFF_UP' IFF_UP = 1<<0, /* sysfs */ ^ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/net/if.h:44:5: note: previous definition of 'IFF_UP' was here IFF_UP = 0x1, /* Interface is up. */ ^~~~~~ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/if.h:83:2: error: redeclaration of enumerator 'IFF_BROADCAST' IFF_BROADCAST = 1<<1, /* __volatile__ */ ^ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/net/if.h:46:5: note: previous definition of 'IFF_BROADCAST' was here IFF_BROADCAST = 0x2, /* Broadcast address valid. */ ^~~~~~~~~~~~~ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/if.h:84:2: error: redeclaration of enumerator 'IFF_DEBUG' IFF_DEBUG = 1<<2, /* sysfs */ ^ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/net/if.h:48:5: note: previous definition of 'IFF_DEBUG' was here IFF_DEBUG = 0x4, /* Turn on debugging. */ ^~~~~~~~~ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/if.h:85:2: error: redeclaration of enumerator 'IFF_LOOPBACK' IFF_LOOPBACK = 1<<3, /* __volatile__ */ ^ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/net/if.h:50:5: note: previous definition of 'IFF_LOOPBACK' was here IFF_LOOPBACK = 0x8, /* Is a loopback net. */ ^~~~~~~~~~~~ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/if.h:86:2: error: redeclaration of enumerator 'IFF_POINTOPOINT' IFF_POINTOPOINT = 1<<4, /* __volatile__ */ ^ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/net/if.h:52:5: note: previous definition of 'IFF_POINTOPOINT' was here IFF_POINTOPOINT = 0x10, /* Interface is point-to-point link. */ ^~~~~~~~~~~~~~~ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/if.h:87:2: error: redeclaration of enumerator 'IFF_NOTRAILERS' IFF_NOTRAILERS = 1<<5, /* sysfs */ ^ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/net/if.h:54:5: note: previous definition of 'IFF_NOTRAILERS' was here IFF_NOTRAILERS = 0x20, /* Avoid use of trailers. */ ^~~~~~~~~~~~~~ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/if.h:88:2: error: redeclaration of enumerator 'IFF_RUNNING' IFF_RUNNING = 1<<6, /* __volatile__ */ ^ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/net/if.h:56:5: note: previous definition of 'IFF_RUNNING' was here IFF_RUNNING = 0x40, /* Resources allocated. */ ^~~~~~~~~~~ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/if.h:89:2: error: redeclaration of enumerator 'IFF_NOARP' IFF_NOARP = 1<<7, /* sysfs */ ^ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/net/if.h:58:5: note: previous definition of 'IFF_NOARP' was here IFF_NOARP = 0x80, /* No address resolution protocol. */ ^~~~~~~~~ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/if.h:90:2: error: redeclaration of enumerator 'IFF_PROMISC' IFF_PROMISC = 1<<8, /* sysfs */ ^ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/net/if.h:60:5: note: previous definition of 'IFF_PROMISC' was here IFF_PROMISC = 0x100, /* Receive all packets. */ ^~~~~~~~~~~ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/if.h:91:2: error: redeclaration of enumerator 'IFF_ALLMULTI' IFF_ALLMULTI = 1<<9, /* sysfs */ ^ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/net/if.h:64:5: note: previous definition of 'IFF_ALLMULTI' was here IFF_ALLMULTI = 0x200, /* Receive all multicast packets. */ ^~~~~~~~~~~~ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/if.h:92:2: error: redeclaration of enumerator 'IFF_MASTER' IFF_MASTER = 1<<10, /* __volatile__ */ ^ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/net/if.h:67:5: note: previous definition of 'IFF_MASTER' was here IFF_MASTER = 0x400, /* Master of a load balancer. */ ^~~~~~~~~~ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/if.h:93:2: error: redeclaration of enumerator 'IFF_SLAVE' IFF_SLAVE = 1<<11, /* __volatile__ */ ^ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/net/if.h:69:5: note: previous definition of 'IFF_SLAVE' was here IFF_SLAVE = 0x800, /* Slave of a load balancer. */ ^~~~~~~~~ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/if.h:94:2: error: redeclaration of enumerator 'IFF_MULTICAST' IFF_MULTICAST = 1<<12, /* sysfs */ ^ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/net/if.h:72:5: note: previous definition of 'IFF_MULTICAST' was here IFF_MULTICAST = 0x1000, /* Supports multicast. */ ^~~~~~~~~~~~~ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/if.h:95:2: error: redeclaration of enumerator 'IFF_PORTSEL' IFF_PORTSEL = 1<<13, /* sysfs */ ^ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/net/if.h:75:5: note: previous definition of 'IFF_PORTSEL' was here IFF_PORTSEL = 0x2000, /* Can set media type. */ ^~~~~~~~~~~ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/if.h:96:2: error: redeclaration of enumerator 'IFF_AUTOMEDIA' IFF_AUTOMEDIA = 1<<14, /* sysfs */ ^ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/net/if.h:77:5: note: previous definition of 'IFF_AUTOMEDIA' was here IFF_AUTOMEDIA = 0x4000, /* Auto media select active. */ ^~~~~~~~~~~~~ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/if.h:97:2: error: redeclaration of enumerator 'IFF_DYNAMIC' IFF_DYNAMIC = 1<<15, /* sysfs */ ^ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/net/if.h:79:5: note: previous definition of 'IFF_DYNAMIC' was here IFF_DYNAMIC = 0x8000 /* Dialup device with changing addresses. */ ^~~~~~~~~~~ In file included from /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/netdevice.h:29:0, from ./../include/vrrp_if.h:39, from ./../include/vrrp.h:45, from ./../include/vrrp_scheduler.h:35, from vrrp_arp.c:36: /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/if.h:192:8: error: redefinition of 'struct ifmap' struct ifmap { ^~~~~ In file included from ./../include/vrrp.h:32:0, from ./../include/vrrp_scheduler.h:35, from vrrp_arp.c:36: /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/net/if.h:111:8: note: originally defined here struct ifmap ^~~~~ In file included from /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/netdevice.h:29:0, from ./../include/vrrp_if.h:39, from ./../include/vrrp.h:45, from ./../include/vrrp_scheduler.h:35, from vrrp_arp.c:36: /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/if.h:229:8: error: redefinition of 'struct ifreq' struct ifreq { ^~~~~ In file included from ./../include/vrrp.h:32:0, from ./../include/vrrp_scheduler.h:35, from vrrp_arp.c:36: /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/net/if.h:126:8: note: originally defined here struct ifreq ^~~~~ In file included from /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/netdevice.h:29:0, from ./../include/vrrp_if.h:39, from ./../include/vrrp.h:45, from ./../include/vrrp_scheduler.h:35, from vrrp_arp.c:36: /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/if.h:281:8: error: redefinition of 'struct ifconf' struct ifconf { ^~~~~~ In file included from ./../include/vrrp.h:32:0, from ./../include/vrrp_scheduler.h:35, from vrrp_arp.c:36: /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/net/if.h:176:8: note: originally defined here struct ifconf ^~~~~~ make[3]: *** [vrrp_arp.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: *** [vrrp.o] Error 1 vrrp_data.c: In function 'dump_vrrp': vrrp_data.c:466:48: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t {aka unsigned int}' [-Wformat=] conf_write(fp, " Kernel rx buffer size = %lu", vrrp->kernel_rx_buf_size); ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~ %u In file included from ./../include/vrrp_if.h:34:0, from ./../include/global_data.h:47, from vrrp_if.c:53: /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/if.h:82:2: error: redeclaration of enumerator 'IFF_UP' IFF_UP = 1<<0, /* sysfs */ ^ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/net/if.h:44:5: note: previous definition of 'IFF_UP' was here IFF_UP = 0x1, /* Interface is up. */ ^~~~~~ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/if.h:83:2: error: redeclaration of enumerator 'IFF_BROADCAST' IFF_BROADCAST = 1<<1, /* __volatile__ */ ^ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/net/if.h:46:5: note: previous definition of 'IFF_BROADCAST' was here IFF_BROADCAST = 0x2, /* Broadcast address valid. */ ^~~~~~~~~~~~~ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/if.h:84:2: error: redeclaration of enumerator 'IFF_DEBUG' IFF_DEBUG = 1<<2, /* sysfs */ ^ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/net/if.h:48:5: note: previous definition of 'IFF_DEBUG' was here IFF_DEBUG = 0x4, /* Turn on debugging. */ ^~~~~~~~~ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/if.h:85:2: error: redeclaration of enumerator 'IFF_LOOPBACK' IFF_LOOPBACK = 1<<3, /* __volatile__ */ ^ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/net/if.h:50:5: note: previous definition of 'IFF_LOOPBACK' was here IFF_LOOPBACK = 0x8, /* Is a loopback net. */ ^~~~~~~~~~~~ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/if.h:86:2: error: redeclaration of enumerator 'IFF_POINTOPOINT' IFF_POINTOPOINT = 1<<4, /* __volatile__ */ ^ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/net/if.h:52:5: note: previous definition of 'IFF_POINTOPOINT' was here IFF_POINTOPOINT = 0x10, /* Interface is point-to-point link. */ ^~~~~~~~~~~~~~~ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/if.h:87:2: error: redeclaration of enumerator 'IFF_NOTRAILERS' IFF_NOTRAILERS = 1<<5, /* sysfs */ ^ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/net/if.h:54:5: note: previous definition of 'IFF_NOTRAILERS' was here IFF_NOTRAILERS = 0x20, /* Avoid use of trailers. */ ^~~~~~~~~~~~~~ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/if.h:88:2: error: redeclaration of enumerator 'IFF_RUNNING' IFF_RUNNING = 1<<6, /* __volatile__ */ ^ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/net/if.h:56:5: note: previous definition of 'IFF_RUNNING' was here IFF_RUNNING = 0x40, /* Resources allocated. */ ^~~~~~~~~~~ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/if.h:89:2: error: redeclaration of enumerator 'IFF_NOARP' IFF_NOARP = 1<<7, /* sysfs */ ^ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/net/if.h:58:5: note: previous definition of 'IFF_NOARP' was here IFF_NOARP = 0x80, /* No address resolution protocol. */ ^~~~~~~~~ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/if.h:90:2: error: redeclaration of enumerator 'IFF_PROMISC' IFF_PROMISC = 1<<8, /* sysfs */ ^ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/net/if.h:60:5: note: previous definition of 'IFF_PROMISC' was here IFF_PROMISC = 0x100, /* Receive all packets. */ ^~~~~~~~~~~ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/if.h:91:2: error: redeclaration of enumerator 'IFF_ALLMULTI' IFF_ALLMULTI = 1<<9, /* sysfs */ ^ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/net/if.h:64:5: note: previous definition of 'IFF_ALLMULTI' was here IFF_ALLMULTI = 0x200, /* Receive all multicast packets. */ ^~~~~~~~~~~~ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/if.h:92:2: error: redeclaration of enumerator 'IFF_MASTER' IFF_MASTER = 1<<10, /* __volatile__ */ ^ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/net/if.h:67:5: note: previous definition of 'IFF_MASTER' was here IFF_MASTER = 0x400, /* Master of a load balancer. */ ^~~~~~~~~~ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/if.h:93:2: error: redeclaration of enumerator 'IFF_SLAVE' IFF_SLAVE = 1<<11, /* __volatile__ */ ^ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/net/if.h:69:5: note: previous definition of 'IFF_SLAVE' was here IFF_SLAVE = 0x800, /* Slave of a load balancer. */ ^~~~~~~~~ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/if.h:94:2: error: redeclaration of enumerator 'IFF_MULTICAST' IFF_MULTICAST = 1<<12, /* sysfs */ ^ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/net/if.h:72:5: note: previous definition of 'IFF_MULTICAST' was here IFF_MULTICAST = 0x1000, /* Supports multicast. */ ^~~~~~~~~~~~~ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/if.h:95:2: error: redeclaration of enumerator 'IFF_PORTSEL' IFF_PORTSEL = 1<<13, /* sysfs */ ^ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/net/if.h:75:5: note: previous definition of 'IFF_PORTSEL' was here IFF_PORTSEL = 0x2000, /* Can set media type. */ ^~~~~~~~~~~ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/if.h:96:2: error: redeclaration of enumerator 'IFF_AUTOMEDIA' IFF_AUTOMEDIA = 1<<14, /* sysfs */ ^ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/net/if.h:77:5: note: previous definition of 'IFF_AUTOMEDIA' was here IFF_AUTOMEDIA = 0x4000, /* Auto media select active. */ ^~~~~~~~~~~~~ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/if.h:97:2: error: redeclaration of enumerator 'IFF_DYNAMIC' IFF_DYNAMIC = 1<<15, /* sysfs */ ^ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/net/if.h:79:5: note: previous definition of 'IFF_DYNAMIC' was here IFF_DYNAMIC = 0x8000 /* Dialup device with changing addresses. */ ^~~~~~~~~~~ In file included from /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/netdevice.h:29:0, from ./../include/vrrp_if.h:39, from ./../include/global_data.h:47, from vrrp_if.c:53: /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/if.h:192:8: error: redefinition of 'struct ifmap' struct ifmap { ^~~~~ In file included from ./../include/vrrp_if.h:34:0, from ./../include/global_data.h:47, from vrrp_if.c:53: /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/net/if.h:111:8: note: originally defined here struct ifmap ^~~~~ In file included from /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/netdevice.h:29:0, from ./../include/vrrp_if.h:39, from ./../include/global_data.h:47, from vrrp_if.c:53: /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/if.h:229:8: error: redefinition of 'struct ifreq' struct ifreq { ^~~~~ In file included from ./../include/vrrp_if.h:34:0, from ./../include/global_data.h:47, from vrrp_if.c:53: /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/net/if.h:126:8: note: originally defined here struct ifreq ^~~~~ In file included from /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/netdevice.h:29:0, from ./../include/vrrp_if.h:39, from ./../include/global_data.h:47, from vrrp_if.c:53: /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/linux/if.h:281:8: error: redefinition of 'struct ifconf' struct ifconf { ^~~~~~ In file included from ./../include/vrrp_if.h:34:0, from ./../include/global_data.h:47, from vrrp_if.c:53: /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/net/if.h:176:8: note: originally defined here struct ifconf ^~~~~~ make[3]: *** [vrrp_if.o] Error 1 make[3]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/build/keepalived-2.0.10/keepalived/vrrp' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/build/keepalived-2.0.10/keepalived' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/build/keepalived-2.0.10' make: *** [/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/build/keepalived-2.0.10/.stamp_built] Error 2 make: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/buildroot'