Applying ./patches/0001-fix-cross-compiling.patch using plaintext: 
patching file userland/configure

Applying ./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/arm
checking for arm-openwrt-linux-gcc... arm-openwrt-linux-muslgnueabi-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 we are using the GNU C compiler... yes
checking whether arm-openwrt-linux-muslgnueabi-gcc accepts -g... yes
checking for arm-openwrt-linux-muslgnueabi-gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... arm-openwrt-linux-muslgnueabi-gcc -E
checking for grep that handles long lines and -e... /builder/shared-workdir/build/sdk/staging_dir/host/bin/grep
checking for egrep... /builder/shared-workdir/build/sdk/staging_dir/host/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking linux/net_tstamp.h usability... yes
checking linux/net_tstamp.h presence... yes
checking for linux/net_tstamp.h... yes
checking librdi.h usability... no
checking librdi.h presence... no
checking for librdi.h... no
arm-openwrt-linux-muslgnueabi-gcc: error: unrecognized -march target: native
arm-openwrt-linux-muslgnueabi-gcc: note: valid arguments are: armv4 armv4t armv5t armv5te armv5tej armv6 armv6j armv6k armv6z armv6kz armv6zk armv6t2 armv6-m armv6s-m armv7 armv7-a armv7ve armv7-r armv7-m armv7e-m armv8-a armv8.1-a armv8.2-a armv8.3-a armv8.4-a armv8.5-a armv8.6-a armv8-m.base armv8-m.main armv8-r armv8.1-m.main armv9-a iwmmxt iwmmxt2
arm-openwrt-linux-muslgnueabi-gcc: error: missing argument to '-march='
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 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-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-armsr_armv7/linux-6.1.35'
  CC [M]  /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-armsr_armv7/PF_RING-8.0.0/kernel/pf_ring.o
/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-armsr_armv7/PF_RING-8.0.0/kernel/pf_ring.c: In function 'ring_proc_open':
/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-armsr_armv7/PF_RING-8.0.0/kernel/pf_ring.c:1158:48: error: implicit declaration of function 'PDE_DATA'; did you mean 'NODE_DATA'? [-Werror=implicit-function-declaration]
 1158 |   return single_open(file, ring_proc_get_info, PDE_DATA(inode));
      |                                                ^~~~~~~~
      |                                                NODE_DATA
/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-armsr_armv7/PF_RING-8.0.0/kernel/pf_ring.c:1158:48: error: passing argument 3 of 'single_open' makes pointer from integer without a cast [-Werror=int-conversion]
 1158 |   return single_open(file, ring_proc_get_info, PDE_DATA(inode));
      |                                                ^~~~~~~~~~~~~~~
      |                                                |
      |                                                int
In file included from ./include/linux/seq_file_net.h:5,
                 from ./include/net/net_namespace.h:191,
                 from ./include/linux/netdevice.h:38,
                 from ./include/linux/rtnetlink.h:7,
                 from /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-armsr_armv7/PF_RING-8.0.0/kernel/pf_ring.c:84:
./include/linux/seq_file.h:166:68: note: expected 'void *' but argument is of type 'int'
  166 | int single_open(struct file *, int (*)(struct seq_file *, void *), void *);
      |                                                                    ^~~~~~
/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-armsr_armv7/PF_RING-8.0.0/kernel/pf_ring.c: In function 'ring_proc_virtual_filtering_open':
/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-armsr_armv7/PF_RING-8.0.0/kernel/pf_ring.c:4625:70: error: passing argument 3 of 'single_open' makes pointer from integer without a cast [-Werror=int-conversion]
 4625 |   return single_open(file, ring_proc_virtual_filtering_dev_get_info, PDE_DATA(inode));
      |                                                                      ^~~~~~~~~~~~~~~
      |                                                                      |
      |                                                                      int
./include/linux/seq_file.h:166:68: note: expected 'void *' but argument is of type 'int'
  166 | int single_open(struct file *, int (*)(struct seq_file *, void *), void *);
      |                                                                    ^~~~~~
In file included from ./include/linux/byteorder/little_endian.h:5,
                 from ./arch/arm/include/uapi/asm/byteorder.h:22,
                 from ./include/asm-generic/bitops/le.h:6,
                 from ./arch/arm/include/asm/bitops.h:269,
                 from ./include/linux/bitops.h:68,
                 from ./include/linux/log2.h:12,
                 from ./include/asm-generic/div64.h:55,
                 from ./arch/arm/include/asm/div64.h:107,
                 from ./include/linux/math.h:6,
                 from ./include/linux/math64.h:6,
                 from ./include/linux/time.h:6,
                 from ./include/linux/stat.h:19,
                 from ./include/linux/module.h:13,
                 from /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-armsr_armv7/PF_RING-8.0.0/kernel/pf_ring.c:79:
/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-armsr_armv7/PF_RING-8.0.0/kernel/pf_ring.c: In function 'allocate_extra_dma_memory':
/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-armsr_armv7/PF_RING-8.0.0/kernel/pf_ring.c:4876:7: error: implicit declaration of function 'pci_map_single'; did you mean 'dma_map_single'? [-Werror=implicit-function-declaration]
 4876 |       pci_map_single(to_pci_dev(dma_memory->hwdev), slot,
      |       ^~~~~~~~~~~~~~
./include/uapi/linux/byteorder/little_endian.h:32:51: note: in definition of macro '__cpu_to_le64'
   32 | #define __cpu_to_le64(x) ((__force __le64)(__u64)(x))
      |                                                   ^
/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-armsr_armv7/PF_RING-8.0.0/kernel/pf_ring.c:4875:31: note: in expansion of macro 'cpu_to_le64'
 4875 |     dma_memory->dma_addr[i] = cpu_to_le64(
      |                               ^~~~~~~~~~~
/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-armsr_armv7/PF_RING-8.0.0/kernel/pf_ring.c:4878:22: error: 'PCI_DMA_BIDIRECTIONAL' undeclared (first use in this function); did you mean 'DMA_BIDIRECTIONAL'?
 4878 |                      PCI_DMA_BIDIRECTIONAL));
      |                      ^~~~~~~~~~~~~~~~~~~~~
./include/uapi/linux/byteorder/little_endian.h:32:51: note: in definition of macro '__cpu_to_le64'
   32 | #define __cpu_to_le64(x) ((__force __le64)(__u64)(x))
      |                                                   ^
/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-armsr_armv7/PF_RING-8.0.0/kernel/pf_ring.c:4875:31: note: in expansion of macro 'cpu_to_le64'
 4875 |     dma_memory->dma_addr[i] = cpu_to_le64(
      |                               ^~~~~~~~~~~
/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-armsr_armv7/PF_RING-8.0.0/kernel/pf_ring.c:4878:22: note: each undeclared identifier is reported only once for each function it appears in
 4878 |                      PCI_DMA_BIDIRECTIONAL));
      |                      ^~~~~~~~~~~~~~~~~~~~~
./include/uapi/linux/byteorder/little_endian.h:32:51: note: in definition of macro '__cpu_to_le64'
   32 | #define __cpu_to_le64(x) ((__force __le64)(__u64)(x))
      |                                                   ^
/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-armsr_armv7/PF_RING-8.0.0/kernel/pf_ring.c:4875:31: note: in expansion of macro 'cpu_to_le64'
 4875 |     dma_memory->dma_addr[i] = cpu_to_le64(
      |                               ^~~~~~~~~~~
In file included from ./include/linux/skbuff.h:31,
                 from /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-armsr_armv7/PF_RING-8.0.0/kernel/pf_ring.c:83:
/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-armsr_armv7/PF_RING-8.0.0/kernel/pf_ring.c: In function 'free_extra_dma_memory':
/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-armsr_armv7/PF_RING-8.0.0/kernel/pf_ring.c:4901:26: error: 'PCI_DMA_BIDIRECTIONAL' undeclared (first use in this function); did you mean 'DMA_BIDIRECTIONAL'?
 4901 |                          PCI_DMA_BIDIRECTIONAL);
      |                          ^~~~~~~~~~~~~~~~~~~~~
./include/linux/dma-mapping.h:412:70: note: in definition of macro 'dma_unmap_single'
  412 | #define dma_unmap_single(d, a, s, r) dma_unmap_single_attrs(d, a, s, r, 0)
      |                                                                      ^
/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-armsr_armv7/PF_RING-8.0.0/kernel/pf_ring.c: In function 'pf_ring_inject_packet_to_stack':
/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-armsr_armv7/PF_RING-8.0.0/kernel/pf_ring.c:5869:9: error: implicit declaration of function 'netif_rx_ni'; did you mean 'netif_rx'? [-Werror=implicit-function-declaration]
 5869 |   err = netif_rx_ni(skb);
      |         ^~~~~~~~~~~
      |         netif_rx
/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-armsr_armv7/PF_RING-8.0.0/kernel/pf_ring.c: In function 'ring_proc_stats_open':
/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-armsr_armv7/PF_RING-8.0.0/kernel/pf_ring.c:6721:50: error: passing argument 3 of 'single_open' makes pointer from integer without a cast [-Werror=int-conversion]
 6721 |   return single_open(file, ring_proc_stats_read, PDE_DATA(inode));
      |                                                  ^~~~~~~~~~~~~~~
      |                                                  |
      |                                                  int
./include/linux/seq_file.h:166:68: note: expected 'void *' but argument is of type 'int'
  166 | int single_open(struct file *, int (*)(struct seq_file *, void *), void *);
      |                                                                    ^~~~~~
/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-armsr_armv7/PF_RING-8.0.0/kernel/pf_ring.c: In function 'ring_getsockopt':
/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-armsr_armv7/PF_RING-8.0.0/kernel/pf_ring.c:7904:26: error: initialization discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
 7904 |         char *dev_addr = pfr->ring_dev->dev->dev_addr;
      |                          ^~~
/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-armsr_armv7/PF_RING-8.0.0/kernel/pf_ring.c: In function 'ring_proc_dev_open':
/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-armsr_armv7/PF_RING-8.0.0/kernel/pf_ring.c:8334:52: error: passing argument 3 of 'single_open' makes pointer from integer without a cast [-Werror=int-conversion]
 8334 |   return single_open(file, ring_proc_dev_get_info, PDE_DATA(inode));
      |                                                    ^~~~~~~~~~~~~~~
      |                                                    |
      |                                                    int
./include/linux/seq_file.h:166:68: note: expected 'void *' but argument is of type 'int'
  166 | int single_open(struct file *, int (*)(struct seq_file *, void *), void *);
      |                                                                    ^~~~~~
cc1: all warnings being treated as errors
make[5]: *** [scripts/Makefile.build:250: /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-armsr_armv7/PF_RING-8.0.0/kernel/pf_ring.o] Error 1
make[4]: *** [Makefile:2012: /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-armsr_armv7/PF_RING-8.0.0/kernel] Error 2
make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-armsr_armv7/linux-6.1.35'
make[3]: *** [Makefile:92: /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-armsr_armv7/PF_RING-8.0.0/.built] Error 2
time: package/feeds/packages/libpfring/compile#6.15#2.58#13.72