>>> linuxptp 2.0 Downloading --2019-02-27 04:15:02-- 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] --2019-02-27 04:15:02-- 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://kent.dl.sourceforge.net/project/linuxptp/v2.0/linuxptp-2.0.tgz [following] --2019-02-27 04:15:02-- https://kent.dl.sourceforge.net/project/linuxptp/v2.0/linuxptp-2.0.tgz Resolving kent.dl.sourceforge.net (kent.dl.sourceforge.net)... 212.219.56.185 Connecting to kent.dl.sourceforge.net (kent.dl.sourceforge.net)|212.219.56.185|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 184942 (181K) [application/octet-stream] Saving to: '/home/buildroot/autobuild/run/instance-2/output/build/.linuxptp-2.0.tgz.ObVw4y/output' 0K .......... .......... .......... .......... .......... 27% 6.14M 0s 50K .......... .......... .......... .......... .......... 55% 6.15M 0s 100K .......... .......... .......... .......... .......... 83% 278M 0s 150K .......... .......... .......... 100% 311M=0.02s 2019-02-27 04:15:02 (10.9 MB/s) - '/home/buildroot/autobuild/run/instance-2/output/build/.linuxptp-2.0.tgz.ObVw4y/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/buildroot/autobuild/run/instance-2/dl/linuxptp/linuxptp-2.0.tgz | tar --strip-components=1 -C /home/buildroot/autobuild/run/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/buildroot/autobuild/run/instance-2/output/host/bin:/home/buildroot/autobuild/run/instance-2/output/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin" CROSS_COMPILE="/home/buildroot/autobuild/run/instance-2/output/host/bin/aarch64-linux-gnu-" KBUILD_OUTPUT=/home/buildroot/autobuild/run/instance-2/output/host/aarch64-buildroot-linux-gnu/sysroot /usr/bin/make -j4 prefix=/usr EXTRA_CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 " EXTRA_LDFLAGS="" -C /home/buildroot/autobuild/run/instance-2/output/build/linuxptp-2.0 all make[1]: Entering directory '/home/buildroot/autobuild/run/instance-2/output/build/linuxptp-2.0' DEPEND pmc.c DEPEND timemaster.c DEPEND sysoff.c DEPEND pmc_common.c DEPEND phc_ctl.c DEPEND phc2sys.c DEPEND nsm.c DEPEND hwstamp_ctl.c DEPEND version.c DEPEND unicast_service.c DEPEND util.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 servo.c DEPEND sk.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/buildroot/autobuild/run/instance-2/output/host/bin/aarch64-linux-gnu-gcc -Wall -DVER=2.0 -D_GNU_SOURCE -DHAVE_CLOCK_ADJTIME -DHAVE_POSIX_SPAWN -I/home/buildroot/autobuild/run/instance-2/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/include -DHAVE_ONESTEP_SYNC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -c -o ptp4l.o ptp4l.c /home/buildroot/autobuild/run/instance-2/output/host/bin/aarch64-linux-gnu-gcc -Wall -DVER=2.0 -D_GNU_SOURCE -DHAVE_CLOCK_ADJTIME -DHAVE_POSIX_SPAWN -I/home/buildroot/autobuild/run/instance-2/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/include -DHAVE_ONESTEP_SYNC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -c -o bmc.o bmc.c /home/buildroot/autobuild/run/instance-2/output/host/bin/aarch64-linux-gnu-gcc -Wall -DVER=2.0 -D_GNU_SOURCE -DHAVE_CLOCK_ADJTIME -DHAVE_POSIX_SPAWN -I/home/buildroot/autobuild/run/instance-2/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/include -DHAVE_ONESTEP_SYNC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -c -o clock.o clock.c /home/buildroot/autobuild/run/instance-2/output/host/bin/aarch64-linux-gnu-gcc -Wall -DVER=2.0 -D_GNU_SOURCE -DHAVE_CLOCK_ADJTIME -DHAVE_POSIX_SPAWN -I/home/buildroot/autobuild/run/instance-2/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/include -DHAVE_ONESTEP_SYNC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -c -o clockadj.o clockadj.c In file included from clock.c:20: /home/buildroot/autobuild/run/instance-2/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/include/linux/net_tstamp.h:158:2: error: unknown type name 'clockid_t' clockid_t clockid; /* reference clockid */ ^~~~~~~~~ : recipe for target 'clock.o' failed make[1]: *** [clock.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-2/output/build/linuxptp-2.0' package/pkg-generic.mk:238: recipe for target '/home/buildroot/autobuild/run/instance-2/output/build/linuxptp-2.0/.stamp_built' failed make: *** [/home/buildroot/autobuild/run/instance-2/output/build/linuxptp-2.0/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/run/instance-2/buildroot'