>>> linuxptp 2.0 Downloading --2018-12-26 00:44:53-- http://downloads.sourceforge.net/linuxptp/linuxptp-2.0.tgz Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 216.105.38.13 Connecting to downloads.sourceforge.net (downloads.sourceforge.net)|216.105.38.13|:80... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: http://downloads.sourceforge.net/project/linuxptp/v2.0/linuxptp-2.0.tgz [following] --2018-12-26 00:44:53-- http://downloads.sourceforge.net/project/linuxptp/v2.0/linuxptp-2.0.tgz Reusing existing connection to downloads.sourceforge.net:80. HTTP request sent, awaiting response... 302 Found Location: https://netcologne.dl.sourceforge.net/project/linuxptp/v2.0/linuxptp-2.0.tgz [following] --2018-12-26 00:44:53-- https://netcologne.dl.sourceforge.net/project/linuxptp/v2.0/linuxptp-2.0.tgz Resolving netcologne.dl.sourceforge.net (netcologne.dl.sourceforge.net)... 78.35.24.46, 2001:4dd0:1234:6::5f Connecting to netcologne.dl.sourceforge.net (netcologne.dl.sourceforge.net)|78.35.24.46|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 184942 (181K) [application/octet-stream] Saving to: '/home/naourr/work/instance-2/output/build/.linuxptp-2.0.tgz.qppf9e/output' 0K .......... .......... .......... .......... .......... 27% 1.53M 0s 50K .......... .......... .......... .......... .......... 55% 1.64M 0s 100K .......... .......... .......... .......... .......... 83% 11.7M 0s 150K .......... .......... .......... 100% 17.4M=0.07s 2018-12-26 00:44:54 (2.61 MB/s) - '/home/naourr/work/instance-2/output/build/.linuxptp-2.0.tgz.qppf9e/output' saved [184942/184942] linuxptp-2.0.tgz: OK (sha1: 592ca42c6146a79c1fcabed7c19fa7af4803d4f6) linuxptp-2.0.tgz: OK (md5: d8bb7374943bb747db7786ac26f17f11) linuxptp-2.0.tgz: OK (sha256: 0a24d9401e87d4af023d201e234d91127d82c350daad93432106284aa9459c7d) >>> linuxptp 2.0 Extracting gzip -d -c /home/naourr/work/instance-2/dl/linuxptp/linuxptp-2.0.tgz | /home/naourr/work/instance-2/output/host/bin/tar --strip-components=1 -C /home/naourr/work/instance-2/output/build/linuxptp-2.0 -xf - >>> linuxptp 2.0 Patching Applying 0001-missing.h-drop-clock_nanosleep-replacement.patch using patch: patching file missing.h >>> linuxptp 2.0 Configuring >>> linuxptp 2.0 Building PATH="/home/naourr/work/instance-2/output/host/bin:/home/naourr/work/instance-2/output/host/sbin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/naourr/bin:/home/naourr/git/git-wrappers:/home/naourr/.local/bin:/home/naourr/bin" CROSS_COMPILE="/home/naourr/work/instance-2/output/host/bin/arc-buildroot-linux-gnu-" KBUILD_OUTPUT=/home/naourr/work/instance-2/output/host/arc-buildroot-linux-gnu/sysroot /usr/bin/make -j4 prefix=/usr EXTRA_CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -g2 " EXTRA_LDFLAGS="" -C /home/naourr/work/instance-2/output/build/linuxptp-2.0 all make[1]: Entering directory '/home/naourr/work/instance-2/output/build/linuxptp-2.0' DEPEND timemaster.c DEPEND sysoff.c DEPEND pmc_common.c DEPEND pmc.c DEPEND phc_ctl.c DEPEND phc2sys.c DEPEND nsm.c DEPEND hwstamp_ctl.c DEPEND version.c DEPEND util.c DEPEND unicast_service.c DEPEND unicast_fsm.c DEPEND unicast_client.c DEPEND uds.c DEPEND udp6.c DEPEND udp.c DEPEND tsproc.c DEPEND transport.c DEPEND tlv.c DEPEND telecom.c DEPEND tc.c DEPEND stats.c DEPEND sk.c DEPEND servo.c DEPEND rtnl.c DEPEND raw.c DEPEND p2p_tc.c DEPEND ptp4l.c DEPEND print.c DEPEND pqueue.c DEPEND port_signaling.c DEPEND port.c DEPEND pi.c DEPEND phc.c DEPEND nullf.c DEPEND ntpshm.c DEPEND msg.c DEPEND mmedian.c DEPEND mave.c DEPEND linreg.c DEPEND hash.c DEPEND fsm.c DEPEND filter.c DEPEND fault.c DEPEND e2e_tc.c DEPEND config.c DEPEND clockcheck.c DEPEND clockadj.c DEPEND clock.c DEPEND bmc.c /home/naourr/work/instance-2/output/host/bin/arc-buildroot-linux-gnu-gcc -Wall -DVER=2.0 -D_GNU_SOURCE -DHAVE_CLOCK_ADJTIME -DHAVE_POSIX_SPAWN -I/home/naourr/work/instance-2/output/host/arc-buildroot-linux-gnu/sysroot/usr/include -DHAVE_ONESTEP_SYNC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -g2 -c -o ptp4l.o ptp4l.c /home/naourr/work/instance-2/output/host/bin/arc-buildroot-linux-gnu-gcc -Wall -DVER=2.0 -D_GNU_SOURCE -DHAVE_CLOCK_ADJTIME -DHAVE_POSIX_SPAWN -I/home/naourr/work/instance-2/output/host/arc-buildroot-linux-gnu/sysroot/usr/include -DHAVE_ONESTEP_SYNC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -g2 -c -o bmc.o bmc.c /home/naourr/work/instance-2/output/host/bin/arc-buildroot-linux-gnu-gcc -Wall -DVER=2.0 -D_GNU_SOURCE -DHAVE_CLOCK_ADJTIME -DHAVE_POSIX_SPAWN -I/home/naourr/work/instance-2/output/host/arc-buildroot-linux-gnu/sysroot/usr/include -DHAVE_ONESTEP_SYNC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -g2 -c -o clock.o clock.c /home/naourr/work/instance-2/output/host/bin/arc-buildroot-linux-gnu-gcc -Wall -DVER=2.0 -D_GNU_SOURCE -DHAVE_CLOCK_ADJTIME -DHAVE_POSIX_SPAWN -I/home/naourr/work/instance-2/output/host/arc-buildroot-linux-gnu/sysroot/usr/include -DHAVE_ONESTEP_SYNC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -g2 -c -o clockadj.o clockadj.c In file included from clock.c:20: /home/naourr/work/instance-2/output/host/arc-buildroot-linux-gnu/sysroot/usr/include/linux/net_tstamp.h:158:2: error: unknown type name 'clockid_t' clockid_t clockid; /* reference clockid */ ^~~~~~~~~ make[1]: *** [: clock.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/home/naourr/work/instance-2/output/build/linuxptp-2.0' make: *** [package/pkg-generic.mk:233: /home/naourr/work/instance-2/output/build/linuxptp-2.0/.stamp_built] Error 2 make: Leaving directory '/home/naourr/work/instance-2/buildroot'