sunxi-livesuite
sunxi-livesuite copied to clipboard
awusb.c:376:8: error: implicit declaration of function ‘signal_pending’; did you mean ‘timer_pending’?
Trying to compile awusb results the error. The workstation is a VMware guest w/ Linux 4.11.11-300.fc26.x86_64. gcc version 7.1.1 20170622 (Red Hat 7.1.1-3) (GCC)
Edit awusb.c remove #include <linux/signal.h>
and add
#include <linux/version.h> #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0) #include <linux/sched/signal.h> #endif
The proposal from Peon62 did not work for me. I simply changed <linux/sched.h> to <linux/sched/signal.h> in file awusb.c