Latest Speakup won't compile

Okash Khawaja okash.khawaja at gmail.com
Sun Jun 25 13:15:41 EDT 2017


Hi,

On Sun, Jun 25, 2017 at 09:49:44AM -0700, Tony Baechler wrote:
> I've tried compiling with kernels 4.11.6 from Debian and 4.11.7 from
> kernel.org. It always stops on speakup_soft with this error:
> 
> drivers/staging/speakup/speakup_soft.c: In function 'softsynthx_read':
> drivers/staging/speakup/speakup_soft.c:227:7: error: implicit declaration of
> function 'signal_pending' [-Werror=implicit-function-declaration]
>    if (signal_pending(current)) {
Is this from speakup-decext repo on github? This fails because location
of signal_pending changed from include/linux/sched.h in 4.10 to
include/linux/sched/signal.h in 4.11. So if you are compiling with 4.11
then in speakup_soft.c, please replace #include <linux/sched.h> with
#include <linux/sched/signal.h>.

Thanks,
Okash


More information about the Speakup mailing list