Latest Speakup won't compile

Jude DaShiell jdashiel at panix.com
Sun Jun 25 13:38:37 EDT 2017


If a kernel version check could be done inside a Makefile the check 
could be wrapped around the #include lines and automatically choose the 
correct include file path to use.  Not having written Makefiles yet I 
don't even know if make syntax will even support such a check.

On Sun, 25 Jun 2017, Okash Khawaja wrote:

> Date: Sun, 25 Jun 2017 13:15:41
> From: Okash Khawaja <okash.khawaja at gmail.com>
> Reply-To: Speakup is a screen review system for Linux.
>     <speakup at linux-speakup.org>
> To: Speakup is a screen review system for Linux. <speakup at linux-speakup.org>
> Subject: Re: Latest Speakup won't compile
> 
> 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 at linux-speakup.org
> http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup

-- 



More information about the Speakup mailing list