speakup errors when compiling linux 2.4.19

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

 



Hi all,

     It seems that they're adding new miscellaneous devices all the 
time.  Kirk:  I really think it would be a great idea to get character 
10/25 put into makedev before someone else grabs it.

     Greg: change to the root of your source tree.  Then go to 
linux/include.  Use the attached very small patch in the following way.
patch -p0 <miscdevice.patch
Naturally, you'll have to specify the path to the patch.  It should be 
much better now.



          HTH.
          Bill


On Sat, 3 Aug 2002, Gregory Nowak wrote:

> Hi all.
> 
> I just downloaded kernel 2.4.19, and checked out the latest speakup from cvs.
> 
> When doing make bzImage, I got the following.
> 
> speakup.c: In function `speakup_register_devsynth':
> speakup.c:1375: `SYNTH_MINOR' undeclared (first use in this function)
> speakup.c:1375: (Each undeclared identifier is reported only once
> speakup.c:1375: for each function it appears in.)
> make[4]: *** [speakup.o] Error 1
> 
> When speakup was being patched into the kernel during the checkout process, one of the hunks also failed, but I don't remember which one.
> Greg
> 
> 
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
> 

-- 
Bill in Denver
-------------- next part --------------
--- miscdevice.h.orig	Sat Aug  3 21:31:25 2002
+++ miscdevice.h	Sat Aug  3 21:39:25 2002
@@ -14,6 +14,11 @@
 #define PC110PAD_MINOR 9
 #define ADB_MOUSE_MINOR 10
 #define MK712_MINOR 15			/* MK712 touch screen */
+
+#ifdef CONFIG_SPEAKUP  /* console speech */
+#define SYNTH_MINOR	25
+#endif /* console speech */
+
 #define WATCHDOG_MINOR		130	/* Watchdog timer     */
 #define TEMP_MINOR		131	/* Temperature Sensor */
 #define RTC_MINOR 135


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