Advertisement
Guest User

Untitled

a guest
Jan 20th, 2023
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.95 KB | None | 0 0
  1. In file included from xdp_sample.bpf.c:3:
  2. ../../headers/bpf/vmlinux.h:37:2: error: redefinition of enumerator 'false'
  3. false = 0,
  4. ^
  5. /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
  6. false = 0,
  7. ^
  8. In file included from xdp_sample.bpf.c:3:
  9. ../../headers/bpf/vmlinux.h:38:2: error: redefinition of enumerator 'true'
  10. true = 1,
  11. ^
  12. /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
  13. true = 1
  14. ^
  15. In file included from xdp_sample.bpf.c:3:
  16. ../../headers/bpf/vmlinux.h:51:26: error: typedef redefinition with different types ('__kernel_ulong_t' (aka 'unsigned long') vs 'unsigned int')
  17. typedef __kernel_ulong_t __kernel_size_t;
  18. ^
  19. /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
  20. typedef unsigned int __kernel_size_t;
  21. ^
  22. In file included from xdp_sample.bpf.c:3:
  23. ../../headers/bpf/vmlinux.h:53:25: error: typedef redefinition with different types ('__kernel_long_t' (aka 'long') vs 'int')
  24. typedef __kernel_long_t __kernel_ssize_t;
  25. ^
  26. /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
  27. typedef int __kernel_ssize_t;
  28. ^
  29. In file included from xdp_sample.bpf.c:3:
  30. ../../headers/bpf/vmlinux.h:101:13: error: typedef redefinition with different types ('u64' (aka 'unsigned long long') vs 'u32' (aka 'unsigned int'))
  31. typedef u64 phys_addr_t;
  32. ^
  33. /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
  34. typedef u32 phys_addr_t;
  35. ^
  36. In file included from xdp_sample.bpf.c:3:
  37. ../../headers/bpf/vmlinux.h:5:46: error: unknown attribute 'preserve_access_index' ignored [-Werror,-Wunknown-attributes]
  38. #pragma clang attribute push (__attribute__((preserve_access_index)), apply_to = record)
  39. ^~~~~~~~~~~~~~~~~~~~~
  40. ../../headers/bpf/vmlinux.h:113:9: note: when applied to this declaration
  41. typedef struct {
  42. ^
  43. ../../headers/bpf/vmlinux.h:115:3: error: typedef redefinition with different types ('struct atomic_t' vs 'struct atomic_t')
  44. } atomic_t;
  45. ^
  46. /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
  47. } atomic_t;
  48. ^
  49. In file included from xdp_sample.bpf.c:3:
  50. ../../headers/bpf/vmlinux.h:5:46: error: unknown attribute 'preserve_access_index' ignored [-Werror,-Wunknown-attributes]
  51. #pragma clang attribute push (__attribute__((preserve_access_index)), apply_to = record)
  52. ^~~~~~~~~~~~~~~~~~~~~
  53. ../../headers/bpf/vmlinux.h:117:9: note: when applied to this declaration
  54. typedef struct {
  55. ^
  56. ../../headers/bpf/vmlinux.h:121:8: error: redefinition of 'list_head'
  57. struct list_head {
  58. ^
  59. /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
  60. struct list_head {
  61. ^
  62. In file included from xdp_sample.bpf.c:3:
  63. ../../headers/bpf/vmlinux.h:5:46: error: unknown attribute 'preserve_access_index' ignored [-Werror,-Wunknown-attributes]
  64. #pragma clang attribute push (__attribute__((preserve_access_index)), apply_to = record)
  65. ^~~~~~~~~~~~~~~~~~~~~
  66. ../../headers/bpf/vmlinux.h:121:1: note: when applied to this declaration
  67. struct list_head {
  68. ^
  69. ../../headers/bpf/vmlinux.h:5:46: error: unknown attribute 'preserve_access_index' ignored [-Werror,-Wunknown-attributes]
  70. #pragma clang attribute push (__attribute__((preserve_access_index)), apply_to = record)
  71. ^~~~~~~~~~~~~~~~~~~~~
  72. ../../headers/bpf/vmlinux.h:126:1: note: when applied to this declaration
  73. struct hlist_node;
  74. ^
  75. ../../headers/bpf/vmlinux.h:128:8: error: redefinition of 'hlist_head'
  76. struct hlist_head {
  77. ^
  78. /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
  79. struct hlist_head {
  80. ^
  81. In file included from xdp_sample.bpf.c:3:
  82. ../../headers/bpf/vmlinux.h:5:46: error: unknown attribute 'preserve_access_index' ignored [-Werror,-Wunknown-attributes]
  83. #pragma clang attribute push (__attribute__((preserve_access_index)), apply_to = record)
  84. ^~~~~~~~~~~~~~~~~~~~~
  85. ../../headers/bpf/vmlinux.h:128:1: note: when applied to this declaration
  86. struct hlist_head {
  87. ^
  88. ../../headers/bpf/vmlinux.h:132:8: error: redefinition of 'hlist_node'
  89. struct hlist_node {
  90. ^
  91. /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
  92. struct hlist_node {
  93. ^
  94. In file included from xdp_sample.bpf.c:3:
  95. ../../headers/bpf/vmlinux.h:5:46: error: unknown attribute 'preserve_access_index' ignored [-Werror,-Wunknown-attributes]
  96. #pragma clang attribute push (__attribute__((preserve_access_index)), apply_to = record)
  97. ^~~~~~~~~~~~~~~~~~~~~
  98. ../../headers/bpf/vmlinux.h:132:1: note: when applied to this declaration
  99. struct hlist_node {
  100. ^
  101. ../../headers/bpf/vmlinux.h:5:46: error: unknown attribute 'preserve_access_index' ignored [-Werror,-Wunknown-attributes]
  102. #pragma clang attribute push (__attribute__((preserve_access_index)), apply_to = record)
  103. ^~~~~~~~~~~~~~~~~~~~~
  104. ../../headers/bpf/vmlinux.h:193:1: note: when applied to this declaration
  105. struct net_device {
  106. ^
  107. ../../headers/bpf/vmlinux.h:5:46: error: unknown attribute 'preserve_access_index' ignored [-Werror,-Wunknown-attributes]
  108. #pragma clang attribute push (__attribute__((preserve_access_index)), apply_to = record)
  109. ^~~~~~~~~~~~~~~~~~~~~
  110. ../../headers/bpf/vmlinux.h:205:1: note: when applied to this declaration
  111. struct ethhdr {
  112. ^
  113. ../../headers/bpf/vmlinux.h:5:46: error: unknown attribute 'preserve_access_index' ignored [-Werror,-Wunknown-attributes]
  114. #pragma clang attribute push (__attribute__((preserve_access_index)), apply_to = record)
  115. ^~~~~~~~~~~~~~~~~~~~~
  116. ../../headers/bpf/vmlinux.h:211:1: note: when applied to this declaration
  117. struct xdp_md {
  118. ^
  119. ../../headers/bpf/vmlinux.h:5:46: error: unknown attribute 'preserve_access_index' ignored [-Werror,-Wunknown-attributes]
  120. #pragma clang attribute push (__attribute__((preserve_access_index)), apply_to = record)
  121. ^~~~~~~~~~~~~~~~~~~~~
  122. ../../headers/bpf/vmlinux.h:220:1: note: when applied to this declaration
  123. struct xdp_cpumap_stats {
  124. ^
  125. ../../headers/bpf/vmlinux.h:5:46: error: unknown attribute 'preserve_access_index' ignored [-Werror,-Wunknown-attributes]
  126. #pragma clang attribute push (__attribute__((preserve_access_index)), apply_to = record)
  127. ^~~~~~~~~~~~~~~~~~~~~
  128. ../../headers/bpf/vmlinux.h:226:1: note: when applied to this declaration
  129. struct bpf_prog {
  130. ^
  131. ../../headers/bpf/vmlinux.h:5:46: error: unknown attribute 'preserve_access_index' ignored [-Werror,-Wunknown-attributes]
  132. #pragma clang attribute push (__attribute__((preserve_access_index)), apply_to = record)
  133. ^~~~~~~~~~~~~~~~~~~~~
  134. ../../headers/bpf/vmlinux.h:229:1: note: when applied to this declaration
  135. struct bpf_map {
  136. ^
  137. ../../headers/bpf/vmlinux.h:5:46: error: unknown attribute 'preserve_access_index' ignored [-Werror,-Wunknown-attributes]
  138. #pragma clang attribute push (__attribute__((preserve_access_index)), apply_to = record)
  139. ^~~~~~~~~~~~~~~~~~~~~
  140. ../../headers/bpf/vmlinux.h:232:1: note: when applied to this declaration
  141. struct pt_regs {
  142. ^
  143. ../../headers/bpf/vmlinux.h:5:46: error: unknown attribute 'preserve_access_index' ignored [-Werror,-Wunknown-attributes]
  144. #pragma clang attribute push (__attribute__((preserve_access_index)), apply_to = record)
  145. ^~~~~~~~~~~~~~~~~~~~~
  146. ../../headers/bpf/vmlinux.h:258:1: note: when applied to this declaration
  147. struct iphdr {
  148. ^
  149. ../../headers/bpf/vmlinux.h:5:46: error: unknown attribute 'preserve_access_index' ignored [-Werror,-Wunknown-attributes]
  150. #pragma clang attribute push (__attribute__((preserve_access_index)), apply_to = record)
  151. ^~~~~~~~~~~~~~~~~~~~~
  152. ../../headers/bpf/vmlinux.h:272:1: note: when applied to this declaration
  153. struct in6_addr {
  154. ^
  155. ../../headers/bpf/vmlinux.h:5:46: error: unknown attribute 'preserve_access_index' ignored [-Werror,-Wunknown-attributes]
  156. #pragma clang attribute push (__attribute__((preserve_access_index)), apply_to = record)
  157. ^~~~~~~~~~~~~~~~~~~~~
  158. ../../headers/bpf/vmlinux.h:273:2: note: when applied to this declaration
  159. union {
  160. ^
  161. ../../headers/bpf/vmlinux.h:5:46: error: unknown attribute 'preserve_access_index' ignored [-Werror,-Wunknown-attributes]
  162. #pragma clang attribute push (__attribute__((preserve_access_index)), apply_to = record)
  163. ^~~~~~~~~~~~~~~~~~~~~
  164. ../../headers/bpf/vmlinux.h:280:1: note: when applied to this declaration
  165. struct ipv6hdr {
  166. ^
  167. ../../headers/bpf/vmlinux.h:5:46: error: unknown attribute 'preserve_access_index' ignored [-Werror,-Wunknown-attributes]
  168. #pragma clang attribute push (__attribute__((preserve_access_index)), apply_to = record)
  169. ^~~~~~~~~~~~~~~~~~~~~
  170. ../../headers/bpf/vmlinux.h:299:1: note: when applied to this declaration
  171. struct bpf_cpumap_val {
  172. ^
  173. ../../headers/bpf/vmlinux.h:5:46: error: unknown attribute 'preserve_access_index' ignored [-Werror,-Wunknown-attributes]
  174. #pragma clang attribute push (__attribute__((preserve_access_index)), apply_to = record)
  175. ^~~~~~~~~~~~~~~~~~~~~
  176. ../../headers/bpf/vmlinux.h:301:2: note: when applied to this declaration
  177. union {
  178. ^
  179. ../../headers/bpf/vmlinux.h:5:46: error: unknown attribute 'preserve_access_index' ignored [-Werror,-Wunknown-attributes]
  180. #pragma clang attribute push (__attribute__((preserve_access_index)), apply_to = record)
  181. ^~~~~~~~~~~~~~~~~~~~~
  182. ../../headers/bpf/vmlinux.h:307:1: note: when applied to this declaration
  183. struct bpf_devmap_val {
  184. ^
  185. ../../headers/bpf/vmlinux.h:5:46: error: unknown attribute 'preserve_access_index' ignored [-Werror,-Wunknown-attributes]
  186. #pragma clang attribute push (__attribute__((preserve_access_index)), apply_to = record)
  187. ^~~~~~~~~~~~~~~~~~~~~
  188. ../../headers/bpf/vmlinux.h:309:2: note: when applied to this declaration
  189. union {
  190. ^
  191. ../../headers/bpf/vmlinux.h:5:46: error: unknown attribute 'preserve_access_index' ignored [-Werror,-Wunknown-attributes]
  192. #pragma clang attribute push (__attribute__((preserve_access_index)), apply_to = record)
  193. ^~~~~~~~~~~~~~~~~~~~~
  194. ../../headers/bpf/vmlinux.h:320:1: note: when applied to this declaration
  195. struct vlan_hdr {
  196. ^
  197. ../../headers/bpf/vmlinux.h:5:46: error: unknown attribute 'preserve_access_index' ignored [-Werror,-Wunknown-attributes]
  198. #pragma clang attribute push (__attribute__((preserve_access_index)), apply_to = record)
  199. ^~~~~~~~~~~~~~~~~~~~~
  200. ../../headers/bpf/vmlinux.h:325:1: note: when applied to this declaration
  201. struct udphdr {
  202. ^
  203. 32 errors generated.
  204.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement