Guest User

wrt_croosng

a guest
Jul 3rd, 2020
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 10.64 KB | None | 0 0
  1.   HOSTCC  scripts/dtc/dtc.o
  2.   CC      scripts/mod/empty.o
  3.   HOSTCC  scripts/mod/mk_elfconfig
  4.   HOSTCC  scripts/kallsyms
  5.   CC      scripts/mod/devicetable-offsets.s
  6. In file included from scripts/mod/devicetable-offsets.c:3:
  7. ./include/linux/mod_devicetable.h:330:48: error: 'BITS_PER_LONG' undeclared here (not in a function)
  8.   330 |  kernel_ulong_t evbit[INPUT_DEVICE_ID_EV_MAX / BITS_PER_LONG + 1];
  9.       |                                                ^~~~~~~~~~~~~
  10. In file included from scripts/mod/devicetable-offsets.c:2:
  11. scripts/mod/devicetable-offsets.c: In function 'main':
  12. scripts/mod/devicetable-offsets.c:7:32: error: implicit declaration of function 'offsetof' [-Werror=implicit-function-declaration]
  13.     7 |  DEFINE(OFF_##devid##_##field, offsetof(struct devid, field))
  14.       |                                ^~~~~~~~
  15. ./include/linux/kbuild.h:6:62: note: in definition of macro 'DEFINE'
  16.     6 |  asm volatile("\n.ascii \"->" #sym " %0 " #val "\"" : : "i" (val))
  17.       |                                                              ^~~
  18. scripts/mod/devicetable-offsets.c:12:2: note: in expansion of macro 'DEVID_FIELD'
  19.    12 |  DEVID_FIELD(usb_device_id, match_flags);
  20.       |  ^~~~~~~~~~~
  21. scripts/mod/devicetable-offsets.c:4:1: note: 'offsetof' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
  22.     3 | #include <linux/mod_devicetable.h>
  23.   +++ |+#include <stddef.h>
  24.     4 |
  25. In file included from scripts/mod/devicetable-offsets.c:2:
  26. scripts/mod/devicetable-offsets.c:7:41: error: expected expression before 'struct'
  27.     7 |  DEFINE(OFF_##devid##_##field, offsetof(struct devid, field))
  28.       |                                         ^~~~~~
  29. ./include/linux/kbuild.h:6:62: note: in definition of macro 'DEFINE'
  30.     6 |  asm volatile("\n.ascii \"->" #sym " %0 " #val "\"" : : "i" (val))
  31.       |                                                              ^~~
  32. scripts/mod/devicetable-offsets.c:12:2: note: in expansion of macro 'DEVID_FIELD'
  33.    12 |  DEVID_FIELD(usb_device_id, match_flags);
  34.       |  ^~~~~~~~~~~
  35. scripts/mod/devicetable-offsets.c:7:41: error: expected expression before 'struct'
  36.     7 |  DEFINE(OFF_##devid##_##field, offsetof(struct devid, field))
  37.       |                                         ^~~~~~
  38. ./include/linux/kbuild.h:6:62: note: in definition of macro 'DEFINE'
  39.     6 |  asm volatile("\n.ascii \"->" #sym " %0 " #val "\"" : : "i" (val))
  40.       |                                                              ^~~
  41. scripts/mod/devicetable-offsets.c:13:2: note: in expansion of macro 'DEVID_FIELD'
  42.    13 |  DEVID_FIELD(usb_device_id, idVendor);
  43.       |  ^~~~~~~~~~~
  44. scripts/mod/devicetable-offsets.c:7:41: error: expected expression before 'struct'
  45.     7 |  DEFINE(OFF_##devid##_##field, offsetof(struct devid, field))
  46.       |                                         ^~~~~~
  47. ./include/linux/kbuild.h:6:62: note: in definition of macro 'DEFINE'
  48.     6 |  asm volatile("\n.ascii \"->" #sym " %0 " #val "\"" : : "i" (val))
  49.       |                                                              ^~~
  50. scripts/mod/devicetable-offsets.c:14:2: note: in expansion of macro 'DEVID_FIELD'
  51.    14 |  DEVID_FIELD(usb_device_id, idProduct);
  52.       |  ^~~~~~~~~~~
  53. scripts/mod/devicetable-offsets.c:7:41: error: expected expression before 'struct'
  54.     7 |  DEFINE(OFF_##devid##_##field, offsetof(struct devid, field))
  55.       |                                         ^~~~~~
  56. ./include/linux/kbuild.h:6:62: note: in definition of macro 'DEFINE'
  57.     6 |  asm volatile("\n.ascii \"->" #sym " %0 " #val "\"" : : "i" (val))
  58.       |                                                              ^~~
  59. scripts/mod/devicetable-offsets.c:15:2: note: in expansion of macro 'DEVID_FIELD'
  60.    15 |  DEVID_FIELD(usb_device_id, bcdDevice_lo);
  61.       |  ^~~~~~~~~~~
  62. scripts/mod/devicetable-offsets.c:7:41: error: expected expression before 'struct'
  63.     7 |  DEFINE(OFF_##devid##_##field, offsetof(struct devid, field))
  64.       |                                         ^~~~~~
  65. ./include/linux/kbuild.h:6:62: note: in definition of macro 'DEFINE'
  66.     6 |  asm volatile("\n.ascii \"->" #sym " %0 " #val "\"" : : "i" (val))
  67.       |                                                              ^~~
  68. scripts/mod/devicetable-offsets.c:16:2: note: in expansion of macro 'DEVID_FIELD'
  69.    16 |  DEVID_FIELD(usb_device_id, bcdDevice_hi);
  70.       |  ^~~~~~~~~~~
  71. scripts/mod/devicetable-offsets.c:7:41: error: expected expression before 'struct'
  72.     7 |  DEFINE(OFF_##devid##_##field, offsetof(struct devid, field))
  73.       |                                         ^~~~~~
  74. ./include/linux/kbuild.h:6:62: note: in definition of macro 'DEFINE'
  75.     6 |  asm volatile("\n.ascii \"->" #sym " %0 " #val "\"" : : "i" (val))
  76.       |                                                              ^~~
  77. scripts/mod/devicetable-offsets.c:17:2: note: in expansion of macro 'DEVID_FIELD'
  78.    17 |  DEVID_FIELD(usb_device_id, bDeviceClass);
  79.       |  ^~~~~~~~~~~
  80. scripts/mod/devicetable-offsets.c:7:41: error: expected expression before 'struct'
  81.     7 |  DEFINE(OFF_##devid##_##field, offsetof(struct devid, field))
  82.       |                                         ^~~~~~
  83. ./include/linux/kbuild.h:6:62: note: in definition of macro 'DEFINE'
  84.     6 |  asm volatile("\n.ascii \"->" #sym " %0 " #val "\"" : : "i" (val))
  85.       |                                                              ^~~
  86. scripts/mod/devicetable-offsets.c:18:2: note: in expansion of macro 'DEVID_FIELD'
  87.    18 |  DEVID_FIELD(usb_device_id, bDeviceSubClass);
  88.       |  ^~~~~~~~~~~
  89. scripts/mod/devicetable-offsets.c:7:41: error: expected expression before 'struct'
  90.     7 |  DEFINE(OFF_##devid##_##field, offsetof(struct devid, field))
  91.       |                                         ^~~~~~
  92. ./include/linux/kbuild.h:6:62: note: in definition of macro 'DEFINE'
  93.     6 |  asm volatile("\n.ascii \"->" #sym " %0 " #val "\"" : : "i" (val))
  94.       |                                                              ^~~
  95. scripts/mod/devicetable-offsets.c:19:2: note: in expansion of macro 'DEVID_FIELD'
  96.    19 |  DEVID_FIELD(usb_device_id, bDeviceProtocol);
  97.       |  ^~~~~~~~~~~
  98. scripts/mod/devicetable-offsets.c:7:41: error: expected expression before 'struct'
  99.     7 |  DEFINE(OFF_##devid##_##field, offsetof(struct devid, field))
  100.       |                                         ^~~~~~
  101. ./include/linux/kbuild.h:6:62: note: in definition of macro 'DEFINE'
  102.     6 |  asm volatile("\n.ascii \"->" #sym " %0 " #val "\"" : : "i" (val))
  103.       |                                                              ^~~
  104. scripts/mod/devicetable-offsets.c:20:2: note: in expansion of macro 'DEVID_FIELD'
  105.    20 |  DEVID_FIELD(usb_device_id, bInterfaceClass);
  106.       |  ^~~~~~~~~~~
  107. scripts/mod/devicetable-offsets.c:7:41: error: expected expression before 'struct'
  108.     7 |  DEFINE(OFF_##devid##_##field, offsetof(struct devid, field))
  109.       |                                         ^~~~~~
  110. ./include/linux/kbuild.h:6:62: note: in definition of macro 'DEFINE'
  111.     6 |  asm volatile("\n.ascii \"->" #sym " %0 " #val "\"" : : "i" (val))
  112.       |                                                              ^~~
  113. scripts/mod/devicetable-offsets.c:21:2: note: in expansion of macro 'DEVID_FIELD'
  114.    21 |  DEVID_FIELD(usb_device_id, bInterfaceSubClass);
  115.       |  ^~~~~~~~~~~
  116. scripts/mod/devicetable-offsets.c:7:41: error: expected expression before 'struct'
  117.     7 |  DEFINE(OFF_##devid##_##field, offsetof(struct devid, field))
  118.       |                                         ^~~~~~
  119. ./include/linux/kbuild.h:6:62: note: in definition of macro 'DEFINE'
  120.     6 |  asm volatile("\n.ascii \"->" #sym " %0 " #val "\"" : : "i" (val))
  121.       |                                                              ^~~
  122. scripts/mod/devicetable-offsets.c:22:2: note: in expansion of macro 'DEVID_FIELD'
  123.    22 |  DEVID_FIELD(usb_device_id, bInterfaceProtocol);
  124.       |  ^~~~~~~~~~~
  125. scripts/mod/devicetable-offsets.c:7:41: error: expected expression before 'struct'
  126.     7 |  DEFINE(OFF_##devid##_##field, offsetof(struct devid, field))
  127.       |                                         ^~~~~~
  128. ./include/linux/kbuild.h:6:62: note: in definition of macro 'DEFINE'
  129.     6 |  asm volatile("\n.ascii \"->" #sym " %0 " #val "\"" : : "i" (val))
  130.       |                                                              ^~~
  131. scripts/mod/devicetable-offsets.c:23:2: note: in expansion of macro 'DEVID_FIELD'
  132.    23 |  DEVID_FIELD(usb_device_id, bInterfaceNumber);
  133.       |  ^~~~~~~~~~~
  134. scripts/mod/devicetable-offsets.c:7:41: error: expected expression before 'struct'
  135.     7 |  DEFINE(OFF_##devid##_##field, offsetof(struct devid, field))
  136.       |                                         ^~~~~~
  137. ./include/linux/kbuild.h:6:62: note: in definition of macro 'DEFINE'
  138.     6 |  asm volatile("\n.ascii \"->" #sym " %0 " #val "\"" : : "i" (val))
  139.       |                                                              ^~~
  140. scripts/mod/devicetable-offsets.c:26:2: note: in expansion of macro 'DEVID_FIELD'
  141.    26 |  DEVID_FIELD(hid_device_id, bus);
  142.       |  ^~~~~~~~~~~
  143. scripts/mod/devicetable-offsets.c:7:41: error: expected expression before 'struct'
  144.     7 |  DEFINE(OFF_##devid##_##field, offsetof(struct devid, field))
  145.       |                                         ^~~~~~
  146. ./include/linux/kbuild.h:6:62: note: in definition of macro 'DEFINE'
  147.     6 |  asm volatile("\n.ascii \"->" #sym " %0 " #val "\"" : : "i" (val))
  148.       |                                                              ^~~
  149. scripts/mod/devicetable-offsets.c:27:2: note: in expansion of macro 'DEVID_FIELD'
  150.    27 |  DEVID_FIELD(hid_device_id, group);
  151.       |  ^~~~~~~~~~~
  152. scripts/mod/devicetable-offsets.c:7:41: error: expected expression before 'struct'
  153.     7 |  DEFINE(OFF_##devid##_##field, offsetof(struct devid, field))
  154.       |                                         ^~~~~~
  155. ./include/linux/kbuild.h:6:62: note: in definition of macro 'DEFINE'
  156.     6 |  asm volatile("\n.ascii \"->" #sym " %0 " #val "\"" : : "i" (val))
  157.       |                                                              ^~~
  158. scripts/mod/devicetable-offsets.c:28:2: note: in expansion of macro 'DEVID_FIELD'
  159.    28 |  DEVID_FIELD(hid_device_id, vendor);
  160.       |  ^~~~~~~~~~~
  161. scripts/mod/devicetable-offsets.c:7:41: error: expected expression before 'struct'
  162.     7 |  DEFINE(OFF_##devid##_##field, offsetof(struct devid, field))
  163.       |                                         ^~~~~~
  164. ./include/linux/kbuild.h:6:62: note: in definition of macro 'DEFINE'
  165.     6 |  asm volatile("\n.ascii \"->" #sym " %0 " #val "\"" : : "i" (val))
  166.       |                                                              ^~~
  167. scripts/mod/devicetable-offsets.c:29:2: note: in expansion of macro 'DEVID_FIELD'
  168.    29 |  DEVID_FIELD(hid_device_id, product);
  169.       |  ^~~~~~~~~~~
Add Comment
Please, Sign In to add comment