sunxi-livesuite icon indicating copy to clipboard operation
sunxi-livesuite copied to clipboard

awusb.c:376:8: error: implicit declaration of function ‘signal_pending’; did you mean ‘timer_pending’?

Open urbantom opened this issue 7 years ago • 2 comments

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)

urbantom avatar Jul 24 '17 13:07 urbantom

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

Peon62 avatar Dec 10 '18 14:12 Peon62

The proposal from Peon62 did not work for me. I simply changed <linux/sched.h> to <linux/sched/signal.h> in file awusb.c

xdatravelbug avatar Feb 04 '21 21:02 xdatravelbug