Re: Latest Speakup won't compile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
Speakup mailing list
Speakup@xxxxxxxxxxxxxxxxx
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup




[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux