checking for ld used by /home/buildroot/autobuild/run/instance-3/output/host/bin/arm-buildroot-linux-musleabihf-gcc... /home/buildroot/autobuild/run/instance-3/output/host/bin/arm-buildroot-linux-musleabihf-ld checking if the linker (/home/buildroot/autobuild/run/instance-3/output/host/bin/arm-buildroot-linux-musleabihf-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /home/buildroot/autobuild/run/instance-3/output/host/bin/arm-buildroot-linux-musleabihf-nm checking the name lister (/home/buildroot/autobuild/run/instance-3/output/host/bin/arm-buildroot-linux-musleabihf-nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 3458764513820540925 checking how to convert x86_64-pc-linux-gnu file names to arm-buildroot-linux-musleabihf format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /home/buildroot/autobuild/run/instance-3/output/host/bin/arm-buildroot-linux-musleabihf-ld option to reload object files... -r checking for arm-buildroot-linux-musleabihf-objdump... /home/buildroot/autobuild/run/instance-3/output/host/bin/arm-buildroot-linux-musleabihf-objdump checking how to recognize dependent libraries... pass_all checking for arm-buildroot-linux-musleabihf-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for arm-buildroot-linux-musleabihf-ar... /home/buildroot/autobuild/run/instance-3/output/host/bin/arm-buildroot-linux-musleabihf-ar checking for archiver @FILE support... @ checking for arm-buildroot-linux-musleabihf-strip... (cached) /home/buildroot/autobuild/run/instance-3/output/host/bin/arm-buildroot-linux-musleabihf-strip checking for arm-buildroot-linux-musleabihf-ranlib... /home/buildroot/autobuild/run/instance-3/output/host/bin/arm-buildroot-linux-musleabihf-ranlib checking command to parse /home/buildroot/autobuild/run/instance-3/output/host/bin/arm-buildroot-linux-musleabihf-nm output from /home/buildroot/autobuild/run/instance-3/output/host/bin/arm-buildroot-linux-musleabihf-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for arm-buildroot-linux-musleabihf-mt... no checking for mt... mt configure: WARNING: using cross tools not prefixed with host triplet checking if mt is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if /home/buildroot/autobuild/run/instance-3/output/host/bin/arm-buildroot-linux-musleabihf-gcc supports -fno-rtti -fno-exceptions... no checking for /home/buildroot/autobuild/run/instance-3/output/host/bin/arm-buildroot-linux-musleabihf-gcc option to produce PIC... -fPIC -DPIC checking if /home/buildroot/autobuild/run/instance-3/output/host/bin/arm-buildroot-linux-musleabihf-gcc PIC flag -fPIC -DPIC works... yes checking if /home/buildroot/autobuild/run/instance-3/output/host/bin/arm-buildroot-linux-musleabihf-gcc static flag -static works... yes checking if /home/buildroot/autobuild/run/instance-3/output/host/bin/arm-buildroot-linux-musleabihf-gcc supports -c -o file.o... yes checking if /home/buildroot/autobuild/run/instance-3/output/host/bin/arm-buildroot-linux-musleabihf-gcc supports -c -o file.o... (cached) yes checking whether the /home/buildroot/autobuild/run/instance-3/output/host/bin/arm-buildroot-linux-musleabihf-gcc linker (/home/buildroot/autobuild/run/instance-3/output/host/bin/arm-buildroot-linux-musleabihf-ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes configure: creating ./config.lt config.lt: creating libtool checking for sed... /bin/sed checking for pdflatex... /bin/false checking for latexmk... /bin/false configure: WARNING: Will not be able to make PDF versions of TeX documents checking for pandoc... /bin/false configure: WARNING: Will not be able to make PDF versions of MD documents checking which default CFLAGS to set... CFLAGS supplied by user checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for arm-buildroot-linux-musleabihf-ar... (cached) /home/buildroot/autobuild/run/instance-3/output/host/bin/arm-buildroot-linux-musleabihf-ar checking if make is GNU make... yes checking for protoc-c... protoc-c checking for PROTOBUF_C... yes checking if zebra should be configurable to send Route Advertisements... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for C/C++ restrict keyword... __restrict checking for working volatile... yes checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for uid_t in sys/types.h... yes checking for mode_t... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking stropts.h usability... yes checking stropts.h presence... yes checking for stropts.h... yes checking sys/ksym.h usability... no checking sys/ksym.h presence... no checking for sys/ksym.h... no checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for sys/types.h... (cached) yes checking linux/version.h usability... yes checking linux/version.h presence... yes checking for linux/version.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking asm/types.h usability... yes checking asm/types.h presence... yes checking for asm/types.h... yes checking sys/cdefs.h usability... yes checking sys/cdefs.h presence... yes checking for sys/cdefs.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking features.h usability... yes checking features.h presence... yes checking for features.h... yes checking for net/if.h... yes checking for net/if_var.h... no checking for sys/un.h... yes checking for netinet/in_systm.h... yes checking for netinet/in_var.h... no checking for net/if_dl.h... no checking for net/netopt.h... no checking for net/route.h... yes checking for inet/nd.h... no checking for arpa/inet.h... yes checking for netinet/ip_icmp.h... yes checking for fcntl.h... yes checking for stddef.h... yes checking for sys/ioctl.h... yes checking for syslog.h... yes checking for wchar.h... yes checking for wctype.h... yes checking for sys/sysctl.h... no checking for sys/sockio.h... no checking for kvm.h... no checking for sys/conf.h... no checking for ucontext.h... yes checking for ucontext_t.uc_mcontext.uc_regs... no checking for ucontext_t.uc_mcontext.regs... no checking for ucontext_t.uc_mcontext.gregs... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking whether byte ordering is bigendian... (cached) no checking for unistd.h... (cached) yes checking for working chown... no checking for working POSIX fnmatch... cross checking for pid_t... 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 working memcmp... (cached) yes checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking for alarm... yes checking for working mktime... no checking for strftime... yes checking whether lstat correctly handles trailing slash... no checking whether stat accepts an empty string... yes checking for sys/select.h... (cached) yes checking for sys/socket.h... (cached) yes checking types of arguments for select... int,fd_set *,struct timeval * checking for strftime... (cached) yes checking for vprintf... yes checking for _doprnt... no checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking for pow in -lm... yes checking for pow... yes checking for dup2... yes checking for ftruncate... yes checking for getcwd... yes checking for gethostbyname... yes checking for getpagesize... yes checking for gettimeofday... yes checking for inet_ntoa... yes checking for inet_aton... yes checking for strnlen... yes checking for memchr... yes checking for memmove... yes checking for memset... yes checking for select... yes checking for socket... yes checking for strcasecmp... yes checking for strchr... yes checking for strcspn... yes checking for strdup... yes checking for strerror... yes checking for strncasecmp... yes checking for strndup... yes checking for strrchr... yes checking for strspn... yes checking for strstr... yes checking for strtol... yes checking for strtoul... yes checking for strlcat... yes checking for strlcpy... yes checking for daemon... yes checking for snprintf... yes checking for vsnprintf... yes checking for if_nametoindex... yes checking for if_indextoname... yes checking for getifaddrs... yes checking for uname... yes checking for fcntl... yes checking for getgrouplist... yes checking asm-generic/unistd.h usability... yes checking asm-generic/unistd.h presence... yes checking for asm-generic/unistd.h... yes checking whether __NR_setns is declared... yes checking for setns... yes checking zebra between kernel interface method... netlink checking net/bpf.h usability... no checking net/bpf.h presence... no checking for net/bpf.h... no checking sys/dlpi.h usability... no checking sys/dlpi.h presence... no checking for sys/dlpi.h... no checking zebra IS-IS I/O method... pfpacket checking for broken CMSG_FIRSTHDR... no checking route read method... netlink checking interface looking up method... netlink checking for struct ip_mreqn.imr_ifindex... yes checking for linux/mroute.h... yes checking for BSD struct ip_mreq hack... no checking for RFC3678 protocol-independed API... yes checking for net/if.h... (cached) yes checking for net/if_media.h... no checking for net/if.h... (cached) yes checking for struct if_data.ifi_link_state... no checking for netinet/tcp.h... yes checking whether TCP_MD5SIG is declared... yes checking ipforward method... proc checking for getaddrinfo... yes checking whether does this OS have IPv6 stack... Linux IPv6 checking for netinet6/in6.h... no checking for netinet/in6_var.h... no checking for netinet/icmp6.h... yes checking for netinet6/in6_var.h... no checking for netinet6/nd6.h... no checking for inet_ntop in -lc... yes checking for inet_pton in -lc... yes checking for crypt in -lcrypt... yes checking for res_init in -lresolv... yes checking whether system has GNU regex... checking for regexec in -lc... yes checking for CARES... yes checking for arm-buildroot-linux-musleabihf-net-snmp-config... (cached) /home/buildroot/autobuild/run/instance-3/output/host/arm-buildroot-linux-musleabihf/sysroot/usr/bin/net-snmp-config checking whether we can link to Net-SNMP... yes checking for struct sockaddr... yes checking for struct sockaddr_in... yes checking for struct sockaddr_in6... yes checking for struct sockaddr_un... yes checking for struct sockaddr_dl... no checking for socklen_t... yes checking for struct vifctl... no checking for struct mfcctl... no checking for struct sioc_sg_req... no checking for vifi_t... no checking for struct sioc_vif_req... no checking for struct igmpmsg... no checking for struct ifaliasreq... no checking for struct if6_aliasreq... no checking for struct in6_aliasreq... no checking for struct nd_opt_adv_interval... yes checking for struct rt_addrinfo... no checking for struct nd_opt_homeagent_info... no checking for struct nd_opt_adv_interval... (cached) yes checking for struct sockaddr.sa_len... no checking for struct sockaddr_in.sin_len... no checking for struct sockaddr_un.sun_len... no checking for struct sockaddr_in6.sin6_scope_id... yes checking for struct sockaddr_dl.sdl_len... no checking for struct if6_aliasreq.ifra_lifetime... no checking for struct nd_opt_adv_interval.nd_opt_ai_type... no checking for struct in_pktinfo... yes checking for struct icmphdr... yes checking for IP_PKTINFO... yes checking for IP_RECVDSTADDR... no checking for IP_RECVIF... no checking whether getrusage is available... yes checking whether CLOCK_MONOTONIC is declared... yes checking for clock_gettime in -lrt... yes checking whether prctl PR_SET_KEEPCAPS is available... yes checking sys/capability.h usability... yes checking sys/capability.h presence... yes checking for sys/capability.h... yes checking for cap_init in -lcap... yes checking whether /home/buildroot/autobuild/run/instance-3/output/host/bin/arm-buildroot-linux-musleabihf-gcc accepts function __attribute__((weak,alias()))... no checking whether /home/buildroot/autobuild/run/instance-3/output/host/bin/arm-buildroot-linux-musleabihf-gcc supports #pragma weak... yes checking whether /home/buildroot/autobuild/run/instance-3/output/host/bin/arm-buildroot-linux-musleabihf-gcc supports #pragma _HP_SECONDARY_DEF... no checking whether /home/buildroot/autobuild/run/instance-3/output/host/bin/arm-buildroot-linux-musleabihf-gcc supports #pragma _CRI duplicate... no checking how to create weak aliases with /home/buildroot/autobuild/run/instance-3/output/host/bin/arm-buildroot-linux-musleabihf-gcc... pragma checking whether /home/buildroot/autobuild/run/instance-3/output/host/bin/arm-buildroot-linux-musleabihf-gcc supports weak aliases across object file boundaries... yes checking execinfo.h usability... no checking execinfo.h presence... no checking for execinfo.h... no checking for malloc.h... yes checking whether mallinfo is available... no checking directory to use for state file... /var/run/quagga checking for working htonl... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating lib/Makefile config.status: creating qpb/Makefile config.status: creating zebra/Makefile config.status: creating ripd/Makefile config.status: creating ripngd/Makefile config.status: creating bgpd/Makefile config.status: creating ospfd/Makefile config.status: creating watchquagga/Makefile config.status: creating ospf6d/Makefile config.status: creating isisd/Makefile config.status: creating vtysh/Makefile config.status: creating doc/Makefile config.status: creating ospfclient/Makefile config.status: creating tests/Makefile config.status: creating m4/Makefile config.status: creating pimd/Makefile config.status: creating nhrpd/Makefile config.status: creating redhat/Makefile config.status: creating pkgsrc/Makefile config.status: creating fpm/Makefile config.status: creating redhat/quagga.spec config.status: creating redhat/quagga.sysconfig config.status: creating lib/version.h config.status: creating isisd/topology/Makefile config.status: creating pkgsrc/bgpd.sh config.status: creating pkgsrc/ospf6d.sh config.status: creating pkgsrc/ospfd.sh config.status: creating pkgsrc/ripd.sh config.status: creating pkgsrc/ripngd.sh config.status: creating pkgsrc/zebra.sh config.status: creating solaris/Makefile config.status: creating vtysh/extract.pl config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --disable-nls, --disable-pie Quagga configuration -------------------- quagga version : 1.2.3 host operating system : linux-musleabihf source code location : . compiler : /home/buildroot/autobuild/run/instance-3/output/host/bin/arm-buildroot-linux-musleabihf-gcc compiler flags : -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -Ulinux -Dlinux=linux -I/home/buildroot/autobuild/run/instance-3/output/host/arm-buildroot-linux-musleabihf/sysroot/usr/bin/../../../../bin/../arm-buildroot-linux-musleabihf/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/buildroot/autobuild/run/instance-3/output/host/arm-buildroot-linux-musleabihf/sysroot/usr/bin/../../usr/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/home/buildroot/autobuild/run/instance-3/output/host/bin/../arm-buildroot-linux-musleabihf/sysroot/usr/include make : make linker flags : -static -L/home/buildroot/autobuild/run/instance-3/output/host/bin/../arm-buildroot-linux-musleabihf/sysroot/usr/lib -lprotobuf-c -lresolv -lcrypt -static -L/home/buildroot/autobuild/run/instance-3/output/host/arm-buildroot-linux-musleabihf/sysroot/usr/bin/../../usr/lib -lnetsnmpmibs -lpcre -lnetsnmpagent -lpcre -lnetsnmp -lssl -lssl -lcrypto -lnl-3 -lz -lrt -lcap -lm state file directory : /var/run/quagga config file directory : /etc/quagga example directory : /etc/quagga user to run as : quagga group to run as : quagga group for vty sockets : config file mask : 0600 log file mask : 0600 zebra protobuf enabled : yes The above user and group must have read/write access to the state file directory and to the config files in the config file directory. >>> quagga 1.2.3 Building PATH="/home/buildroot/autobuild/run/instance-3/output/host/bin:/home/buildroot/autobuild/run/instance-3/output/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" /usr/bin/make -j4 -C /home/buildroot/autobuild/run/instance-3/output/build/quagga-1.2.3/ /usr/bin/make all-recursive Making all in lib true /usr/bin/make all-am CC network.lo CC pid_output.lo CC getopt.lo CC getopt1.lo CC daemon.lo CC checksum.lo CC vector.lo CC linklist.lo CC vty.lo CC command.lo CC sockunion.lo CC prefix.lo command.c: In function 'cmd_complete_command_real': command.c:2439:38: warning: comparison between pointer and zero character constant [-Wpointer-compare] if (vector_slot (vline, index) == '\0') ^~ In file included from command.c:31:0: vector.h:40:27: note: did you mean to dereference the pointer? #define vector_slot(V,I) ((V)->index[(I)]) ^ command.c:2439:11: note: in expansion of macro 'vector_slot' if (vector_slot (vline, index) == '\0') ^~~~~~~~~~~ CC thread.lo CC if.lo CC memory.lo CC buffer.lo CC table.lo CC hash.lo CC filter.lo CC routemap.lo CC distribute.lo CC stream.lo CC str.lo CC log.lo CC plist.lo CC zclient.lo CC sockopt.lo CC smux.lo CC agentx.lo CC snmp.lo CC md5.lo CC if_rmap.lo CC keychain.lo CC privs.lo CC sigevent.lo CC pqueue.lo CC jhash.lo CC memtypes.lo CC workqueue.lo CC vrf.lo CC event_counter.lo CC nexthop.lo CCLD libzebra.la Making all in qpb protoc-c -I.. --c_out=.. ../qpb/qpb.proto [libprotobuf WARNING google/protobuf/compiler/parser.cc:562] No syntax specified for the proto file: qpb/qpb.proto. Please use 'syntax = "proto2";' or 'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.) /usr/bin/make all-am CC qpb.lo CC qpb_allocator.lo CC qpb.pb-c.lo qpb_allocator.c:52:3: warning: excess elements in struct initializer 8192, ^~~~ qpb_allocator.c:52:3: note: (near initialization for 'allocator_template') qpb_allocator.c:53:3: warning: excess elements in struct initializer NULL ^~~~ qpb_allocator.c:53:3: note: (near initialization for 'allocator_template') CCLD libquagga_pb.la Making all in fpm protoc-c -I.. --c_out=.. ../fpm/fpm.proto [libprotobuf WARNING google/protobuf/compiler/parser.cc:562] No syntax specified for the proto file: fpm/fpm.proto. Please use 'syntax = "proto2";' or 'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.) [libprotobuf WARNING google/protobuf/compiler/parser.cc:562] No syntax specified for the proto file: qpb/qpb.proto. Please use 'syntax = "proto2";' or 'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.) /usr/bin/make all-am CC fpm.pb-c.lo CC fpm_pb.lo CCLD libfpm_pb.la Making all in bgpd CC bgpd.o CC bgp_fsm.o CC bgp_aspath.o CC bgp_community.o CC bgp_attr.o CC bgp_debug.o CC bgp_route.o CC bgp_zebra.o CC bgp_open.o CC bgp_routemap.o CC bgp_packet.o CC bgp_network.o CC bgp_filter.o CC bgp_regex.o CC bgp_clist.o CC bgp_dump.o CC bgp_snmp.o CC bgp_ecommunity.o CC bgp_lcommunity.o CC bgp_mplsvpn.o CC bgp_nexthop.o CC bgp_damp.o CC bgp_table.o CC bgp_advertise.o CC bgp_vty.o CC bgp_mpath.o CC bgp_encap.o CC bgp_encap_tlv.o CC bgp_nht.o CC bgp_btoa.o CC bgp_main.o AR libbgp.a CCLD bgp_btoa CCLD bgpd /home/buildroot/autobuild/run/instance-3/output/host/arm-buildroot-linux-musleabihf/sysroot/lib/libc.a(getopt.o):(.data.opterr+0x0): multiple definition of `opterr' ../lib/.libs/libzebra.a(getopt.o):(.data+0x4): first defined here /home/buildroot/autobuild/run/instance-3/output/host/arm-buildroot-linux-musleabihf/sysroot/lib/libc.a(getopt.o):(.data.optind+0x0): multiple definition of `optind' ../lib/.libs/libzebra.a(getopt.o):(.data+0x0): first defined here collect2: error: ld returned 1 exit status make[4]: *** [bgpd] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all] Error 2 make[1]: *** [/home/buildroot/autobuild/run/instance-3/output/build/quagga-1.2.3/.stamp_built] Error 2 make: *** [_all] Error 2 make: Leaving directory `/home/buildroot/autobuild/run/instance-3/buildroot'