Closed garlick closed 5 years ago
After raspbian update to kernel 4.19.57-v7+, pi-parport is sad:
4.19.57-v7+
make -C /lib/modules/4.19.57-v7+/build M=/home/garlick/proj/pi-parport/driver modules make[1]: Entering directory '/usr/src/linux-headers-4.19.57-v7+' CC [M] /home/garlick/proj/pi-parport/driver/parport/share.o CC [M] /home/garlick/proj/pi-parport/driver/parport/ieee1284.o /home/garlick/proj/pi-parport/driver/parport/ieee1284.c: In function ‘parport_wait_event’: /home/garlick/proj/pi-parport/driver/parport/ieee1284.c:80:2: error: implicit declaration of function ‘init_timer_on_stack’ [-Werror=implicit-function-declaration] init_timer_on_stack(&timer); ^~~~~~~~~~~~~~~~~~~ /home/garlick/proj/pi-parport/driver/parport/ieee1284.c:82:17: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types] timer.function = timeout_waiting_on_port; ^ /home/garlick/proj/pi-parport/driver/parport/ieee1284.c:84:7: error: ‘struct timer_list’ has no member named ‘data’ timer.data = port->number; ^ cc1: some warnings being treated as errors scripts/Makefile.build:303: recipe for target '/home/garlick/proj/pi-parport/driver/parport/ieee1284.o' failed make[3]: *** [/home/garlick/proj/pi-parport/driver/parport/ieee1284.o] Error 1 scripts/Makefile.build:544: recipe for target '/home/garlick/proj/pi-parport/driver/parport' failed make[2]: *** [/home/garlick/proj/pi-parport/driver/parport] Error 2 Makefile:1517: recipe for target '_module_/home/garlick/proj/pi-parport/driver' failed make[1]: *** [_module_/home/garlick/proj/pi-parport/driver] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-4.19.57-v7+' Makefile:12: recipe for target 'modules' failed make: *** [modules] Error 2
After raspbian update to kernel
4.19.57-v7+
, pi-parport is sad: