Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- In file included from xdp_sample.bpf.c:3:
- ../../headers/bpf/vmlinux.h:37:2: error: redefinition of enumerator 'false'
- false = 0,
- ^
- /home/andre/src/openwrt/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/bpf-headers/include/linux/stddef.h:11:2: note: previous definition is here
- false = 0,
- ^
- In file included from xdp_sample.bpf.c:3:
- ../../headers/bpf/vmlinux.h:38:2: error: redefinition of enumerator 'true'
- true = 1,
- ^
- /home/andre/src/openwrt/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/bpf-headers/include/linux/stddef.h:12:2: note: previous definition is here
- true = 1
- ^
- In file included from xdp_sample.bpf.c:3:
- ../../headers/bpf/vmlinux.h:51:26: error: typedef redefinition with different types ('__kernel_ulong_t' (aka 'unsigned long') vs 'unsigned int')
- typedef __kernel_ulong_t __kernel_size_t;
- ^
- /home/andre/src/openwrt/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/bpf-headers/include/uapi/asm-generic/posix_types.h:68:22: note: previous definition is here
- typedef unsigned int __kernel_size_t;
- ^
- In file included from xdp_sample.bpf.c:3:
- ../../headers/bpf/vmlinux.h:53:25: error: typedef redefinition with different types ('__kernel_long_t' (aka 'long') vs 'int')
- typedef __kernel_long_t __kernel_ssize_t;
- ^
- /home/andre/src/openwrt/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/bpf-headers/include/uapi/asm-generic/posix_types.h:69:14: note: previous definition is here
- typedef int __kernel_ssize_t;
- ^
- In file included from xdp_sample.bpf.c:3:
- ../../headers/bpf/vmlinux.h:101:13: error: typedef redefinition with different types ('u64' (aka 'unsigned long long') vs 'u32' (aka 'unsigned int'))
- typedef u64 phys_addr_t;
- ^
- /home/andre/src/openwrt/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/bpf-headers/include/linux/types.h:155:13: note: previous definition is here
- typedef u32 phys_addr_t;
- ^
- In file included from xdp_sample.bpf.c:3:
- ../../headers/bpf/vmlinux.h:5:46: error: unknown attribute 'preserve_access_index' ignored [-Werror,-Wunknown-attributes]
- #pragma clang attribute push (__attribute__((preserve_access_index)), apply_to = record)
- ^~~~~~~~~~~~~~~~~~~~~
- ../../headers/bpf/vmlinux.h:113:9: note: when applied to this declaration
- typedef struct {
- ^
- ../../headers/bpf/vmlinux.h:115:3: error: typedef redefinition with different types ('struct atomic_t' vs 'struct atomic_t')
- } atomic_t;
- ^
- /home/andre/src/openwrt/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/bpf-headers/include/linux/types.h:168:3: note: previous definition is here
- } atomic_t;
- ^
- In file included from xdp_sample.bpf.c:3:
- ../../headers/bpf/vmlinux.h:5:46: error: unknown attribute 'preserve_access_index' ignored [-Werror,-Wunknown-attributes]
- #pragma clang attribute push (__attribute__((preserve_access_index)), apply_to = record)
- ^~~~~~~~~~~~~~~~~~~~~
- ../../headers/bpf/vmlinux.h:117:9: note: when applied to this declaration
- typedef struct {
- ^
- ../../headers/bpf/vmlinux.h:121:8: error: redefinition of 'list_head'
- struct list_head {
- ^
- /home/andre/src/openwrt/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/bpf-headers/include/linux/types.h:178:8: note: previous definition is here
- struct list_head {
- ^
- In file included from xdp_sample.bpf.c:3:
- ../../headers/bpf/vmlinux.h:5:46: error: unknown attribute 'preserve_access_index' ignored [-Werror,-Wunknown-attributes]
- #pragma clang attribute push (__attribute__((preserve_access_index)), apply_to = record)
- ^~~~~~~~~~~~~~~~~~~~~
- ../../headers/bpf/vmlinux.h:121:1: note: when applied to this declaration
- struct list_head {
- ^
- ../../headers/bpf/vmlinux.h:5:46: error: unknown attribute 'preserve_access_index' ignored [-Werror,-Wunknown-attributes]
- #pragma clang attribute push (__attribute__((preserve_access_index)), apply_to = record)
- ^~~~~~~~~~~~~~~~~~~~~
- ../../headers/bpf/vmlinux.h:126:1: note: when applied to this declaration
- struct hlist_node;
- ^
- ../../headers/bpf/vmlinux.h:128:8: error: redefinition of 'hlist_head'
- struct hlist_head {
- ^
- /home/andre/src/openwrt/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/bpf-headers/include/linux/types.h:182:8: note: previous definition is here
- struct hlist_head {
- ^
- In file included from xdp_sample.bpf.c:3:
- ../../headers/bpf/vmlinux.h:5:46: error: unknown attribute 'preserve_access_index' ignored [-Werror,-Wunknown-attributes]
- #pragma clang attribute push (__attribute__((preserve_access_index)), apply_to = record)
- ^~~~~~~~~~~~~~~~~~~~~
- ../../headers/bpf/vmlinux.h:128:1: note: when applied to this declaration
- struct hlist_head {
- ^
- ../../headers/bpf/vmlinux.h:132:8: error: redefinition of 'hlist_node'
- struct hlist_node {
- ^
- /home/andre/src/openwrt/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/bpf-headers/include/linux/types.h:186:8: note: previous definition is here
- struct hlist_node {
- ^
- In file included from xdp_sample.bpf.c:3:
- ../../headers/bpf/vmlinux.h:5:46: error: unknown attribute 'preserve_access_index' ignored [-Werror,-Wunknown-attributes]
- #pragma clang attribute push (__attribute__((preserve_access_index)), apply_to = record)
- ^~~~~~~~~~~~~~~~~~~~~
- ../../headers/bpf/vmlinux.h:132:1: note: when applied to this declaration
- struct hlist_node {
- ^
- ../../headers/bpf/vmlinux.h:5:46: error: unknown attribute 'preserve_access_index' ignored [-Werror,-Wunknown-attributes]
- #pragma clang attribute push (__attribute__((preserve_access_index)), apply_to = record)
- ^~~~~~~~~~~~~~~~~~~~~
- ../../headers/bpf/vmlinux.h:193:1: note: when applied to this declaration
- struct net_device {
- ^
- ../../headers/bpf/vmlinux.h:5:46: error: unknown attribute 'preserve_access_index' ignored [-Werror,-Wunknown-attributes]
- #pragma clang attribute push (__attribute__((preserve_access_index)), apply_to = record)
- ^~~~~~~~~~~~~~~~~~~~~
- ../../headers/bpf/vmlinux.h:205:1: note: when applied to this declaration
- struct ethhdr {
- ^
- ../../headers/bpf/vmlinux.h:5:46: error: unknown attribute 'preserve_access_index' ignored [-Werror,-Wunknown-attributes]
- #pragma clang attribute push (__attribute__((preserve_access_index)), apply_to = record)
- ^~~~~~~~~~~~~~~~~~~~~
- ../../headers/bpf/vmlinux.h:211:1: note: when applied to this declaration
- struct xdp_md {
- ^
- ../../headers/bpf/vmlinux.h:5:46: error: unknown attribute 'preserve_access_index' ignored [-Werror,-Wunknown-attributes]
- #pragma clang attribute push (__attribute__((preserve_access_index)), apply_to = record)
- ^~~~~~~~~~~~~~~~~~~~~
- ../../headers/bpf/vmlinux.h:220:1: note: when applied to this declaration
- struct xdp_cpumap_stats {
- ^
- ../../headers/bpf/vmlinux.h:5:46: error: unknown attribute 'preserve_access_index' ignored [-Werror,-Wunknown-attributes]
- #pragma clang attribute push (__attribute__((preserve_access_index)), apply_to = record)
- ^~~~~~~~~~~~~~~~~~~~~
- ../../headers/bpf/vmlinux.h:226:1: note: when applied to this declaration
- struct bpf_prog {
- ^
- ../../headers/bpf/vmlinux.h:5:46: error: unknown attribute 'preserve_access_index' ignored [-Werror,-Wunknown-attributes]
- #pragma clang attribute push (__attribute__((preserve_access_index)), apply_to = record)
- ^~~~~~~~~~~~~~~~~~~~~
- ../../headers/bpf/vmlinux.h:229:1: note: when applied to this declaration
- struct bpf_map {
- ^
- ../../headers/bpf/vmlinux.h:5:46: error: unknown attribute 'preserve_access_index' ignored [-Werror,-Wunknown-attributes]
- #pragma clang attribute push (__attribute__((preserve_access_index)), apply_to = record)
- ^~~~~~~~~~~~~~~~~~~~~
- ../../headers/bpf/vmlinux.h:232:1: note: when applied to this declaration
- struct pt_regs {
- ^
- ../../headers/bpf/vmlinux.h:5:46: error: unknown attribute 'preserve_access_index' ignored [-Werror,-Wunknown-attributes]
- #pragma clang attribute push (__attribute__((preserve_access_index)), apply_to = record)
- ^~~~~~~~~~~~~~~~~~~~~
- ../../headers/bpf/vmlinux.h:258:1: note: when applied to this declaration
- struct iphdr {
- ^
- ../../headers/bpf/vmlinux.h:5:46: error: unknown attribute 'preserve_access_index' ignored [-Werror,-Wunknown-attributes]
- #pragma clang attribute push (__attribute__((preserve_access_index)), apply_to = record)
- ^~~~~~~~~~~~~~~~~~~~~
- ../../headers/bpf/vmlinux.h:272:1: note: when applied to this declaration
- struct in6_addr {
- ^
- ../../headers/bpf/vmlinux.h:5:46: error: unknown attribute 'preserve_access_index' ignored [-Werror,-Wunknown-attributes]
- #pragma clang attribute push (__attribute__((preserve_access_index)), apply_to = record)
- ^~~~~~~~~~~~~~~~~~~~~
- ../../headers/bpf/vmlinux.h:273:2: note: when applied to this declaration
- union {
- ^
- ../../headers/bpf/vmlinux.h:5:46: error: unknown attribute 'preserve_access_index' ignored [-Werror,-Wunknown-attributes]
- #pragma clang attribute push (__attribute__((preserve_access_index)), apply_to = record)
- ^~~~~~~~~~~~~~~~~~~~~
- ../../headers/bpf/vmlinux.h:280:1: note: when applied to this declaration
- struct ipv6hdr {
- ^
- ../../headers/bpf/vmlinux.h:5:46: error: unknown attribute 'preserve_access_index' ignored [-Werror,-Wunknown-attributes]
- #pragma clang attribute push (__attribute__((preserve_access_index)), apply_to = record)
- ^~~~~~~~~~~~~~~~~~~~~
- ../../headers/bpf/vmlinux.h:299:1: note: when applied to this declaration
- struct bpf_cpumap_val {
- ^
- ../../headers/bpf/vmlinux.h:5:46: error: unknown attribute 'preserve_access_index' ignored [-Werror,-Wunknown-attributes]
- #pragma clang attribute push (__attribute__((preserve_access_index)), apply_to = record)
- ^~~~~~~~~~~~~~~~~~~~~
- ../../headers/bpf/vmlinux.h:301:2: note: when applied to this declaration
- union {
- ^
- ../../headers/bpf/vmlinux.h:5:46: error: unknown attribute 'preserve_access_index' ignored [-Werror,-Wunknown-attributes]
- #pragma clang attribute push (__attribute__((preserve_access_index)), apply_to = record)
- ^~~~~~~~~~~~~~~~~~~~~
- ../../headers/bpf/vmlinux.h:307:1: note: when applied to this declaration
- struct bpf_devmap_val {
- ^
- ../../headers/bpf/vmlinux.h:5:46: error: unknown attribute 'preserve_access_index' ignored [-Werror,-Wunknown-attributes]
- #pragma clang attribute push (__attribute__((preserve_access_index)), apply_to = record)
- ^~~~~~~~~~~~~~~~~~~~~
- ../../headers/bpf/vmlinux.h:309:2: note: when applied to this declaration
- union {
- ^
- ../../headers/bpf/vmlinux.h:5:46: error: unknown attribute 'preserve_access_index' ignored [-Werror,-Wunknown-attributes]
- #pragma clang attribute push (__attribute__((preserve_access_index)), apply_to = record)
- ^~~~~~~~~~~~~~~~~~~~~
- ../../headers/bpf/vmlinux.h:320:1: note: when applied to this declaration
- struct vlan_hdr {
- ^
- ../../headers/bpf/vmlinux.h:5:46: error: unknown attribute 'preserve_access_index' ignored [-Werror,-Wunknown-attributes]
- #pragma clang attribute push (__attribute__((preserve_access_index)), apply_to = record)
- ^~~~~~~~~~~~~~~~~~~~~
- ../../headers/bpf/vmlinux.h:325:1: note: when applied to this declaration
- struct udphdr {
- ^
- 32 errors generated.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement