Applying /builder/shared-workdir/build/sdk/feeds/packages/libs/libpfring/patches/001-fix-cross-compiling.patch using plaintext: patching file userland/configure Applying /builder/shared-workdir/build/sdk/feeds/packages/libs/libpfring/patches/002-Fix-compilation-on-6.18.57.patch using plaintext: patching file kernel/pf_ring.c Applying /builder/shared-workdir/build/sdk/feeds/packages/libs/libpfring/patches/100-fix-compilation-warning.patch using plaintext: patching file kernel/pf_ring.c configure: WARNING: unrecognized options: --disable-dependency-tracking, --disable-nls configure: loading site script /builder/shared-workdir/build/sdk/include/site/cache checking for aarch64-openwrt-linux-gcc... aarch64-openwrt-linux-musl-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... yes checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether aarch64-openwrt-linux-musl-gcc accepts -g... yes checking for aarch64-openwrt-linux-musl-gcc option to enable C11 features... none needed checking for flex... flex checking for bison... bison checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for linux/net_tstamp.h... yes checking for librdi.h... no cc1: error: unknown value 'native' for '-march' cc1: note: valid arguments are: armv8-a armv8.1-a armv8.2-a armv8.3-a armv8.4-a armv8.5-a armv8.6-a armv8.7-a armv8.8-a armv8.9-a armv8-r armv9-a armv9.1-a armv9.2-a armv9.3-a armv9.4-a armv9.5-a checking for hiredis/hiredis.h... yes checking for clock_gettime in -lrt... yes checking for nl_handle_alloc in -lnl... no checking for dlopen, dlsym in -ldl... yes checking for nl_socket_alloc in -lnl-3... (cached) no checking for pthread_setaffinity_np in -lpthread... yes checking PF_RING ZC support... no checking PF_RING FT support... yes checking PF_RING NPCAP support... no no checking Mellanox support (x64 and aarch64)... yes checking PF_RING AF_XDP support... no configure: creating ./config.status config.status: creating lib/Makefile config.status: creating lib/pfring_config config.status: creating examples/Makefile config.status: creating examples_zc/Makefile config.status: creating examples_ft/Makefile config.status: creating c++/Makefile config.status: creating nbpf/Makefile config.status: creating wireshark/extcap/Makefile config.status: creating lib/config.h configure: WARNING: unrecognized options: --disable-dependency-tracking, --disable-nls make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_musl/linux-bcm27xx_bcm2712/linux-6.18.64' make[5]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_musl/PF_RING-9.4.0/kernel' CC [M] pf_ring.o pf_ring.c:5851:50: error: 'struct sockaddr_unsized' declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 5851 | static int ring_bind(struct socket *sock, struct sockaddr_unsized *sa, int addr_len) | ^~~~~~~~~~~~~~~~ pf_ring.c:8746:11: error: initialization of 'int (*)(struct socket *, struct sockaddr *, int)' from incompatible pointer type 'int (*)(struct socket *, struct sockaddr_unsized *, int)' [-Wincompatible-pointer-types] 8746 | .bind = ring_bind, | ^~~~~~~~~ pf_ring.c:8746:11: note: (near initialization for 'ring_ops.bind') pf_ring.c:5851:12: note: 'ring_bind' declared here 5851 | static int ring_bind(struct socket *sock, struct sockaddr_unsized *sa, int addr_len) | ^~~~~~~~~ cc1: all warnings being treated as errors make[7]: *** [/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_musl/linux-bcm27xx_bcm2712/linux-6.18.64/scripts/Makefile.build:287: pf_ring.o] Error 1 make[6]: *** [/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_musl/linux-bcm27xx_bcm2712/linux-6.18.64/Makefile:2056: .] Error 2 make[5]: *** [/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_musl/linux-bcm27xx_bcm2712/linux-6.18.64/Makefile:248: __sub-make] Error 2 make[5]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_musl/PF_RING-9.4.0/kernel' make[4]: *** [Makefile:248: __sub-make] Error 2 make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_musl/linux-bcm27xx_bcm2712/linux-6.18.64' make[3]: *** [Makefile:91: /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_musl/PF_RING-9.4.0/.built] Error 2 time: package/feeds/packages/libpfring/compile#5.21#2.08#20.15