NiLuJe / FBInk

FrameBuffer eInker, a small tool & library to print text & images to an eInk Linux framebuffer
https://www.mobileread.com/forums/showthread.php?t=299110
GNU General Public License v3.0
315 stars 23 forks source link

button_scan: struct input_event has no member named 'time' #63

Closed tux-linux closed 3 years ago

tux-linux commented 3 years ago

Hello, Compiled FBInk for an initrd once again this morning and I came across an error that I encounter quite frequently these times with it. A quick fix is to pass MINIMAL=1 to the make environment variables, but the normal target fails with the error message I pasted below. I've tried compiling it with a musl armv7l cross-toolchain (GCC 10.2.1) on a x86_64 Debian 10 VM. Probably some musl-specific stuff I'd guess, although IIRC I've encountered this with other (non-musl) toolchains before too...

Expand ``` build@inkbox:~/inkbox/kernel/kernel/modules/mxc_epdc_fb_damage/FBInk$ make CROSS_COMPILE=armv7l-linux-musleabihf- static make staticlib make[1]: Entering directory '/home/build/inkbox/kernel/kernel/modules/mxc_epdc_fb_damage/FBInk' mkdir -p Release/shared/cutef8 Release/static/cutef8 Release/shared/libunibreak/src Release/static/libunibreak/src Release/shared/qimagescale Release/static/qimagescale armv7l-linux-musleabihf-cc -DNDEBUG -D_REENTRANT=1 -D_GNU_SOURCE -DFBINK_FOR_KOBO -DFBINK_WITH_FONTS -DFBINK_WITH_IMAGE -DFBINK_WITH_OPENTYPE -DFBINK_WITH_BUTTON_SCAN -O2 -fomit-frame-pointer -pipe -ftree-vectorize -funroll-loops -fno-common -Wall -Wextra -Wunused -Wformat=2 -Wformat-signedness -Wformat-truncation=1 -Wnull-dereference -Wuninitialized -Wduplicated-branches -Wduplicated-cond -Wundef -Wbad-function-cast -Wwrite-strings -Wjump-misses-init -Wlogical-op -Wstrict-prototypes -Wold-style-definition -Wshadow -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wcast-qual -Wcast-align -Wconversion -Wno-jump-misses-init -DFBINK_VERSION='"v1.23.2-36-gefec340 for Kobo"' -o Release/static/fbink.o -c fbink.c fbink.c: In function ‘wait_for_complete_kobo_mk7’: fbink.c:2548:23: warning: signed conversion from ‘unsigned int’ to ‘int’ changes value from ‘3221767727’ to ‘-1073199569’ [-Wsign-conversion] 2548 | int rv = ioctl(fbfd, MXCFB_WAIT_FOR_UPDATE_COMPLETE_V3, &update_marker); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from fbink.c:9721: fbink_device_id.c: In function ‘identify_kobo’: fbink_device_id.c:908:26: warning: signed conversion from ‘unsigned int’ to ‘int’ changes value from ‘2147750514’ to ‘-2147216782’ [-Wsign-conversion] 908 | if (ioctl(fileno(fp), BLKGETSIZE64, &storagesize)) { | ^~~~~~~~~~~~ In file included from fbink_button_scan.c:22, from fbink.c:9758: fbink_button_scan.c: In function ‘generate_button_press’: fbink_button_scan.h:71:20: error: ‘struct input_event’ has no member named ‘time’ 71 | gettimeofday(&ev.time, NULL); \ | ^ fbink_button_scan.c:224:3: note: in expansion of macro ‘SEND_INPUT_EVENT’ 224 | SEND_INPUT_EVENT(EV_ABS, ABS_Y, match_coords->y); | ^~~~~~~~~~~~~~~~ fbink_button_scan.h:71:20: error: ‘struct input_event’ has no member named ‘time’ 71 | gettimeofday(&ev.time, NULL); \ | ^ fbink_button_scan.c:225:3: note: in expansion of macro ‘SEND_INPUT_EVENT’ 225 | SEND_INPUT_EVENT(EV_ABS, ABS_X, match_coords->x); | ^~~~~~~~~~~~~~~~ fbink_button_scan.h:71:20: error: ‘struct input_event’ has no member named ‘time’ 71 | gettimeofday(&ev.time, NULL); \ | ^ fbink_button_scan.c:226:3: note: in expansion of macro ‘SEND_INPUT_EVENT’ 226 | SEND_INPUT_EVENT(EV_ABS, ABS_PRESSURE, 100); | ^~~~~~~~~~~~~~~~ fbink_button_scan.h:71:20: error: ‘struct input_event’ has no member named ‘time’ 71 | gettimeofday(&ev.time, NULL); \ | ^ fbink_button_scan.c:227:3: note: in expansion of macro ‘SEND_INPUT_EVENT’ 227 | SEND_INPUT_EVENT(EV_KEY, BTN_TOUCH, 1); | ^~~~~~~~~~~~~~~~ fbink_button_scan.h:71:20: error: ‘struct input_event’ has no member named ‘time’ 71 | gettimeofday(&ev.time, NULL); \ | ^ fbink_button_scan.c:228:3: note: in expansion of macro ‘SEND_INPUT_EVENT’ 228 | SEND_INPUT_EVENT(EV_SYN, SYN_REPORT, 0); | ^~~~~~~~~~~~~~~~ fbink_button_scan.h:71:20: error: ‘struct input_event’ has no member named ‘time’ 71 | gettimeofday(&ev.time, NULL); \ | ^ fbink_button_scan.c:230:3: note: in expansion of macro ‘SEND_INPUT_EVENT’ 230 | SEND_INPUT_EVENT(EV_ABS, ABS_Y, match_coords->y); | ^~~~~~~~~~~~~~~~ fbink_button_scan.h:71:20: error: ‘struct input_event’ has no member named ‘time’ 71 | gettimeofday(&ev.time, NULL); \ | ^ fbink_button_scan.c:231:3: note: in expansion of macro ‘SEND_INPUT_EVENT’ 231 | SEND_INPUT_EVENT(EV_ABS, ABS_X, match_coords->x); | ^~~~~~~~~~~~~~~~ fbink_button_scan.h:71:20: error: ‘struct input_event’ has no member named ‘time’ 71 | gettimeofday(&ev.time, NULL); \ | ^ fbink_button_scan.c:232:3: note: in expansion of macro ‘SEND_INPUT_EVENT’ 232 | SEND_INPUT_EVENT(EV_ABS, ABS_PRESSURE, 0); | ^~~~~~~~~~~~~~~~ fbink_button_scan.h:71:20: error: ‘struct input_event’ has no member named ‘time’ 71 | gettimeofday(&ev.time, NULL); \ | ^ fbink_button_scan.c:233:3: note: in expansion of macro ‘SEND_INPUT_EVENT’ 233 | SEND_INPUT_EVENT(EV_KEY, BTN_TOUCH, 0); | ^~~~~~~~~~~~~~~~ fbink_button_scan.h:71:20: error: ‘struct input_event’ has no member named ‘time’ 71 | gettimeofday(&ev.time, NULL); \ | ^ fbink_button_scan.c:234:3: note: in expansion of macro ‘SEND_INPUT_EVENT’ 234 | SEND_INPUT_EVENT(EV_SYN, SYN_REPORT, 0); | ^~~~~~~~~~~~~~~~ fbink_button_scan.h:71:20: error: ‘struct input_event’ has no member named ‘time’ 71 | gettimeofday(&ev.time, NULL); \ | ^ fbink_button_scan.c:239:3: note: in expansion of macro ‘SEND_INPUT_EVENT’ 239 | SEND_INPUT_EVENT(EV_KEY, BTN_TOOL_FINGER, 1); | ^~~~~~~~~~~~~~~~ fbink_button_scan.h:71:20: error: ‘struct input_event’ has no member named ‘time’ 71 | gettimeofday(&ev.time, NULL); \ | ^ fbink_button_scan.c:240:3: note: in expansion of macro ‘SEND_INPUT_EVENT’ 240 | SEND_INPUT_EVENT(EV_KEY, BTN_TOUCH, 1); | ^~~~~~~~~~~~~~~~ fbink_button_scan.h:71:20: error: ‘struct input_event’ has no member named ‘time’ 71 | gettimeofday(&ev.time, NULL); \ | ^ fbink_button_scan.c:241:3: note: in expansion of macro ‘SEND_INPUT_EVENT’ 241 | SEND_INPUT_EVENT(EV_ABS, ABS_MT_TRACKING_ID, 0); | ^~~~~~~~~~~~~~~~ fbink_button_scan.h:71:20: error: ‘struct input_event’ has no member named ‘time’ 71 | gettimeofday(&ev.time, NULL); \ | ^ fbink_button_scan.c:242:3: note: in expansion of macro ‘SEND_INPUT_EVENT’ 242 | SEND_INPUT_EVENT(EV_ABS, ABS_MT_DISTANCE, 0); | ^~~~~~~~~~~~~~~~ fbink_button_scan.h:71:20: error: ‘struct input_event’ has no member named ‘time’ 71 | gettimeofday(&ev.time, NULL); \ | ^ fbink_button_scan.c:243:3: note: in expansion of macro ‘SEND_INPUT_EVENT’ 243 | SEND_INPUT_EVENT(EV_ABS, ABS_MT_POSITION_X, match_coords->x); | ^~~~~~~~~~~~~~~~ fbink_button_scan.h:71:20: error: ‘struct input_event’ has no member named ‘time’ 71 | gettimeofday(&ev.time, NULL); \ | ^ fbink_button_scan.c:244:3: note: in expansion of macro ‘SEND_INPUT_EVENT’ 244 | SEND_INPUT_EVENT(EV_ABS, ABS_MT_POSITION_Y, match_coords->y); | ^~~~~~~~~~~~~~~~ fbink_button_scan.h:71:20: error: ‘struct input_event’ has no member named ‘time’ 71 | gettimeofday(&ev.time, NULL); \ | ^ fbink_button_scan.c:245:3: note: in expansion of macro ‘SEND_INPUT_EVENT’ 245 | SEND_INPUT_EVENT(EV_ABS, ABS_MT_PRESSURE, 20); | ^~~~~~~~~~~~~~~~ fbink_button_scan.h:71:20: error: ‘struct input_event’ has no member named ‘time’ 71 | gettimeofday(&ev.time, NULL); \ | ^ fbink_button_scan.c:246:3: note: in expansion of macro ‘SEND_INPUT_EVENT’ 246 | SEND_INPUT_EVENT(EV_ABS, ABS_MT_TOUCH_MAJOR, 0); | ^~~~~~~~~~~~~~~~ fbink_button_scan.h:71:20: error: ‘struct input_event’ has no member named ‘time’ 71 | gettimeofday(&ev.time, NULL); \ | ^ fbink_button_scan.c:247:3: note: in expansion of macro ‘SEND_INPUT_EVENT’ 247 | SEND_INPUT_EVENT(EV_ABS, ABS_MT_TOUCH_MINOR, 0); | ^~~~~~~~~~~~~~~~ fbink_button_scan.h:71:20: error: ‘struct input_event’ has no member named ‘time’ 71 | gettimeofday(&ev.time, NULL); \ | ^ fbink_button_scan.c:248:3: note: in expansion of macro ‘SEND_INPUT_EVENT’ 248 | SEND_INPUT_EVENT(EV_ABS, ABS_MT_ORIENTATION, 0); | ^~~~~~~~~~~~~~~~ fbink_button_scan.h:71:20: error: ‘struct input_event’ has no member named ‘time’ 71 | gettimeofday(&ev.time, NULL); \ | ^ fbink_button_scan.c:249:3: note: in expansion of macro ‘SEND_INPUT_EVENT’ 249 | SEND_INPUT_EVENT(EV_SYN, SYN_MT_REPORT, 0); | ^~~~~~~~~~~~~~~~ fbink_button_scan.h:71:20: error: ‘struct input_event’ has no member named ‘time’ 71 | gettimeofday(&ev.time, NULL); \ | ^ fbink_button_scan.c:250:3: note: in expansion of macro ‘SEND_INPUT_EVENT’ 250 | SEND_INPUT_EVENT(EV_SYN, SYN_REPORT, 0); | ^~~~~~~~~~~~~~~~ fbink_button_scan.h:71:20: error: ‘struct input_event’ has no member named ‘time’ 71 | gettimeofday(&ev.time, NULL); \ | ^ fbink_button_scan.c:252:3: note: in expansion of macro ‘SEND_INPUT_EVENT’ 252 | SEND_INPUT_EVENT(EV_ABS, ABS_MT_TRACKING_ID, 0); | ^~~~~~~~~~~~~~~~ fbink_button_scan.h:71:20: error: ‘struct input_event’ has no member named ‘time’ 71 | gettimeofday(&ev.time, NULL); \ | ^ fbink_button_scan.c:253:3: note: in expansion of macro ‘SEND_INPUT_EVENT’ 253 | SEND_INPUT_EVENT(EV_ABS, ABS_MT_DISTANCE, 0); | ^~~~~~~~~~~~~~~~ fbink_button_scan.h:71:20: error: ‘struct input_event’ has no member named ‘time’ 71 | gettimeofday(&ev.time, NULL); \ | ^ fbink_button_scan.c:254:3: note: in expansion of macro ‘SEND_INPUT_EVENT’ 254 | SEND_INPUT_EVENT(EV_ABS, ABS_MT_POSITION_X, match_coords->x); | ^~~~~~~~~~~~~~~~ fbink_button_scan.h:71:20: error: ‘struct input_event’ has no member named ‘time’ 71 | gettimeofday(&ev.time, NULL); \ | ^ fbink_button_scan.c:255:3: note: in expansion of macro ‘SEND_INPUT_EVENT’ 255 | SEND_INPUT_EVENT(EV_ABS, ABS_MT_POSITION_Y, match_coords->y); | ^~~~~~~~~~~~~~~~ fbink_button_scan.h:71:20: error: ‘struct input_event’ has no member named ‘time’ 71 | gettimeofday(&ev.time, NULL); \ | ^ fbink_button_scan.c:256:3: note: in expansion of macro ‘SEND_INPUT_EVENT’ 256 | SEND_INPUT_EVENT(EV_ABS, ABS_MT_PRESSURE, 0); | ^~~~~~~~~~~~~~~~ fbink_button_scan.h:71:20: error: ‘struct input_event’ has no member named ‘time’ 71 | gettimeofday(&ev.time, NULL); \ | ^ fbink_button_scan.c:257:3: note: in expansion of macro ‘SEND_INPUT_EVENT’ 257 | SEND_INPUT_EVENT(EV_ABS, ABS_MT_TOUCH_MAJOR, 0); | ^~~~~~~~~~~~~~~~ fbink_button_scan.h:71:20: error: ‘struct input_event’ has no member named ‘time’ 71 | gettimeofday(&ev.time, NULL); \ | ^ fbink_button_scan.c:258:3: note: in expansion of macro ‘SEND_INPUT_EVENT’ 258 | SEND_INPUT_EVENT(EV_ABS, ABS_MT_TOUCH_MINOR, 0); | ^~~~~~~~~~~~~~~~ fbink_button_scan.h:71:20: error: ‘struct input_event’ has no member named ‘time’ 71 | gettimeofday(&ev.time, NULL); \ | ^ fbink_button_scan.c:259:3: note: in expansion of macro ‘SEND_INPUT_EVENT’ 259 | SEND_INPUT_EVENT(EV_ABS, ABS_MT_ORIENTATION, 0); | ^~~~~~~~~~~~~~~~ fbink_button_scan.h:71:20: error: ‘struct input_event’ has no member named ‘time’ 71 | gettimeofday(&ev.time, NULL); \ | ^ fbink_button_scan.c:260:3: note: in expansion of macro ‘SEND_INPUT_EVENT’ 260 | SEND_INPUT_EVENT(EV_SYN, SYN_MT_REPORT, 0); | ^~~~~~~~~~~~~~~~ fbink_button_scan.h:71:20: error: ‘struct input_event’ has no member named ‘time’ 71 | gettimeofday(&ev.time, NULL); \ | ^ fbink_button_scan.c:261:3: note: in expansion of macro ‘SEND_INPUT_EVENT’ 261 | SEND_INPUT_EVENT(EV_SYN, SYN_REPORT, 0); | ^~~~~~~~~~~~~~~~ fbink_button_scan.h:71:20: error: ‘struct input_event’ has no member named ‘time’ 71 | gettimeofday(&ev.time, NULL); \ | ^ fbink_button_scan.c:262:3: note: in expansion of macro ‘SEND_INPUT_EVENT’ 262 | SEND_INPUT_EVENT(EV_KEY, BTN_TOUCH, 0); | ^~~~~~~~~~~~~~~~ fbink_button_scan.h:71:20: error: ‘struct input_event’ has no member named ‘time’ 71 | gettimeofday(&ev.time, NULL); \ | ^ fbink_button_scan.c:263:3: note: in expansion of macro ‘SEND_INPUT_EVENT’ 263 | SEND_INPUT_EVENT(EV_KEY, BTN_TOOL_FINGER, 0); | ^~~~~~~~~~~~~~~~ fbink_button_scan.h:71:20: error: ‘struct input_event’ has no member named ‘time’ 71 | gettimeofday(&ev.time, NULL); \ | ^ fbink_button_scan.c:264:3: note: in expansion of macro ‘SEND_INPUT_EVENT’ 264 | SEND_INPUT_EVENT(EV_SYN, SYN_REPORT, 0); | ^~~~~~~~~~~~~~~~ fbink_button_scan.h:71:20: error: ‘struct input_event’ has no member named ‘time’ 71 | gettimeofday(&ev.time, NULL); \ | ^ fbink_button_scan.c:270:3: note: in expansion of macro ‘SEND_INPUT_EVENT’ 270 | SEND_INPUT_EVENT(EV_ABS, ABS_MT_TRACKING_ID, 1); | ^~~~~~~~~~~~~~~~ fbink_button_scan.h:71:20: error: ‘struct input_event’ has no member named ‘time’ 71 | gettimeofday(&ev.time, NULL); \ | ^ fbink_button_scan.c:271:3: note: in expansion of macro ‘SEND_INPUT_EVENT’ 271 | SEND_INPUT_EVENT(EV_ABS, ABS_MT_TOUCH_MAJOR, 1); | ^~~~~~~~~~~~~~~~ fbink_button_scan.h:71:20: error: ‘struct input_event’ has no member named ‘time’ 71 | gettimeofday(&ev.time, NULL); \ | ^ fbink_button_scan.c:272:3: note: in expansion of macro ‘SEND_INPUT_EVENT’ 272 | SEND_INPUT_EVENT(EV_ABS, ABS_MT_WIDTH_MAJOR, 1); | ^~~~~~~~~~~~~~~~ fbink_button_scan.h:71:20: error: ‘struct input_event’ has no member named ‘time’ 71 | gettimeofday(&ev.time, NULL); \ | ^ fbink_button_scan.c:273:3: note: in expansion of macro ‘SEND_INPUT_EVENT’ 273 | SEND_INPUT_EVENT(EV_ABS, ABS_MT_POSITION_X, match_coords->x); | ^~~~~~~~~~~~~~~~ fbink_button_scan.h:71:20: error: ‘struct input_event’ has no member named ‘time’ 71 | gettimeofday(&ev.time, NULL); \ | ^ fbink_button_scan.c:274:3: note: in expansion of macro ‘SEND_INPUT_EVENT’ 274 | SEND_INPUT_EVENT(EV_ABS, ABS_MT_POSITION_Y, match_coords->y); | ^~~~~~~~~~~~~~~~ fbink_button_scan.h:71:20: error: ‘struct input_event’ has no member named ‘time’ 71 | gettimeofday(&ev.time, NULL); \ | ^ fbink_button_scan.c:278:3: note: in expansion of macro ‘SEND_INPUT_EVENT’ 278 | SEND_INPUT_EVENT(EV_ABS, ABS_PRESSURE, 1024); | ^~~~~~~~~~~~~~~~ fbink_button_scan.h:71:20: error: ‘struct input_event’ has no member named ‘time’ 71 | gettimeofday(&ev.time, NULL); \ | ^ fbink_button_scan.c:279:3: note: in expansion of macro ‘SEND_INPUT_EVENT’ 279 | SEND_INPUT_EVENT(EV_KEY, BTN_TOUCH, 1); | ^~~~~~~~~~~~~~~~ fbink_button_scan.h:71:20: error: ‘struct input_event’ has no member named ‘time’ 71 | gettimeofday(&ev.time, NULL); \ | ^ fbink_button_scan.c:281:3: note: in expansion of macro ‘SEND_INPUT_EVENT’ 281 | SEND_INPUT_EVENT(EV_SYN, SYN_MT_REPORT, 0); | ^~~~~~~~~~~~~~~~ fbink_button_scan.h:71:20: error: ‘struct input_event’ has no member named ‘time’ 71 | gettimeofday(&ev.time, NULL); \ | ^ fbink_button_scan.c:282:3: note: in expansion of macro ‘SEND_INPUT_EVENT’ 282 | SEND_INPUT_EVENT(EV_SYN, SYN_REPORT, 0); | ^~~~~~~~~~~~~~~~ fbink_button_scan.h:71:20: error: ‘struct input_event’ has no member named ‘time’ 71 | gettimeofday(&ev.time, NULL); \ | ^ fbink_button_scan.c:284:3: note: in expansion of macro ‘SEND_INPUT_EVENT’ 284 | SEND_INPUT_EVENT(EV_ABS, ABS_MT_TRACKING_ID, 1); | ^~~~~~~~~~~~~~~~ fbink_button_scan.h:71:20: error: ‘struct input_event’ has no member named ‘time’ 71 | gettimeofday(&ev.time, NULL); \ | ^ fbink_button_scan.c:285:3: note: in expansion of macro ‘SEND_INPUT_EVENT’ 285 | SEND_INPUT_EVENT(EV_ABS, ABS_MT_TOUCH_MAJOR, 0); | ^~~~~~~~~~~~~~~~ fbink_button_scan.h:71:20: error: ‘struct input_event’ has no member named ‘time’ 71 | gettimeofday(&ev.time, NULL); \ | ^ fbink_button_scan.c:286:3: note: in expansion of macro ‘SEND_INPUT_EVENT’ 286 | SEND_INPUT_EVENT(EV_ABS, ABS_MT_WIDTH_MAJOR, 0); | ^~~~~~~~~~~~~~~~ fbink_button_scan.h:71:20: error: ‘struct input_event’ has no member named ‘time’ 71 | gettimeofday(&ev.time, NULL); \ | ^ fbink_button_scan.c:287:3: note: in expansion of macro ‘SEND_INPUT_EVENT’ 287 | SEND_INPUT_EVENT(EV_ABS, ABS_MT_POSITION_X, match_coords->x); | ^~~~~~~~~~~~~~~~ fbink_button_scan.h:71:20: error: ‘struct input_event’ has no member named ‘time’ 71 | gettimeofday(&ev.time, NULL); \ | ^ fbink_button_scan.c:288:3: note: in expansion of macro ‘SEND_INPUT_EVENT’ 288 | SEND_INPUT_EVENT(EV_ABS, ABS_MT_POSITION_Y, match_coords->y); | ^~~~~~~~~~~~~~~~ fbink_button_scan.h:71:20: error: ‘struct input_event’ has no member named ‘time’ 71 | gettimeofday(&ev.time, NULL); \ | ^ fbink_button_scan.c:290:3: note: in expansion of macro ‘SEND_INPUT_EVENT’ 290 | SEND_INPUT_EVENT(EV_ABS, ABS_PRESSURE, 0); | ^~~~~~~~~~~~~~~~ fbink_button_scan.h:71:20: error: ‘struct input_event’ has no member named ‘time’ 71 | gettimeofday(&ev.time, NULL); \ | ^ fbink_button_scan.c:291:3: note: in expansion of macro ‘SEND_INPUT_EVENT’ 291 | SEND_INPUT_EVENT(EV_KEY, BTN_TOUCH, 0); | ^~~~~~~~~~~~~~~~ fbink_button_scan.h:71:20: error: ‘struct input_event’ has no member named ‘time’ 71 | gettimeofday(&ev.time, NULL); \ | ^ fbink_button_scan.c:293:3: note: in expansion of macro ‘SEND_INPUT_EVENT’ 293 | SEND_INPUT_EVENT(EV_SYN, SYN_MT_REPORT, 0); | ^~~~~~~~~~~~~~~~ fbink_button_scan.h:71:20: error: ‘struct input_event’ has no member named ‘time’ 71 | gettimeofday(&ev.time, NULL); \ | ^ fbink_button_scan.c:294:3: note: in expansion of macro ‘SEND_INPUT_EVENT’ 294 | SEND_INPUT_EVENT(EV_SYN, SYN_REPORT, 0); | ^~~~~~~~~~~~~~~~ make[1]: *** [Makefile:476: Release/static/fbink.o] Error 1 make[1]: Leaving directory '/home/build/inkbox/kernel/kernel/modules/mxc_epdc_fb_damage/FBInk' make: *** [Makefile:586: static] Error 2 ```
pgaskin commented 3 years ago

That's due to this change in Linux 4.16. You'll need to compile with an older toolchain build with the correct headers for Kobo's kernel, or @NiLuJe will need to add -D_TIME_BITS=32 to the compile options.

NiLuJe commented 3 years ago

Also, the ioctl thing is musl being overly pedantic about POSIX vs. actual implementations :s (c.f., https://www.openwall.com/lists/musl/2020/01/20/2).