checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for aarch64-buildroot-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... /home/naourr/work/instance-3/output/host/bin/aarch64-linux-gnu-cpp 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 for dlfcn.h... yes checking for objdir... .libs checking if /home/naourr/work/instance-3/output/host/bin/aarch64-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for /home/naourr/work/instance-3/output/host/bin/aarch64-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if /home/naourr/work/instance-3/output/host/bin/aarch64-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if /home/naourr/work/instance-3/output/host/bin/aarch64-linux-gnu-gcc static flag -static works... yes checking if /home/naourr/work/instance-3/output/host/bin/aarch64-linux-gnu-gcc supports -c -o file.o... yes checking if /home/naourr/work/instance-3/output/host/bin/aarch64-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the /home/naourr/work/instance-3/output/host/bin/aarch64-linux-gnu-gcc linker (/home/naourr/work/instance-3/output/host/bin/aarch64-linux-gnu-ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no 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... yes checking whether to build static libraries... no checking for cut... /usr/bin/cut checking for tr... /usr/bin/tr checking for svnversion... /usr/bin/svnversion checking linux/net_tstamp.h usability... yes checking linux/net_tstamp.h presence... yes checking for linux/net_tstamp.h... yes checking for pow in -lm... yes checking for clock_gettime in -lrt... yes checking for ANSI C header files... (cached) 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 net/ethernet.h usability... yes checking net/ethernet.h presence... yes checking for net/ethernet.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking netinet/in_systm.h usability... yes checking netinet/in_systm.h presence... yes checking for netinet/in_systm.h... yes checking netinet/ether.h usability... yes checking netinet/ether.h presence... yes checking for netinet/ether.h... yes checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... 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/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/sockio.h usability... no checking sys/sockio.h presence... no checking for sys/sockio.h... no checking ifaddrs.h usability... yes checking ifaddrs.h presence... yes checking for ifaddrs.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 glob.h usability... yes checking glob.h presence... yes checking for glob.h... yes checking sched.h usability... yes checking sched.h presence... yes checking for sched.h... yes checking utmp.h usability... yes checking utmp.h presence... yes checking for utmp.h... yes checking utmpx.h usability... yes checking utmpx.h presence... yes checking for utmpx.h... yes checking linux/rtc.h usability... yes checking linux/rtc.h presence... yes checking for linux/rtc.h... yes checking sys/timex.h usability... yes checking sys/timex.h presence... yes checking for sys/timex.h... yes checking endian.h usability... yes checking endian.h presence... yes checking for endian.h... yes checking machine/endian.h usability... no checking machine/endian.h presence... no checking for machine/endian.h... no checking sys/isa_defs.h usability... no checking sys/isa_defs.h presence... no checking for sys/isa_defs.h... no checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking for sys/cpuset.h... no checking for net/if.h... yes checking for net/if_arp.h... yes checking for netinet/if_ether.h... yes checking for net/if_ether.h... no checking for an ANSI C-conforming const... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking whether time.h and sys/time.h may both be included... yes checking for working volatile... yes checking for uint32_t... yes checking for uint64_t... yes checking for uint8_t... yes checking for size_t... yes checking for ssize_t... yes checking for int64_t... yes checking for struct timex.tick... yes checking for struct timex.tai... yes checking for struct ntptimeval.tai... yes checking for struct ifreq.ifr_hwaddr... yes checking for struct ether_addr.octet... no checking whether /home/naourr/work/instance-3/output/host/bin/aarch64-linux-gnu-gcc needs -traditional... no checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... (cached) yes checking for working memcmp... (cached) yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for sys/socket.h... (cached) yes checking types of arguments for select... int,fd_set *,struct timeval * checking return type of signal handlers... void checking for strftime... yes checking for vprintf... yes checking for _doprnt... no checking for clock_gettime... yes checking for dup2... yes checking for ftruncate... yes checking for gethostbyname2... yes checking for gettimeofday... yes checking for inet_ntoa... yes checking for memset... yes checking for pow... yes checking for select... yes checking for socket... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strtol... yes checking for glob... yes checking for pututline... yes checking for utmpxname... yes checking for updwtmpx... yes checking for setutent... yes checking for endutent... yes checking for signal... yes checking for ntp_gettime... yes configure: ************************************************************ configure: * PTPD BUILD FLAG AND LIBRARY DEPENDENCY CHECKS START HERE * configure: ************************************************************ checking whether MSG_ERRQUEUE is declared... yes checking whether POSIX_TIMERS_SUPPORTED is declared... yes checking if we want to build POSIX timer support... yes checking for pcap-config... /home/naourr/work/instance-3/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/bin/pcap-config checking if we want to build with libpcap support... yes, pcap-config checking pcap/pcap.h usability... yes checking pcap/pcap.h presence... yes checking for pcap/pcap.h... yes checking pcap.h usability... yes checking pcap.h presence... yes checking for pcap.h... yes checking if we can build with libpcap support... yes checking for net-snmp-config... (cached) /home/naourr/work/instance-3/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/bin/net-snmp-config checking if we want to try building SNMP support... yes checking net-snmp/net-snmp-config.h usability... yes checking net-snmp/net-snmp-config.h presence... yes checking for net-snmp/net-snmp-config.h... yes checking if we are building SNMP support... yes checking for RUNTIME_DEBUG... no checking for (old-style) debug message level... no checking for maximum unicast destination table size... 128 checking for daemon mode... yes checking for experimental options... no checking for realtime statistics support... yes checking if we want to enable SO_TIMESTAMPING support on Linux if available... yes checking if we're building a slave-only build... no configure: ************************************************************ configure: * END OF PTPD BUILD FLAG AND LIBRARY DEPENDENCY CHECKS * configure: ************************************************************ checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/ptpd2.8 config.status: creating src/ptpd2.conf.5 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-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --disable-nls >>> ptpd2 ptpd-2.3.1 Building PATH="/home/naourr/work/instance-3/output/host/bin:/home/naourr/work/instance-3/output/host/sbin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/naourr/.local/bin:/home/naourr/bin" /usr/bin/make -j4 -C /home/naourr/work/instance-3/output/build/ptpd2-ptpd-2.3.1/ make[1]: Entering directory '/home/naourr/work/instance-3/output/build/ptpd2-ptpd-2.3.1' /usr/bin/make all-recursive make[2]: Entering directory '/home/naourr/work/instance-3/output/build/ptpd2-ptpd-2.3.1' Making all in src make[3]: Entering directory '/home/naourr/work/instance-3/output/build/ptpd2-ptpd-2.3.1/src' /home/naourr/work/instance-3/output/host/bin/aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ulinux -Dlinux=linux -I/home/naourr/work/instance-3/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/naourr/work/instance-3/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/include -I/home/naourr/work/instance-3/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/include -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-strict-aliasing -Os -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -c -o arith.o arith.c /home/naourr/work/instance-3/output/host/bin/aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ulinux -Dlinux=linux -I/home/naourr/work/instance-3/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/naourr/work/instance-3/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/include -I/home/naourr/work/instance-3/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/include -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-strict-aliasing -Os -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -c -o bmc.o bmc.c /home/naourr/work/instance-3/output/host/bin/aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ulinux -Dlinux=linux -I/home/naourr/work/instance-3/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/naourr/work/instance-3/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/include -I/home/naourr/work/instance-3/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/include -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-strict-aliasing -Os -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -c -o ptp_timers.o ptp_timers.c /home/naourr/work/instance-3/output/host/bin/aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ulinux -Dlinux=linux -I/home/naourr/work/instance-3/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/naourr/work/instance-3/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/include -I/home/naourr/work/instance-3/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/include -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-strict-aliasing -Os -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -c -o dep/daemonconfig.o dep/daemonconfig.c bmc.c: In function 'bmcStateDecision': bmc.c:631:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (ptpClock->portState == PTP_SLAVE) ^~ bmc.c:633:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(rtOpts->calibrationDelay) { ^~ /home/naourr/work/instance-3/output/host/bin/aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ulinux -Dlinux=linux -I/home/naourr/work/instance-3/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/naourr/work/instance-3/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/include -I/home/naourr/work/instance-3/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/include -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-strict-aliasing -Os -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -c -o dep/startup.o dep/startup.c /home/naourr/work/instance-3/output/host/bin/aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ulinux -Dlinux=linux -I/home/naourr/work/instance-3/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/naourr/work/instance-3/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/include -I/home/naourr/work/instance-3/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/include -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-strict-aliasing -Os -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -c -o dep/sys.o dep/sys.c /home/naourr/work/instance-3/output/host/bin/aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ulinux -Dlinux=linux -I/home/naourr/work/instance-3/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/naourr/work/instance-3/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/include -I/home/naourr/work/instance-3/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/include -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-strict-aliasing -Os -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -c -o display.o display.c dep/sys.c: In function 'writeStatusFile': dep/sys.c:996:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(ptpClock->portState == PTP_MASTER) ^~ dep/sys.c:998:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' fprintf(out,"\n"); ^~~~~~~ /home/naourr/work/instance-3/output/host/bin/aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ulinux -Dlinux=linux -I/home/naourr/work/instance-3/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/naourr/work/instance-3/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/include -I/home/naourr/work/instance-3/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/include -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-strict-aliasing -Os -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -c -o management.o management.c dep/sys.c: In function 'maintainLogSize.part.1': dep/sys.c:547:34: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(fname, PATH_MAX,"%s.%d", handler->logPath, i); ^~ dep/sys.c:547:30: note: directive argument in the range [1, 2147483647] snprintf(fname, PATH_MAX,"%s.%d", handler->logPath, i); ^~~~~~~ dep/sys.c:547:5: note: 'snprintf' output between 3 and 4107 bytes into a destination of size 4096 snprintf(fname, PATH_MAX,"%s.%d", handler->logPath, i); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/sys.c:559:33: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(fname, PATH_MAX,"%s.%d", handler->logPath, logFileNumber); ^~ dep/sys.c:559:29: note: directive argument in the range [-2147483648, 2147483646] snprintf(fname, PATH_MAX,"%s.%d", handler->logPath, logFileNumber); ^~~~~~~ dep/sys.c:559:4: note: 'snprintf' output between 3 and 4108 bytes into a destination of size 4096 snprintf(fname, PATH_MAX,"%s.%d", handler->logPath, logFileNumber); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/naourr/work/instance-3/output/host/bin/aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ulinux -Dlinux=linux -I/home/naourr/work/instance-3/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/naourr/work/instance-3/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/include -I/home/naourr/work/instance-3/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/include -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-strict-aliasing -Os -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -c -o signaling.o signaling.c signaling.c:867:63: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] void cancelUnicastTransmission(UnicastGrantData* grant, const const RunTimeOpts* rtOpts, PtpClock* ptpClock) ^~~~~ signaling.c:886:74: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] void issueSignaling(MsgSignaling *outgoing, Integer32 destination, const const RunTimeOpts *rtOpts, ^~~~~ dep/sys.c: In function 'checkOtherLocks': dep/sys.c:1611:39: warning: '%s' directive output may be truncated writing 5 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(searchPattern, PATH_MAX,"%s/%s_*_%s.lock", ^~ dep/sys.c:1611:2: note: 'snprintf' output 15 or more bytes (assuming 4110) into a destination of size 4096 snprintf(searchPattern, PATH_MAX,"%s/%s_*_%s.lock", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rtOpts->lockDirectory, PTPD_PROGNAME,rtOpts->ifaceName); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/sys.c:1657:43: warning: '%s' directive output may be truncated writing 5 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(searchPattern, PATH_MAX,"%s/%s_%s_*.lock", ^~ dep/sys.c:1657:6: note: 'snprintf' output between 26 and 4121 bytes into a destination of size 4096 snprintf(searchPattern, PATH_MAX,"%s/%s_%s_*.lock", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rtOpts->lockDirectory,PTPD_PROGNAME,DEFAULT_CLOCKDRIVER); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/naourr/work/instance-3/output/host/bin/aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ulinux -Dlinux=linux -I/home/naourr/work/instance-3/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/naourr/work/instance-3/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/include -I/home/naourr/work/instance-3/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/include -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-strict-aliasing -Os -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -c -o protocol.o protocol.c /home/naourr/work/instance-3/output/host/bin/aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ulinux -Dlinux=linux -I/home/naourr/work/instance-3/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/naourr/work/instance-3/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/include -I/home/naourr/work/instance-3/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/include -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-strict-aliasing -Os -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -c -o timingdomain.o timingdomain.c /home/naourr/work/instance-3/output/host/bin/aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ulinux -Dlinux=linux -I/home/naourr/work/instance-3/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/naourr/work/instance-3/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/include -I/home/naourr/work/instance-3/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/include -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-strict-aliasing -Os -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -c -o ptpd.o ptpd.c /home/naourr/work/instance-3/output/host/bin/aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ulinux -Dlinux=linux -I/home/naourr/work/instance-3/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/naourr/work/instance-3/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/include -I/home/naourr/work/instance-3/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/include -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-strict-aliasing -Os -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -c -o dep/snmp.o dep/snmp.c dep/daemonconfig.c: In function 'parseConfig': dep/daemonconfig.c:2526:7: warning: '/ptpd2_' directive output may be truncated writing 7 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] "%s/"PTPD_PROGNAME"_%s_%s.lock", ^~~~~ dep/daemonconfig.c:2526:10: note: format string is defined here "%s/"PTPD_PROGNAME"_%s_%s.lock", ^~~~~~~~~~~~~~~~~ dep/daemonconfig.c:2525:6: note: 'snprintf' output 20 or more bytes (assuming 4120) into a destination of size 4096 snprintf(rtOpts->lockFile, PATH_MAX, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s/"PTPD_PROGNAME"_%s_%s.lock", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rtOpts->lockDirectory, ~~~~~~~~~~~~~~~~~~~~~~ (rtOpts->clockQuality.clockClass<128 && !rtOpts->slaveOnly) ? "master" : DEFAULT_CLOCKDRIVER, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rtOpts->ifaceName); ~~~~~~~~~~~~~~~~~~ dep/daemonconfig.c:2538:9: warning: '%s' directive output may be truncated writing 10 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] "%s/%s", rtOpts->lockDirectory, DEFAULT_LOCKFILE_NAME); ^~ dep/daemonconfig.c:2537:4: note: 'snprintf' output between 12 and 4107 bytes into a destination of size 4096 snprintf(rtOpts->lockFile, PATH_MAX, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s/%s", rtOpts->lockDirectory, DEFAULT_LOCKFILE_NAME); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/naourr/work/instance-3/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/include/net-snmp/library/scapi.h:14:0, from /home/naourr/work/instance-3/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/include/net-snmp/snmpv3_api.h:29, from /home/naourr/work/instance-3/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/include/net-snmp/net-snmp-includes.h:78, from dep/snmp.c:40: /home/naourr/work/instance-3/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/include/openssl/ossl_typ.h:132:30: error: conflicting types for 'EVP_MD_CTX' typedef struct env_md_ctx_st EVP_MD_CTX; ^~~~~~~~~~ In file included from dep/../ptpd.h:153:0, from dep/snmp.c:37: dep/../dep/ntpengine/ntp_isc_md5.h:83:41: note: previous declaration of 'EVP_MD_CTX' was here typedef MD5_CTX EVP_MD_CTX; ^~~~~~~~~~ /home/naourr/work/instance-3/output/host/bin/aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ulinux -Dlinux=linux -I/home/naourr/work/instance-3/output/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/naourr/work/instance-3/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/include -I/home/naourr/work/instance-3/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/include -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-strict-aliasing -Os -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -c -o dep/statistics.o dep/statistics.c dep/snmp.c: In function 'snmpScalars': dep/snmp.c:224:9: error: unknown type name 'U64' static U64 counter64_ret; \ ^ dep/snmp.c:283:5: note: in expansion of macro 'SNMP_LOCAL_VARIABLES' SNMP_LOCAL_VARIABLES; ^~~~~~~~~~~~~~~~~~~~ dep/snmp.c: In function 'snmpSystemTable': dep/snmp.c:224:9: error: unknown type name 'U64' static U64 counter64_ret; \ ^ dep/snmp.c:302:2: note: in expansion of macro 'SNMP_LOCAL_VARIABLES' SNMP_LOCAL_VARIABLES; ^~~~~~~~~~~~~~~~~~~~ dep/snmp.c: In function 'snmpSystemDomainTable': dep/snmp.c:224:9: error: unknown type name 'U64' static U64 counter64_ret; \ ^ dep/snmp.c:326:2: note: in expansion of macro 'SNMP_LOCAL_VARIABLES' SNMP_LOCAL_VARIABLES; ^~~~~~~~~~~~~~~~~~~~ dep/snmp.c: In function 'snmpClockDSTable': dep/snmp.c:224:9: error: unknown type name 'U64' static U64 counter64_ret; \ ^ dep/snmp.c:350:2: note: in expansion of macro 'SNMP_LOCAL_VARIABLES' SNMP_LOCAL_VARIABLES; ^~~~~~~~~~~~~~~~~~~~ dep/snmp.c:254:17: error: request for member 'low' in something not a structure or union counter64_ret.low = htonl(bigint.lsb), \ ^ dep/snmp.c:366:10: note: in expansion of macro 'SNMP_TIMEINTERNAL' return SNMP_TIMEINTERNAL(snmpPtpClock->offsetFromMaster); ^~~~~~~~~~~~~~~~~ dep/snmp.c:255:17: error: request for member 'high' in something not a structure or union counter64_ret.high = htonl(bigint.msb), \ ^ dep/snmp.c:366:10: note: in expansion of macro 'SNMP_TIMEINTERNAL' return SNMP_TIMEINTERNAL(snmpPtpClock->offsetFromMaster); ^~~~~~~~~~~~~~~~~ dep/snmp.c:254:41: warning: left-hand operand of comma expression has no effect [-Wunused-value] counter64_ret.low = htonl(bigint.lsb), \ ^ dep/snmp.c:366:10: note: in expansion of macro 'SNMP_TIMEINTERNAL' return SNMP_TIMEINTERNAL(snmpPtpClock->offsetFromMaster); ^~~~~~~~~~~~~~~~~ dep/snmp.c:255:42: warning: left-hand operand of comma expression has no effect [-Wunused-value] counter64_ret.high = htonl(bigint.msb), \ ^ dep/snmp.c:366:10: note: in expansion of macro 'SNMP_TIMEINTERNAL' return SNMP_TIMEINTERNAL(snmpPtpClock->offsetFromMaster); ^~~~~~~~~~~~~~~~~ dep/snmp.c:254:17: error: request for member 'low' in something not a structure or union counter64_ret.low = htonl(bigint.lsb), \ ^ dep/snmp.c:368:10: note: in expansion of macro 'SNMP_TIMEINTERNAL' return SNMP_TIMEINTERNAL(snmpPtpClock->meanPathDelay); ^~~~~~~~~~~~~~~~~ dep/snmp.c:255:17: error: request for member 'high' in something not a structure or union counter64_ret.high = htonl(bigint.msb), \ ^ dep/snmp.c:368:10: note: in expansion of macro 'SNMP_TIMEINTERNAL' return SNMP_TIMEINTERNAL(snmpPtpClock->meanPathDelay); ^~~~~~~~~~~~~~~~~ dep/snmp.c:254:41: warning: left-hand operand of comma expression has no effect [-Wunused-value] counter64_ret.low = htonl(bigint.lsb), \ ^ dep/snmp.c:368:10: note: in expansion of macro 'SNMP_TIMEINTERNAL' return SNMP_TIMEINTERNAL(snmpPtpClock->meanPathDelay); ^~~~~~~~~~~~~~~~~ dep/snmp.c:255:42: warning: left-hand operand of comma expression has no effect [-Wunused-value] counter64_ret.high = htonl(bigint.msb), \ ^ dep/snmp.c:368:10: note: in expansion of macro 'SNMP_TIMEINTERNAL' return SNMP_TIMEINTERNAL(snmpPtpClock->meanPathDelay); ^~~~~~~~~~~~~~~~~ dep/snmp.c: In function 'snmpClockPortTable': dep/snmp.c:224:9: error: unknown type name 'U64' static U64 counter64_ret; \ ^ dep/snmp.c:438:2: note: in expansion of macro 'SNMP_LOCAL_VARIABLES' SNMP_LOCAL_VARIABLES; ^~~~~~~~~~~~~~~~~~~~ dep/snmp.c:254:17: error: request for member 'low' in something not a structure or union counter64_ret.low = htonl(bigint.lsb), \ ^ dep/snmp.c:504:10: note: in expansion of macro 'SNMP_TIMEINTERNAL' return SNMP_TIMEINTERNAL(snmpPtpClock->peerMeanPathDelay); ^~~~~~~~~~~~~~~~~ dep/snmp.c:255:17: error: request for member 'high' in something not a structure or union counter64_ret.high = htonl(bigint.msb), \ ^ dep/snmp.c:504:10: note: in expansion of macro 'SNMP_TIMEINTERNAL' return SNMP_TIMEINTERNAL(snmpPtpClock->peerMeanPathDelay); ^~~~~~~~~~~~~~~~~ dep/snmp.c:254:41: warning: left-hand operand of comma expression has no effect [-Wunused-value] counter64_ret.low = htonl(bigint.lsb), \ ^ dep/snmp.c:504:10: note: in expansion of macro 'SNMP_TIMEINTERNAL' return SNMP_TIMEINTERNAL(snmpPtpClock->peerMeanPathDelay); ^~~~~~~~~~~~~~~~~ dep/snmp.c:255:42: warning: left-hand operand of comma expression has no effect [-Wunused-value] counter64_ret.high = htonl(bigint.msb), \ ^ dep/snmp.c:504:10: note: in expansion of macro 'SNMP_TIMEINTERNAL' return SNMP_TIMEINTERNAL(snmpPtpClock->peerMeanPathDelay); ^~~~~~~~~~~~~~~~~ dep/snmp.c:247:17: error: request for member 'low' in something not a structure or union ( counter64_ret.low = (V) & 0xffffffff, \ ^ dep/snmp.c:535:10: note: in expansion of macro 'SNMP_COUNTER64' return SNMP_COUNTER64(snmpPtpClock->netPath.receivedPacketsTotal); ^~~~~~~~~~~~~~ dep/snmp.c:248:17: error: request for member 'high' in something not a structure or union counter64_ret.high = (V) >> 32, \ ^ dep/snmp.c:535:10: note: in expansion of macro 'SNMP_COUNTER64' return SNMP_COUNTER64(snmpPtpClock->netPath.receivedPacketsTotal); ^~~~~~~~~~~~~~ dep/snmp.c:247:40: warning: left-hand operand of comma expression has no effect [-Wunused-value] ( counter64_ret.low = (V) & 0xffffffff, \ ^ dep/snmp.c:535:10: note: in expansion of macro 'SNMP_COUNTER64' return SNMP_COUNTER64(snmpPtpClock->netPath.receivedPacketsTotal); ^~~~~~~~~~~~~~ dep/snmp.c:248:34: warning: left-hand operand of comma expression has no effect [-Wunused-value] counter64_ret.high = (V) >> 32, \ ^ dep/snmp.c:535:10: note: in expansion of macro 'SNMP_COUNTER64' return SNMP_COUNTER64(snmpPtpClock->netPath.receivedPacketsTotal); ^~~~~~~~~~~~~~ dep/snmp.c:247:17: error: request for member 'low' in something not a structure or union ( counter64_ret.low = (V) & 0xffffffff, \ ^ dep/snmp.c:537:10: note: in expansion of macro 'SNMP_COUNTER64' return SNMP_COUNTER64(snmpPtpClock->netPath.sentPacketsTotal); ^~~~~~~~~~~~~~ dep/snmp.c:248:17: error: request for member 'high' in something not a structure or union counter64_ret.high = (V) >> 32, \ ^ dep/snmp.c:537:10: note: in expansion of macro 'SNMP_COUNTER64' return SNMP_COUNTER64(snmpPtpClock->netPath.sentPacketsTotal); ^~~~~~~~~~~~~~ dep/snmp.c:247:40: warning: left-hand operand of comma expression has no effect [-Wunused-value] ( counter64_ret.low = (V) & 0xffffffff, \ ^ dep/snmp.c:537:10: note: in expansion of macro 'SNMP_COUNTER64' return SNMP_COUNTER64(snmpPtpClock->netPath.sentPacketsTotal); ^~~~~~~~~~~~~~ dep/snmp.c:248:34: warning: left-hand operand of comma expression has no effect [-Wunused-value] counter64_ret.high = (V) >> 32, \ ^ dep/snmp.c:537:10: note: in expansion of macro 'SNMP_COUNTER64' return SNMP_COUNTER64(snmpPtpClock->netPath.sentPacketsTotal); ^~~~~~~~~~~~~~ make[3]: *** [Makefile:642: dep/snmp.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory '/home/naourr/work/instance-3/output/build/ptpd2-ptpd-2.3.1/src' make[2]: *** [Makefile:510: all-recursive] Error 1 make[2]: Leaving directory '/home/naourr/work/instance-3/output/build/ptpd2-ptpd-2.3.1' make[1]: *** [Makefile:421: all] Error 2 make[1]: Leaving directory '/home/naourr/work/instance-3/output/build/ptpd2-ptpd-2.3.1' make: *** [package/pkg-generic.mk:232: /home/naourr/work/instance-3/output/build/ptpd2-ptpd-2.3.1/.stamp_built] Error 2 make: Leaving directory '/home/naourr/work/instance-3/buildroot'