make -C /lib/modules/4.20.0-042000-generic/build M=/home/nanortemis/Tools/litex/litex/litepcie/litepcie/software/linux/kernel modules
make[1]: Entering directory '/usr/src/linux-headers-4.20.0-042000-generic'
CC [M] /home/nanortemis/Tools/litex/litex/litepcie/litepcie/software/linux/kernel/main.o
/home/nanortemis/Tools/litex/litex/litepcie/litepcie/software/linux/kernel/main.c: In function ‘litepcie_dma_wait’:
/home/nanortemis/Tools/litex/litex/litepcie/litepcie/software/linux/kernel/main.c:292:13: error: implicit declaration of function ‘signal_pending’; did you mean ‘timer_pending’? [-Werror=implicit-function-declaration]
if (signal_pending(current)) {
^~~~~~~~~~~~~~
timer_pending
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:292: /home/nanortemis/Tools/litex/litex/litepcie/litepcie/software/linux/kernel/main.o] Error 1
make[1]: *** [Makefile:1563: _module_/home/nanortemis/Tools/litex/litex/litepcie/litepcie/software/linux/kernel] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.20.0-042000-generic'
make: *** [Makefile:12: litepcie.ko] Error 2
Hi,
I'm getting this error:
a quick solution can be found here: https://github.com/diederikdehaas/rtl8812AU/issues/75#issuecomment-318832002