* Package:    net-misc/ptpd-2.3.1
 * Repository: gentoo
 * Maintainer: honza.breuer@gmail.com proxy-maint@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux pcap snmp statistics userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
 * Running eautoreconf in '/var/tmp/portage/net-misc/ptpd-2.3.1/work/ptpd-ptpd-2.3.1' ...
 * Running libtoolize --install --copy --force --automake ...
 [ ok ]
 * Running aclocal -I m4 ...
 [ ok ]
 * Running autoconf --force ...
 [ ok ]
 * Running autoheader ...
 [ ok ]
 * Running automake --add-missing --copy --foreign --force-missing ...
 [ ok ]
 * Running elibtoolize in: ptpd-ptpd-2.3.1/
 * Running elibtoolize in: ptpd-ptpd-2.3.1/build-aux/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.4.3 patch ...
configure: loading site script /usr/share/config.site
checking for a BSD-compatible install... /var/tmp/portage/._portage_reinstall_.99F2Iz/bin/ebuild-helpers/xattr/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gawk... (cached) gawk
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-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... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of x86_64-pc-linux-gnu-gcc... none
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C99... none needed
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B
checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu 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 /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-pc-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking for archiver @FILE support... @
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-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 x86_64-pc-linux-gnu-mt... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -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 for dlfcn.h... yes
checking for objdir... .libs
checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) 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... yes
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 x86_64-pc-linux-gnu-gcc needs -traditional... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... 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... /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... /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
make  all-recursive
make[1]: Entering directory '/var/tmp/portage/net-misc/ptpd-2.3.1/work/ptpd-ptpd-2.3.1'
Making all in src
make[2]: Entering directory '/var/tmp/portage/net-misc/ptpd-2.3.1/work/ptpd-ptpd-2.3.1/src'
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include -I/usr/include    -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS  -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128     -Wall  -O2 -pipe -mno-tls-direct-seg-refs -fno-strict-aliasing -c -o arith.o arith.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include -I/usr/include    -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS  -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128     -Wall  -O2 -pipe -mno-tls-direct-seg-refs -fno-strict-aliasing -c -o bmc.o bmc.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 is guarded by the ‘if’
     if(rtOpts->calibrationDelay) {
     ^~
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include -I/usr/include    -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS  -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128     -Wall  -O2 -pipe -mno-tls-direct-seg-refs -fno-strict-aliasing -c -o ptp_timers.o ptp_timers.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include -I/usr/include    -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS  -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128     -Wall  -O2 -pipe -mno-tls-direct-seg-refs -fno-strict-aliasing -c -o dep/servo.o dep/servo.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include -I/usr/include    -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS  -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128     -Wall  -O2 -pipe -mno-tls-direct-seg-refs -fno-strict-aliasing -c -o dep/daemonconfig.o dep/daemonconfig.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include -I/usr/include    -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS  -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128     -Wall  -O2 -pipe -mno-tls-direct-seg-refs -fno-strict-aliasing -c -o dep/startup.o dep/startup.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include -I/usr/include    -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS  -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128     -Wall  -O2 -pipe -mno-tls-direct-seg-refs -fno-strict-aliasing -c -o dep/sys.o dep/sys.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 is guarded by the ‘if’
      fprintf(out,"\n");
      ^~~~~~~
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include -I/usr/include    -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS  -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128     -Wall  -O2 -pipe -mno-tls-direct-seg-refs -fno-strict-aliasing -c -o display.o display.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include -I/usr/include    -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS  -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128     -Wall  -O2 -pipe -mno-tls-direct-seg-refs -fno-strict-aliasing -c -o management.o management.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include -I/usr/include    -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS  -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128     -Wall  -O2 -pipe -mno-tls-direct-seg-refs -fno-strict-aliasing -c -o signaling.o signaling.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include -I/usr/include    -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS  -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128     -Wall  -O2 -pipe -mno-tls-direct-seg-refs -fno-strict-aliasing -c -o protocol.o protocol.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include -I/usr/include    -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS  -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128     -Wall  -O2 -pipe -mno-tls-direct-seg-refs -fno-strict-aliasing -c -o timingdomain.o timingdomain.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include -I/usr/include    -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS  -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128     -Wall  -O2 -pipe -mno-tls-direct-seg-refs -fno-strict-aliasing -c -o ptpd.o ptpd.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include -I/usr/include    -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS  -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128     -Wall  -O2 -pipe -mno-tls-direct-seg-refs -fno-strict-aliasing -c -o dep/snmp.o dep/snmp.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[2]: *** [Makefile:644: dep/snmp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/var/tmp/portage/net-misc/ptpd-2.3.1/work/ptpd-ptpd-2.3.1/src'
make[1]: *** [Makefile:512: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/net-misc/ptpd-2.3.1/work/ptpd-ptpd-2.3.1'
make: *** [Makefile:423: all] Error 2
 * ERROR: net-misc/ptpd-2.3.1::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=net-misc/ptpd-2.3.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-misc/ptpd-2.3.1::gentoo'`.
 * The complete build log is located at '/var/log/portage/net-misc:ptpd-2.3.1:20171205-211134.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-misc/ptpd-2.3.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-misc/ptpd-2.3.1/temp/environment'.
 * Working directory: '/var/tmp/portage/net-misc/ptpd-2.3.1/work/ptpd-ptpd-2.3.1'
 * S: '/var/tmp/portage/net-misc/ptpd-2.3.1/work/ptpd-ptpd-2.3.1'