Is there already a fix for this, searching for this problem on the web yields a lot of similar results. The change I that introduces the problem might be explained here, if my current lead turns out to be correct: https://lwn.net/Articles/735887/
Do you have any knowledge about this and yes is there a fix already available?
The error message:
Code: Select all
CC [M] peak-linux-driver-8.5.1/driver/src/pcan_pccard_core.o
peak-linux-driver-8.5.1/driver/src/pcan_pccard_core.c: In function ‘pccard_start_activity_scanner’:
peak-linux-driver-8.5.1/driver/src/pcan_pccard_core.c:369:2: error: implicit declaration of function ‘init_timer’ [-Werror=implicit-function-declaration]
init_timer(&card->activity_timer);
^
peak-linux-driver-8.5.1/driver/src/pcan_pccard_core.c:370:32: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
card->activity_timer.function = pccard_activity_scanner;
^
peak-linux-driver-8.5.1/driver/src/pcan_pccard_core.c:371:22: error: ‘struct timer_list’ has no member named ‘data’
card->activity_timer.data = (unsigned long)card;
^
cc1: some warnings being treated as errors
scripts/Makefile.build:332: recipe for target 'peak-linux-driver-8.5.1/driver/src/pcan_pccard_core.o' failed
make[3]: *** [peak-linux-driver-8.5.1/driver/src/pcan_pccard_core.o] Error 1
Makefile:1552: recipe for target '_module_/peak-linux-driver-8.5.1/driver' failed
Code: Select all
make -C /usr/src/linux-headers-4.15.0-15-generic SUBDIRS=peak-linux-driver-8.5.1/driver EXTRA_CFLAGS="-Ipeak-linux-driver-8.5.1/driver -DNO_DEBUG -DMODVERSIONS -DPARPORT_SUBSYSTEM -DUSB_SUPPORT -DPCI_SUPPORT -DPCIEC_SUPPORT -DISA_SUPPORT -DDONGLE_SUPPORT -DPCCARD_SUPPORT -DNO_NETDEV_SUPPORT -DNO_RT -Wno-date-time" V=0 modules