Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
urbantom opened this issue Jul 24, 2017 · 2 comments

Comments

@urbantom
Copy link

urbantom commented Jul 24, 2017

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)

erqan added a commit to erqan/sunxi-livesuite that referenced this issue Aug 3, 2017
@erqan erqan mentioned this issue Aug 3, 2017
@Peon62
Copy link

Peon62 commented Dec 10, 2018

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

@xdatravelbug
Copy link

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

junhuanchen added a commit to junhuanchen/sunxi-livesuite that referenced this issue Mar 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants