>>> libbpf 1.1.0 Downloading wget --passive-ftp -nd -t 3 --no-check-certificate -O '/home/buildroot/instance-0/output-1/build/.libbpf-1.1.0.tar.gz.9S0mCx/output' 'https://github.com/libbpf/libbpf/archive/v1.1.0/libbpf-1.1.0.tar.gz' --2024-04-25 03:34:04-- https://github.com/libbpf/libbpf/archive/v1.1.0/libbpf-1.1.0.tar.gz Resolving github.com (github.com)... 140.82.121.4 Connecting to github.com (github.com)|140.82.121.4|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/libbpf/libbpf/tar.gz/refs/tags/v1.1.0 [following] --2024-04-25 03:34:05-- https://codeload.github.com/libbpf/libbpf/tar.gz/refs/tags/v1.1.0 Resolving codeload.github.com (codeload.github.com)... 140.82.121.9 Connecting to codeload.github.com (codeload.github.com)|140.82.121.9|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-gzip] Saving to: '/home/buildroot/instance-0/output-1/build/.libbpf-1.1.0.tar.gz.9S0mCx/output' 0K .......... .......... .......... .......... .......... 1.76M 50K .......... .......... .......... .......... .......... 3.61M 100K .......... .......... .......... .......... .......... 69.6M 150K .......... .......... .......... .......... .......... 3.63M 200K .......... .......... .......... .......... .......... 64.9M 250K .......... .......... .......... .......... .......... 79.0M 300K .......... .......... .......... .......... .......... 4.02M 350K .......... .......... .......... .......... .......... 70.7M 400K .......... .......... .......... .......... .......... 68.3M 450K .......... .......... .......... .......... .......... 70.8M 500K .......... .......... .......... .......... .......... 82.1M 550K .......... .......... .......... .......... .......... 83.6M 600K .......... .......... .......... .......... .......... 80.1M 650K .......... .......... .......... .......... .......... 4.92M 700K .......... .......... .......... .......... .......... 71.8M 750K .......... .......... .......... .......... .......... 75.0M 800K .......... .......... .......... .......... .......... 65.9M 850K .......... .......... .......... .......... .......... 69.5M 900K .......... .......... .......... .......... .......... 71.0M 950K .......... .......... .......... .......... .......... 86.2M 1000K .......... .......... .......... .......... .......... 78.7M 1050K .......... .......... .......... .......... .......... 77.6M 1100K .......... .......... .......... .......... .......... 82.4M 1150K .......... .......... .......... .......... .......... 67.4M 1200K .......... .......... .......... .......... .......... 17.7M 1250K .......... .......... .......... .......... .......... 17.6M 1300K .......... .......... .......... .......... .......... 22.8M 1350K .......... .......... .......... .......... .......... 17.8M 1400K .......... .......... .......... .......... .......... 24.1M 1450K .......... .......... .......... .......... .......... 22.3M 1500K .......... .......... .......... .......... .......... 33.5M 1550K .......... .......... .......... .......... .......... 30.1M 1600K .......... .......... .......... .......... .......... 11.7M 1650K .......... .......... .......... .......... .......... 34.0M 1700K .......... .......... .......... .......... .......... 6.87M 1750K .......... .......... .......... .......... .......... 63.5M 1800K .......... .......... .......... .......... .......... 64.0M 1850K .......... .......... .......... .......... .......... 4.96M 1900K .......... .......... .......... .......... .......... 8.31M 1950K .......... .......... .......... .......... .......... 5.35M 2000K .......... .......... .......... .......... .......... 4.98M 2050K .......... .......... .......... .......... .......... 6.24M 2100K .......... .......... .......... .......... .......... 5.35M 2150K .......... .......... .......... .......... .......... 77.1M 2200K .......... .......... .......... .......... .......... 6.17M 2250K .......... .......... .......... ... 9.56M=0.2s 2024-04-25 03:34:05 (12.1 MB/s) - '/home/buildroot/instance-0/output-1/build/.libbpf-1.1.0.tar.gz.9S0mCx/output' saved [2337951] libbpf-1.1.0.tar.gz: OK (sha256: 5da826c968fdb8a2f714701cfef7a4b7078be030cf58b56143b245816301cbb8) >>> libbpf 1.1.0 Extracting gzip -d -c /home/buildroot/instance-0/dl/libbpf/libbpf-1.1.0.tar.gz | tar --strip-components=1 -C /home/buildroot/instance-0/output-1/build/libbpf-1.1.0 -xf - >>> libbpf 1.1.0 Patching >>> libbpf 1.1.0 Configuring >>> libbpf 1.1.0 Building GIT_DIR=. PATH="/home/buildroot/instance-0/output-1/host/bin:/home/buildroot/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" GIT_DIR=. PATH="/home/buildroot/instance-0/output-1/host/bin:/home/buildroot/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" AR="/home/buildroot/instance-0/output-1/host/bin/mips64el-linux-gcc-ar" AS="/home/buildroot/instance-0/output-1/host/bin/mips64el-linux-as" LD="/home/buildroot/instance-0/output-1/host/bin/mips64el-linux-ld" NM="/home/buildroot/instance-0/output-1/host/bin/mips64el-linux-gcc-nm" CC="/home/buildroot/instance-0/output-1/host/bin/mips64el-linux-gcc" GCC="/home/buildroot/instance-0/output-1/host/bin/mips64el-linux-gcc" CPP="/home/buildroot/instance-0/output-1/host/bin/mips64el-linux-cpp" CXX="/home/buildroot/instance-0/output-1/host/bin/mips64el-linux-g++" FC="/home/buildroot/instance-0/output-1/host/bin/mips64el-linux-gfortran" F77="/home/buildroot/instance-0/output-1/host/bin/mips64el-linux-gfortran" RANLIB="/home/buildroot/instance-0/output-1/host/bin/mips64el-linux-gcc-ranlib" READELF="/home/buildroot/instance-0/output-1/host/bin/mips64el-linux-readelf" STRIP="/home/buildroot/instance-0/output-1/host/bin/mips64el-linux-strip" OBJCOPY="/home/buildroot/instance-0/output-1/host/bin/mips64el-linux-objcopy" OBJDUMP="/home/buildroot/instance-0/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/instance-0/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/buildroot/instance-0/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/buildroot/instance-0/output-1/host/include" LDFLAGS_FOR_BUILD="-L/home/buildroot/instance-0/output-1/host/lib -Wl,-rpath,/home/buildroot/instance-0/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/buildroot/instance-0/output-1/host/bin/mips64el-linux-as" DEFAULT_LINKER="/home/buildroot/instance-0/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 -O2 -g0 " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 " LDFLAGS="" FCFLAGS=" -O2 -g0" FFLAGS=" -O2 -g0" PKG_CONFIG="/home/buildroot/instance-0/output-1/host/bin/pkg-config" STAGING_DIR="/home/buildroot/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot" INTLTOOL_PERL=/usr/bin/perl /usr/bin/make -j17 -C /home/buildroot/instance-0/output-1/build/libbpf-1.1.0/src make[1]: Entering directory '/home/buildroot/instance-0/output-1/build/libbpf-1.1.0/src' MKDIR staticobjs MKDIR sharedobjs CC staticobjs/bpf.o CC staticobjs/btf.o CC staticobjs/libbpf.o CC staticobjs/libbpf_errno.o CC staticobjs/netlink.o CC staticobjs/nlattr.o CC staticobjs/str_error.o CC staticobjs/libbpf_probes.o CC staticobjs/bpf_prog_linfo.o CC staticobjs/btf_dump.o CC staticobjs/hashmap.o CC staticobjs/ringbuf.o CC staticobjs/strset.o CC staticobjs/linker.o CC staticobjs/gen_loader.o CC staticobjs/relo_core.o CC staticobjs/usdt.o CC sharedobjs/bpf.o 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 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 make[1]: *** [Makefile:130: staticobjs/libbpf_errno.o] Error 1 make[1]: *** Waiting for unfinished jobs.... 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 nlattr.c:14: 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 libbpf_probes.c:18: 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 make[1]: *** [Makefile:130: staticobjs/nlattr.o] Error 1 In file included from bpf_prog_linfo.c:9: 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 netlink.c:18: 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 make[1]: *** [Makefile:130: staticobjs/bpf.o] Error 1 make[1]: *** [Makefile:130: staticobjs/libbpf_probes.o] Error 1 In file included from btf_dump.c:23: libbpf_internal.h: In function 'ensure_good_fd': In file included from strset.c:9: 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 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 make[1]: *** [Makefile:130: staticobjs/bpf_prog_linfo.o] Error 1 make[1]: *** [Makefile:130: staticobjs/strset.o] Error 1 In file included from gen_loader.c:12: 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 linker.c:21: 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 make[1]: *** [Makefile:130: staticobjs/netlink.o] Error 1 In file included from usdt.c:21: 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 make[1]: *** [Makefile:130: staticobjs/gen_loader.o] Error 1 make[1]: *** [Makefile:130: staticobjs/usdt.o] Error 1 make[1]: *** [Makefile:130: staticobjs/btf.o] Error 1 make[1]: *** [Makefile:130: staticobjs/btf_dump.o] Error 1 make[1]: *** [Makefile:130: staticobjs/linker.o] Error 1 In file included from relo_core.c:68: 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 make[1]: *** [Makefile:130: staticobjs/relo_core.o] Error 1 make[1]: *** [Makefile:135: sharedobjs/bpf.o] Error 1 make[1]: Leaving directory '/home/buildroot/instance-0/output-1/build/libbpf-1.1.0/src' make: *** [package/pkg-generic.mk:283: /home/buildroot/instance-0/output-1/build/libbpf-1.1.0/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/instance-0/buildroot'