>>> libbpf 1.0.1 Extracting gzip -d -c /home/buildroot/autobuild/run/instance-2/dl/libbpf/libbpf-1.0.1.tar.gz | tar --strip-components=1 -C /home/buildroot/autobuild/run/instance-2/output-1/build/libbpf-1.0.1 -xf - >>> libbpf 1.0.1 Patching Applying 0001-Makefile-Fix-cross-compilation-for-32-bit-targets.patch using patch: patching file src/Makefile >>> libbpf 1.0.1 Configuring >>> libbpf 1.0.1 Building PATH="/home/buildroot/autobuild/run/instance-2/output-1/host/bin:/home/buildroot/autobuild/run/instance-2/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" PATH="/home/buildroot/autobuild/run/instance-2/output-1/host/bin:/home/buildroot/autobuild/run/instance-2/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" AR="/home/buildroot/autobuild/run/instance-2/output-1/host/bin/mips64el-linux-gcc-ar" AS="/home/buildroot/autobuild/run/instance-2/output-1/host/bin/mips64el-linux-as" LD="/home/buildroot/autobuild/run/instance-2/output-1/host/bin/mips64el-linux-ld" NM="/home/buildroot/autobuild/run/instance-2/output-1/host/bin/mips64el-linux-gcc-nm" CC="/home/buildroot/autobuild/run/instance-2/output-1/host/bin/mips64el-linux-gcc" GCC="/home/buildroot/autobuild/run/instance-2/output-1/host/bin/mips64el-linux-gcc" CPP="/home/buildroot/autobuild/run/instance-2/output-1/host/bin/mips64el-linux-cpp" CXX="/home/buildroot/autobuild/run/instance-2/output-1/host/bin/mips64el-linux-g++" FC="/home/buildroot/autobuild/run/instance-2/output-1/host/bin/mips64el-linux-gfortran" F77="/home/buildroot/autobuild/run/instance-2/output-1/host/bin/mips64el-linux-gfortran" RANLIB="/home/buildroot/autobuild/run/instance-2/output-1/host/bin/mips64el-linux-gcc-ranlib" READELF="/home/buildroot/autobuild/run/instance-2/output-1/host/bin/mips64el-linux-readelf" STRIP="/home/buildroot/autobuild/run/instance-2/output-1/host/bin/mips64el-linux-strip" OBJCOPY="/home/buildroot/autobuild/run/instance-2/output-1/host/bin/mips64el-linux-objcopy" OBJDUMP="/home/buildroot/autobuild/run/instance-2/output-1/host/bin/mips64el-linux-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/home/buildroot/autobuild/run/instance-2/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/buildroot/autobuild/run/instance-2/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/buildroot/autobuild/run/instance-2/output-1/host/include" LDFLAGS_FOR_BUILD="-L/home/buildroot/autobuild/run/instance-2/output-1/host/lib -Wl,-rpath,/home/buildroot/autobuild/run/instance-2/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/buildroot/autobuild/run/instance-2/output-1/host/bin/mips64el-linux-as" DEFAULT_LINKER="/home/buildroot/autobuild/run/instance-2/output-1/host/bin/mips64el-linux-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 " LDFLAGS="" FCFLAGS=" -Os -g0" FFLAGS=" -Os -g0" PKG_CONFIG="/home/buildroot/autobuild/run/instance-2/output-1/host/bin/pkg-config" STAGING_DIR="/home/buildroot/autobuild/run/instance-2/output-1/host/mips64el-buildroot-linux-uclibc/sysroot" INTLTOOL_PERL=/usr/bin/perl /usr/bin/make -j4 -C /home/buildroot/autobuild/run/instance-2/output-1/build/libbpf-1.0.1/src make[1]: Entering directory '/home/buildroot/autobuild/run/instance-2/output-1/build/libbpf-1.0.1/src' MKDIR staticobjs MKDIR sharedobjs CC staticobjs/bpf.o CC staticobjs/btf.o CC staticobjs/libbpf.o CC staticobjs/libbpf_errno.o In file included from btf.c:22: libbpf_internal.h: In function 'ensure_good_fd': libbpf_internal.h:543:18: error: 'F_DUPFD_CLOEXEC' undeclared (first use in this function); did you mean 'FD_CLOEXEC'? fd = fcntl(fd, F_DUPFD_CLOEXEC, 3); ^~~~~~~~~~~~~~~ FD_CLOEXEC libbpf_internal.h:543:18: note: each undeclared identifier is reported only once for each function it appears in In file included from bpf.c:37: libbpf_internal.h: In function 'ensure_good_fd': libbpf_internal.h:543:18: error: 'F_DUPFD_CLOEXEC' undeclared (first use in this function); did you mean 'FD_CLOEXEC'? fd = fcntl(fd, F_DUPFD_CLOEXEC, 3); ^~~~~~~~~~~~~~~ FD_CLOEXEC libbpf_internal.h:543:18: note: each undeclared identifier is reported only once for each function it appears in Makefile:130: recipe for target 'staticobjs/bpf.o' failed make[1]: *** [staticobjs/bpf.o] Error 1 make[1]: *** Waiting for unfinished jobs.... In file included from libbpf_errno.c:15: libbpf_internal.h: In function 'ensure_good_fd': libbpf_internal.h:543:18: error: 'F_DUPFD_CLOEXEC' undeclared (first use in this function); did you mean 'FD_CLOEXEC'? fd = fcntl(fd, F_DUPFD_CLOEXEC, 3); ^~~~~~~~~~~~~~~ FD_CLOEXEC libbpf_internal.h:543:18: note: each undeclared identifier is reported only once for each function it appears in Makefile:130: recipe for target 'staticobjs/libbpf_errno.o' failed make[1]: *** [staticobjs/libbpf_errno.o] Error 1 Makefile:130: recipe for target 'staticobjs/btf.o' failed make[1]: *** [staticobjs/btf.o] Error 1 make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-2/output-1/build/libbpf-1.0.1/src' package/pkg-generic.mk:290: recipe for target '/home/buildroot/autobuild/run/instance-2/output-1/build/libbpf-1.0.1/.stamp_built' failed make: *** [/home/buildroot/autobuild/run/instance-2/output-1/build/libbpf-1.0.1/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/run/instance-2/buildroot'