Re: Latest Speakup won't compile

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

 



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@xxxxxxxxx>
Reply-To: Speakup is a screen review system for Linux.
    <speakup@xxxxxxxxxxxxxxxxx>
To: Speakup is a screen review system for Linux. <speakup@xxxxxxxxxxxxxxxxx>
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@xxxxxxxxxxxxxxxxx
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup

--

_______________________________________________
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