Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- HOSTCC scripts/dtc/dtc.o
- CC scripts/mod/empty.o
- HOSTCC scripts/mod/mk_elfconfig
- HOSTCC scripts/kallsyms
- CC scripts/mod/devicetable-offsets.s
- In file included from scripts/mod/devicetable-offsets.c:3:
- ./include/linux/mod_devicetable.h:330:48: error: 'BITS_PER_LONG' undeclared here (not in a function)
- 330 | kernel_ulong_t evbit[INPUT_DEVICE_ID_EV_MAX / BITS_PER_LONG + 1];
- | ^~~~~~~~~~~~~
- In file included from scripts/mod/devicetable-offsets.c:2:
- scripts/mod/devicetable-offsets.c: In function 'main':
- scripts/mod/devicetable-offsets.c:7:32: error: implicit declaration of function 'offsetof' [-Werror=implicit-function-declaration]
- 7 | DEFINE(OFF_##devid##_##field, offsetof(struct devid, field))
- | ^~~~~~~~
- ./include/linux/kbuild.h:6:62: note: in definition of macro 'DEFINE'
- 6 | asm volatile("\n.ascii \"->" #sym " %0 " #val "\"" : : "i" (val))
- | ^~~
- scripts/mod/devicetable-offsets.c:12:2: note: in expansion of macro 'DEVID_FIELD'
- 12 | DEVID_FIELD(usb_device_id, match_flags);
- | ^~~~~~~~~~~
- scripts/mod/devicetable-offsets.c:4:1: note: 'offsetof' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
- 3 | #include <linux/mod_devicetable.h>
- +++ |+#include <stddef.h>
- 4 |
- In file included from scripts/mod/devicetable-offsets.c:2:
- scripts/mod/devicetable-offsets.c:7:41: error: expected expression before 'struct'
- 7 | DEFINE(OFF_##devid##_##field, offsetof(struct devid, field))
- | ^~~~~~
- ./include/linux/kbuild.h:6:62: note: in definition of macro 'DEFINE'
- 6 | asm volatile("\n.ascii \"->" #sym " %0 " #val "\"" : : "i" (val))
- | ^~~
- scripts/mod/devicetable-offsets.c:12:2: note: in expansion of macro 'DEVID_FIELD'
- 12 | DEVID_FIELD(usb_device_id, match_flags);
- | ^~~~~~~~~~~
- scripts/mod/devicetable-offsets.c:7:41: error: expected expression before 'struct'
- 7 | DEFINE(OFF_##devid##_##field, offsetof(struct devid, field))
- | ^~~~~~
- ./include/linux/kbuild.h:6:62: note: in definition of macro 'DEFINE'
- 6 | asm volatile("\n.ascii \"->" #sym " %0 " #val "\"" : : "i" (val))
- | ^~~
- scripts/mod/devicetable-offsets.c:13:2: note: in expansion of macro 'DEVID_FIELD'
- 13 | DEVID_FIELD(usb_device_id, idVendor);
- | ^~~~~~~~~~~
- scripts/mod/devicetable-offsets.c:7:41: error: expected expression before 'struct'
- 7 | DEFINE(OFF_##devid##_##field, offsetof(struct devid, field))
- | ^~~~~~
- ./include/linux/kbuild.h:6:62: note: in definition of macro 'DEFINE'
- 6 | asm volatile("\n.ascii \"->" #sym " %0 " #val "\"" : : "i" (val))
- | ^~~
- scripts/mod/devicetable-offsets.c:14:2: note: in expansion of macro 'DEVID_FIELD'
- 14 | DEVID_FIELD(usb_device_id, idProduct);
- | ^~~~~~~~~~~
- scripts/mod/devicetable-offsets.c:7:41: error: expected expression before 'struct'
- 7 | DEFINE(OFF_##devid##_##field, offsetof(struct devid, field))
- | ^~~~~~
- ./include/linux/kbuild.h:6:62: note: in definition of macro 'DEFINE'
- 6 | asm volatile("\n.ascii \"->" #sym " %0 " #val "\"" : : "i" (val))
- | ^~~
- scripts/mod/devicetable-offsets.c:15:2: note: in expansion of macro 'DEVID_FIELD'
- 15 | DEVID_FIELD(usb_device_id, bcdDevice_lo);
- | ^~~~~~~~~~~
- scripts/mod/devicetable-offsets.c:7:41: error: expected expression before 'struct'
- 7 | DEFINE(OFF_##devid##_##field, offsetof(struct devid, field))
- | ^~~~~~
- ./include/linux/kbuild.h:6:62: note: in definition of macro 'DEFINE'
- 6 | asm volatile("\n.ascii \"->" #sym " %0 " #val "\"" : : "i" (val))
- | ^~~
- scripts/mod/devicetable-offsets.c:16:2: note: in expansion of macro 'DEVID_FIELD'
- 16 | DEVID_FIELD(usb_device_id, bcdDevice_hi);
- | ^~~~~~~~~~~
- scripts/mod/devicetable-offsets.c:7:41: error: expected expression before 'struct'
- 7 | DEFINE(OFF_##devid##_##field, offsetof(struct devid, field))
- | ^~~~~~
- ./include/linux/kbuild.h:6:62: note: in definition of macro 'DEFINE'
- 6 | asm volatile("\n.ascii \"->" #sym " %0 " #val "\"" : : "i" (val))
- | ^~~
- scripts/mod/devicetable-offsets.c:17:2: note: in expansion of macro 'DEVID_FIELD'
- 17 | DEVID_FIELD(usb_device_id, bDeviceClass);
- | ^~~~~~~~~~~
- scripts/mod/devicetable-offsets.c:7:41: error: expected expression before 'struct'
- 7 | DEFINE(OFF_##devid##_##field, offsetof(struct devid, field))
- | ^~~~~~
- ./include/linux/kbuild.h:6:62: note: in definition of macro 'DEFINE'
- 6 | asm volatile("\n.ascii \"->" #sym " %0 " #val "\"" : : "i" (val))
- | ^~~
- scripts/mod/devicetable-offsets.c:18:2: note: in expansion of macro 'DEVID_FIELD'
- 18 | DEVID_FIELD(usb_device_id, bDeviceSubClass);
- | ^~~~~~~~~~~
- scripts/mod/devicetable-offsets.c:7:41: error: expected expression before 'struct'
- 7 | DEFINE(OFF_##devid##_##field, offsetof(struct devid, field))
- | ^~~~~~
- ./include/linux/kbuild.h:6:62: note: in definition of macro 'DEFINE'
- 6 | asm volatile("\n.ascii \"->" #sym " %0 " #val "\"" : : "i" (val))
- | ^~~
- scripts/mod/devicetable-offsets.c:19:2: note: in expansion of macro 'DEVID_FIELD'
- 19 | DEVID_FIELD(usb_device_id, bDeviceProtocol);
- | ^~~~~~~~~~~
- scripts/mod/devicetable-offsets.c:7:41: error: expected expression before 'struct'
- 7 | DEFINE(OFF_##devid##_##field, offsetof(struct devid, field))
- | ^~~~~~
- ./include/linux/kbuild.h:6:62: note: in definition of macro 'DEFINE'
- 6 | asm volatile("\n.ascii \"->" #sym " %0 " #val "\"" : : "i" (val))
- | ^~~
- scripts/mod/devicetable-offsets.c:20:2: note: in expansion of macro 'DEVID_FIELD'
- 20 | DEVID_FIELD(usb_device_id, bInterfaceClass);
- | ^~~~~~~~~~~
- scripts/mod/devicetable-offsets.c:7:41: error: expected expression before 'struct'
- 7 | DEFINE(OFF_##devid##_##field, offsetof(struct devid, field))
- | ^~~~~~
- ./include/linux/kbuild.h:6:62: note: in definition of macro 'DEFINE'
- 6 | asm volatile("\n.ascii \"->" #sym " %0 " #val "\"" : : "i" (val))
- | ^~~
- scripts/mod/devicetable-offsets.c:21:2: note: in expansion of macro 'DEVID_FIELD'
- 21 | DEVID_FIELD(usb_device_id, bInterfaceSubClass);
- | ^~~~~~~~~~~
- scripts/mod/devicetable-offsets.c:7:41: error: expected expression before 'struct'
- 7 | DEFINE(OFF_##devid##_##field, offsetof(struct devid, field))
- | ^~~~~~
- ./include/linux/kbuild.h:6:62: note: in definition of macro 'DEFINE'
- 6 | asm volatile("\n.ascii \"->" #sym " %0 " #val "\"" : : "i" (val))
- | ^~~
- scripts/mod/devicetable-offsets.c:22:2: note: in expansion of macro 'DEVID_FIELD'
- 22 | DEVID_FIELD(usb_device_id, bInterfaceProtocol);
- | ^~~~~~~~~~~
- scripts/mod/devicetable-offsets.c:7:41: error: expected expression before 'struct'
- 7 | DEFINE(OFF_##devid##_##field, offsetof(struct devid, field))
- | ^~~~~~
- ./include/linux/kbuild.h:6:62: note: in definition of macro 'DEFINE'
- 6 | asm volatile("\n.ascii \"->" #sym " %0 " #val "\"" : : "i" (val))
- | ^~~
- scripts/mod/devicetable-offsets.c:23:2: note: in expansion of macro 'DEVID_FIELD'
- 23 | DEVID_FIELD(usb_device_id, bInterfaceNumber);
- | ^~~~~~~~~~~
- scripts/mod/devicetable-offsets.c:7:41: error: expected expression before 'struct'
- 7 | DEFINE(OFF_##devid##_##field, offsetof(struct devid, field))
- | ^~~~~~
- ./include/linux/kbuild.h:6:62: note: in definition of macro 'DEFINE'
- 6 | asm volatile("\n.ascii \"->" #sym " %0 " #val "\"" : : "i" (val))
- | ^~~
- scripts/mod/devicetable-offsets.c:26:2: note: in expansion of macro 'DEVID_FIELD'
- 26 | DEVID_FIELD(hid_device_id, bus);
- | ^~~~~~~~~~~
- scripts/mod/devicetable-offsets.c:7:41: error: expected expression before 'struct'
- 7 | DEFINE(OFF_##devid##_##field, offsetof(struct devid, field))
- | ^~~~~~
- ./include/linux/kbuild.h:6:62: note: in definition of macro 'DEFINE'
- 6 | asm volatile("\n.ascii \"->" #sym " %0 " #val "\"" : : "i" (val))
- | ^~~
- scripts/mod/devicetable-offsets.c:27:2: note: in expansion of macro 'DEVID_FIELD'
- 27 | DEVID_FIELD(hid_device_id, group);
- | ^~~~~~~~~~~
- scripts/mod/devicetable-offsets.c:7:41: error: expected expression before 'struct'
- 7 | DEFINE(OFF_##devid##_##field, offsetof(struct devid, field))
- | ^~~~~~
- ./include/linux/kbuild.h:6:62: note: in definition of macro 'DEFINE'
- 6 | asm volatile("\n.ascii \"->" #sym " %0 " #val "\"" : : "i" (val))
- | ^~~
- scripts/mod/devicetable-offsets.c:28:2: note: in expansion of macro 'DEVID_FIELD'
- 28 | DEVID_FIELD(hid_device_id, vendor);
- | ^~~~~~~~~~~
- scripts/mod/devicetable-offsets.c:7:41: error: expected expression before 'struct'
- 7 | DEFINE(OFF_##devid##_##field, offsetof(struct devid, field))
- | ^~~~~~
- ./include/linux/kbuild.h:6:62: note: in definition of macro 'DEFINE'
- 6 | asm volatile("\n.ascii \"->" #sym " %0 " #val "\"" : : "i" (val))
- | ^~~
- scripts/mod/devicetable-offsets.c:29:2: note: in expansion of macro 'DEVID_FIELD'
- 29 | DEVID_FIELD(hid_device_id, product);
- | ^~~~~~~~~~~
Add Comment
Please, Sign In to add comment